Seems fail on deploying mapviewer on oc4j standalone

Hi,
I downloaded MapViewer 10.1.3.3 kit from Oracle website and try to deploy mapviewer.ear with oc4j standalone (10.1.3.1.0).
I deployed mapviewer.ear with the oc4j. But, I got HTTP 500 Internal Server Error when I go to the following address.
http://machine_name:8888/mapviewer/omserver?getv=t
If I sucessfully deploy it, it should display the version and build number. Obviously, http://machine_name:8888/mapviewer did not work.
I thought that I deployed it according to User's Guide for Oracle MapViewer. From oc4jadmin screen, the mapviewer status is running.
Would you kindly advise me what other things I need to do?

The issue was port number.
I used oc4j which comes with OBI EE. The oc4j port# is 9704.
When I switched the port# to 9704, it displayed the build and version number.
http://localhost:9704/mapviewer/omserver?getv=t
Thanks

Similar Messages

  • Failing to deploy to external OC4J 11g standalone

    Trying to deploy to external 11g TP4 OC4J standalone is giving following error...
    any ideas?
    thanks in advance..
    -Dhananjay
    Operation failed with error:
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: PkgConfig is in failed state as initialization failed
         at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
         at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:430)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:133)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
         at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:82)
         at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: PkgConfig is in failed state as initialization failed
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:557)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:210)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
         ... 5 more
    Caused by: java.lang.InstantiationException: Application: PkgConfig is in failed state as initialization failed
         at com.evermind.server.Application.setConfig(Application.java:636)
         at com.evermind.server.Application.setConfig(Application.java:433)
         at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:2125)
         at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:554)
         ... 7 more
    Caused by: java.lang.InstantiationException: Import was not resolved for PkgConfig.root:0.0.0: shared library "adf.oracle.domain" could not be found.
         at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1374)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:179)
         at com.evermind.server.Application.setConfig(Application.java:538)
         ... 10 more
    Caused by: oracle.oc4j.loader.config.ConfigurationException: Import was not resolved for PkgConfig.root:0.0.0: shared library "adf.oracle.domain" could not be found.
         at oracle.oc4j.loader.config.ClassLoaderFactory.handleSharedLibraryNotFound(ClassLoaderFactory.java:706)
         at oracle.oc4j.loader.config.ClassLoaderFactory.getSharedLibraryToImport(ClassLoaderFactory.java:651)
         at oracle.oc4j.loader.config.ClassLoaderFactory.getImportedSharedLibraries(ClassLoaderFactory.java:529)
         at oracle.oc4j.loader.config.ClassLoaderFactory.addImportedSharedLibraries(ClassLoaderFactory.java:486)
         at oracle.oc4j.loader.config.ClassLoaderFactory.createApplicationLoader(ClassLoaderFactory.java:458)
         at com.evermind.server.ApplicationStateRunning.createClassLoader(ApplicationStateRunning.java:1353)
         at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1362)
         ... 12 more
    #### Deployment incomplete. #### Jul 21, 2008 12:15:31 PM
    Deployment Failed

    I overcame this problem by analyzing the embedded oc4j's server.xml and adding to the standalone's server.xml all missing libraries, of course, i had copy all nedded jars as well
    after solving that, i had an OutOfMemory error, which i solved by setting the environment variable OC4J_JVM_ARGS with "-XX:PermSize=256m -XX:MaxPermSize=512m"
    and so far, so good

  • Web services randomly fail to deploy properly in OC4J

    I have an ear with around 15 services, and sometimes (today, all the time, other times, not at all) some of the services fail to deploy correctly in that when I come to access them I get one of the following (the service that fails is generally different so the below is just an example):
    2009-07-07 15:06:16.633 WARNING OWS-03005 Unable to connect to URL: http://local
    host:8888/democustomer/CimsImageService due to java.security.PrivilegedActionExc
    eption: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type:
    text/html
    OR
    2009-07-07 15:06:16.711 ERROR OWS-04005 An error occurred for port: {http://serv
    ices.cims.prologic.com/}CimsCategoryService: javax.xml.rpc.JAXRPCException: Erro
    r loading Tie: com.prologic.cims.services.runtime.CimsCategoryWebServiceSoapHttp
    _Tie.
    Missing class: com.prologic.cims.services.runtime.CimsCategoryWebServi
    ceSoapHttp_Tie
    Dependent class: oracle.j2ee.ws.server.J2EEImplementor
    Loader: oc4j:10.1.3
    Code-Source: /C:/oc4j/webservices/lib/wsserver.jar
    Configuration: <code-source> in META-INF/boot.xml in C:\oc4j\j2ee\home
    \oc4j.jar
    This load was initiated at democustomer.web.democustomer:0.0.0 using the loadCla
    ss() method.
    The missing class is not available from any code-source or loader in the system.
    If I redeploy it often, but not always, sorts the problem out so it is not a source code issue and I guess, possibly not a deployment descriptor problem for the same reason.
    I'm running on OC4J 10.1.3.1 (we need to run with this version for now).
    I get the same problem very occasionally on Linux 10.1.3.n but it's rare.
    Anyone out there seen this before ? It's becoming very irritating.

    idris, the only workaround I have found is to check at container startup that each service was deployed ok, by making a call to a serviceAvailable method. That way, if I restart OC4J after a deployment I see log messages if all was not well (and in fact I can specify that the container shouldn't start if the service failed)
    Class oracle.j2ee.server.OC4JStartup is the one you want and insert something like into server.xml after the cluster element (the jar conmtaining your code needs to be in the applib directory too):
         <init-library path="../applib/startupshutdown.jar" /> <!-- or wherever we put it -->
    <startup-classes>
    <startup-class classname="com.prologic.cms.services.StartupServer" failure-is-fatal="true" >
    <execution-order>0</execution-order>
                   <init-param>
                        <param-name>TestServices</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>deployment.port</param-name>
                        <param-value>7777</param-value>
                   </init-param>
                   <init-param>
                        <param-name>ASwitchToPassIn</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>SearchIndexRebuild</param-name>
                        <param-value>true</param-value>
                   </init-param>
                   <init-param>
                        <param-name>waitfor</param-name>
                        <param-value>50000</param-value>
                   </init-param>
                   <init-param>
                        <param-name>language</param-name>
                        <param-value>en</param-value>
                   </init-param>
                   <init-param>
                        <param-name>locale</param-name>
                        <param-value>UK</param-value>
                   </init-param>
    </startup-class>
    </startup-classes>

  • Can Jdeveloper TP4 deploy apps to OC4J standalone TP4

    I tried to have JDeveloper TP4 deply my ADF web app to the latest OC4J standalone version but I get the following error:
    Caused by: java.lang.InstantiationException: Import was not resolved for riscs.root:0.0.0: shared library "adf.oracle.domain" could not be found.
         at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1374)
         at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:179)
         at com.evermind.server.Application.setConfig(Application.java:538)
    Before I spend alot of time debugging is this currently supported or can I only use the OC4J shipped with JDeveloper?
    Thanks.

    The sad part about this thread is that we seem to be talking about completely separate products, like they are from different companies. I have not been given the secret decoder ring to determine which parts of the suite really work together or when the magic convergence will occur. From a client/customer perspective these are part of an Oracle suite of applications, and I can assure you that clients have spent significant amounts of money and have an expectation (which was sold to them) that that all parts of the suite work together "seamlessly".
    I think everyone using TP releases understands and accepts a certain amount bugs and integration issues, however I have been working with 11G components for almost a year and I sometimes wonder if Oracle really understands the stress created on consultants when the "right-hand" does not seem to notice what the "left-hand" is doing.
    Our project requires JSF/ADFFaces, Rules, XML, WebServices, ORM(Toplink/EclipseLink?), JEE5 Container, SVN version control integration at a minumum. It has been a monumental effort to create even prototypes to show our client progress toward the vision that was sold. We are continually being told that all will be good when all the products become production. This is a very big risk where failure is paid for by consulting not product.

  • IBFBS failed to deploy in Embedde OC4J but works with EAR deploy.

    Hi
    When i try to deploy IBFBS sample project in JDevloper by Embedde OC4J : its giving
    an error saying "there is no EJB module to deploy".
    But when i deployed through EAR deployment method its working fine.
    PLease kindly help me.
    Sai.

    Hi,
    Can you pls post the Version of JDeveloper and OC4J that you are using?
    I tried to deploy IBFBS using JDeveloper 9.0.3.988 (JDK 1.3.1) on Standalone OC4J server (9.0.3) and it works fine.
    One constraint for not running the application from JDeveloper (by using embedded OC4J) is that, the OC4J where the FBS is deployed needs to have the -userThreads option enabled.
    This option is enabled by starting OC4J with -userThreads option.
    java -jar oc4j.jar -userThreadsRef : Connection to embedded OC4J per FBS Setup Tutorial-Problem.
    Let us know if your problem still persists.
    Thanks
    -- OTN@IDC Team

  • Deploy ADF application to standalone OC4J 11g

    Hi people!
    I found some threads into the forums that deal with the subject but I did not find any solution, so I post a new thread...
    In fact, I'd like to deploy a "war" on a standalone oc4j 11g.
    The application was built with jdev 11g TP4.
    I can't use the ADF runtime Installer of jdev, so I have to copy all the files by myself, but the problem is that I do not find the files in jdev11/BC4J/lib/ that I have to copy in oc4j/BC4J/lib...
    There is no adfcm.jar, bc4jdomorcl.jar, etc ...
    Is it normal ? Could someone indicate me how to configure the standalone oc4j 11g in order to deploy my "war" ?
    Thanks a lot,
    romain.
    Edited by: Romain Testu on 24 sept. 2008 09:28

    Hi,
    TP4 doesn't have a standalone OC4J.
    Try to start embedded oc4j from jdeveloper in standalone mode.
    see e.g. Re: Can Jdeveloper TP4 deploy apps to OC4J standalone TP4
    BTW: The production release 11g is announced within next week and this release will contain Weblogic Server 10gR3 instead of OC4J.
    JDeveloper 11g release this month?
    regards
    Peter

  • OC4J Standalone Remote Lookup

    Hello everyone,
    I am getting the following error when I am trying to do a remote lookup to an ejb which has been deployed successfully on OC4J Standalone. My client who is attempting the look up has been successfully deployed in OC4J instance embedded in Oracle9ias.
    The error tree is:
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:57,984 - Game Driver URL = 199.5.201.102:23791/loto User= admin Pass:admin
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:57,984 - Get Initial Context
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:57,984 - Context Lookup ID=loto
    [ApplicationServerThread] DEBUG game.GameManager 2003-04-15 13:35:58,031 - Context Lookup found :loto Class Name = __Proxy0
    [ApplicationServerThread] ERROR game.GameManager 2003-04-15 13:35:58,031 - Game (loto)Driver Loading Error
    java.lang.NullPointerException
         at com.mot.vla.game.GameManager.getGameDriverFromURL(GameManager.java:253)
         at com.mot.vla.game.GameManager.getGameDriver(GameManager.java:231)
         at com.mot.vla.game.GameManager.getGameDesc(GameManager.java:77)
         at com.mot.vla.kernel.VlaPlayerKernel.getGameDescription(VlaPlayerKernel.java:147)
         at VlaPlayerKernelRemote_StatefulSessionBeanWrapper24.getGameDescription(VlaPlayerKernelRemote_StatefulSessionBeanWrapper24.java:1039)
         at com.mot.vla.ui.core.CoreServices.getGameDescription(CoreServices.java:677)
         at com.mot.vla.ui.core.CoreEngine.actionDispatcher(CoreEngine.java:163)
         at com.mot.vla.ui.core.CoreEngine.renderDocument(CoreEngine.java:122)
         at com.mot.vla.ui.core.CoreEngine.processRequest(CoreEngine.java:106)
         at com.mot.vla.ui.servlet.RequestHandler.doPost(RequestHandler.java:204)
         at com.mot.vla.ui.servlet.RequestHandler.doGet(RequestHandler.java:179)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:244)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
         at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    From what I can tell, it looks like my lookup was successful but the class name is __Proxy0, which is weird.
    Here are a sample of my code:
    the parameters are: url = 199.5.201.102:23791/loto User= admin password:admin id:loto
    public GameDriverRemote getGameDriverFromURL(String id, String url,
    String user, String password) {
    try {
    Context context = getInitialContext(url, user, password);
    logger.debug("Context Lookup ID="+id);
    Object obj = context.lookup(id);
    if (obj!=null) {
    logger.debug("Context Lookup found :"+id+" Class Name = "+obj.getClass().getName());
    GameDriverHome gameDriverHome = (com.mot.vla.game.GameDriverHome) PortableRemoteObject.narrow(obj, com.mot.vla.game.GameDriverHome.class);
    String tt= gameDriverHome.getClass().getName();
    logger.debug("Done looking up home =>"+tt);
    if (gameDriverHome != null) {
    System.out.println("Game (" + id + ") Driver Home Interface Found");
    logger.debug("Game (" + id + ") Driver Home Interface Found");
    GameDriverRemote gameDriverRemote = (com.mot.vla.game.GameDriverRemote) PortableRemoteObject.narrow(gameDriverHome.create(), com.mot.vla.game.GameDriverRemote.class);
    return gameDriverRemote;
    catch (Exception e) {
    logger.error("Game (" + id + ")Driver Loading Error", e);
    return null;
    static public Context getInitialContext(String url, String user,
    String password) throws Exception {
    Hashtable env = new Hashtable();
    // set the environment properties
    System.out.println("Get Initial Context");
    logger.debug("Get Initial Context");
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    env.put(Context.PROVIDER_URL, "ormi://"+url);
    env.put(Context.SECURITY_PRINCIPAL, user);
    env.put(Context.SECURITY_CREDENTIALS, password);
    env.put("dedicated.connection","true");
    try {
    // create an initial context using the above environment properties
    return (new InitialContext(env));
    catch (Exception e) {
    System.out.println("Context initializtion error");
    e.printStackTrace();
    logger.error("Context initializtion error", e);
    return null;
    any help will be appreciated

    Hi Frances,
    Here is our ejb-jar.xml;
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE ejb-jar PUBLIC
         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <session>
    <description>Session Bean ( Stateless )</description>
    <display-name>MySession</display-name>
    <ejb-name>MySession</ejb-name>
    <local-home>com.some.company.ejb.MySessionLocalHome</local-home>
    <local>com.some.company.ejb.MySessionLocal</local>
    <ejb-class>com.some.company.ejb.MySessionBean</ejb-class>
    <session-type>Stateless</session-type>
    <transaction-type>Container</transaction-type>
    </session>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>MySession</ejb-name>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Required</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    And here is the orion-ejb-jar.xml;
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <!DOCTYPE orion-ejb-jar PUBLIC
    "-//Evermind//DTD Enterprise JavaBeans 1.1 runtime//EN"
    "http://xmlns.oracle.com/ias/dtds/orion-ejb-jar.dtd">
    <orion-ejb-jar>
    <enterprise-beans>
    <session-deployment name="MySession" location="ejb/MySession"/>
    </enterprise-beans>
    </orion-ejb-jar>

  • OC4J Standalone with sso in a different server

    Hi
    I'm trying to implement sso in a application of mine. the scenario is: application deployed in a OC4J standalone version 10.1.3 ( oc4j_extended_101300 ), I have a AS server ( Enterprise Manager ) 10.1.2.0.2 where resides the OID. I want to force the single sign-on in the AS server and then continue with my app in the standalone OC4J.
    How can I achieve this? I've seen some documentation on that, but I was unable to make it work.
    Thanks in advanced
    Vitor

    I'm employing the dead-end OC4J configuration to build JSR-168 portlets for use in Aqualogic UI/ WCI version 6.5 Portal. I was having some success getting the WSRP Producer component of a JSF Page to display/consume JSR 168 portlets in the ALUI portal before the server error.
    The JDev 11g download with imbedded weblogic 10gR3 server doesn't include the webcenter/portlet extentions and I've had issues getting ADF Fusion Web applications to run within the ALUI 6.5 portal page via WSRP.
    Without the ability to either
    1. Uninstall OC4J Standalone where the configurations get backed out and I can start from scratch...
    or
    2. fix the OC4J configuration to resolve the error....
    I guess I'll attempt to deploy Tech Preview 4 Jdeveloper built JSR-168 portlet WARs to WebLogic standalone instead with a new deployment descriptor and see if ALUI portal WSRP will work without the Oracle Containers 4 J2EE.
    Thoughts?

  • OC4J standalone password failed

    hello
    i have application server 10.1.2.2.0 and OC4J standalone 10.1.3.1 installed on Redhat Linux OS .
    All Services in Infra , Middle and the OC4J standalone are UP .
    i try to login to the enterprise manager of the OC4J stand alone using oc4jadmin user , but have the error message ( Your username and/or password are invalid.).
    i try to reset OC4J administrator password using the OC4J Documentation from Oracle section H.3.1 Resetting the Administrator (oc4jadmin) Password
    or like the metalink ID 576587.1 , and i try to change the password from ldap too ,
    but without a result , i still cannot login to the OC4J Application Server Control Console .
    Any help please?

    I m using OC4J version 9.0.4.0.0 ,what is the ---user name--- for it
    I had used ias_home & oc4jadmin
    but it showing the error that javax.naming.AthunticationException;
    & invalid username for default oc4jadmin,connect failed;
    How to set the path to JSTL:
    i.e. for sqltaglib.tld
    How to deploy JSTL app's manually

  • How Do You Deploy a War File to The OC4J Standalone ?

    I have a .war file that contains example code and I would like to deploy it to my OC4J Standalone.
    I tried putting the war file in the applications directory and adding a line in the server.xml file but I received the error:
    Error instantiating application at file:/C:/OC4JStandAlone/pdk101202_oc4j_extended/j2ee/home/applications/displaytag-examples-1.1.war: Unable to find/read assembly info for C:\OC4JStandAlone\pdk101202_oc4j_extended\j2ee\home\applications\displaytag-examples-1.1 (META-INF/application.xml)
    It appears it was expecting an .ear file instead of a .war file
    Is there an easy way to deploy a .war file to the OC4J Standalone?
    Thanks,

    Please refer to the OC4J FAQ on :-
    http://www.oracle.com/technology/tech/java/oc4j/1012/collateral/OC4J-FAQ-101202.pdf
    Q 24 should have your answer.
    Cheers!

  • Can't Complete Deployment to OC4J Standalone

    I have successfully deployed 3 projects to OC4J standalone on a Win2k box. I have now set up OC4J on a Sun box. I have deployed 2 of the (basic) web apps sucessfully, but the third, which consists of an EJB/BC4J project and a servlet/JSP project, does not completely deploy. All files are written to the correct directories as far as I can see, but the app info is not written to the config files. In JDev, there are no messages after the deployment command line. It hangs until I kill the admin tool.
    Any help would be appreciated.

    Can you verify the JAVA_HOME, sometime, when you deploy an EJB application, OC4J need compile it.

  • Ear file deploys on oc4j standalone, not on ias using the ent.appl.manager

    We added security constraints to our web.xml, and this works when we deploy it on a standalone OC4J. Deploying this ear on the ias with the Enterprise application Manager: after choosing the ear-file, giving it a name and pushing the next button we get a nullpointer-exception.
    After removing the security constraints the deployment works. Any ideas????
    Eelco

    To be complete, here's the web.xml:
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <!-- This file contains the configuration for a web-application.-->
    <web-app>
    <distributable />
    <display-name>Laris Application</display-name>
    <description>Laris Application</description>
    <env-entry>
         <description>Database connection string</description>
         <env-entry-name>dbconnect</env-entry-name>
         <env-entry-value>jdbc:oracle:thin:&lt;user&gt;&lt;pwd&gt;@&lt;host&gt;:&lt;port&gt;:&lt;sid&gt;</env-entry-value>
         <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    <env-entry>
         <description>Dtd locatie string</description>
         <env-entry-name>dtd_url</env-entry-name>
         <env-entry-value>http://&lt;host&gt;:&lt;port&gt;/laris/dtd/</env-entry-value>
         <env-entry-type>java.lang.String</env-entry-type>
    </env-entry>
    <servlet>
    <servlet-name>LarisController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>StartLarisService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>PortaalController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>PortaalService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>InvoerenAanspraakController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>InvoerenAanspraakService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>ControlerenAanspraakController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>ControlerenAanspraakService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>BeoordelenAanspraakController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>BeoordelenAanspraakService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>BeslissenAanspraakController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>BeslissenAanspraakService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>BehandelenAanspraakController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>BehandelenAanspraakService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>CommunicatieGeneratorController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>CommunicatieGeneratorService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>KruisjestabelController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>KruisjestabelService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>CitesController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>LarisService.xml</param-value>
    </init-param>
    </servlet>
    <servlet>
    <servlet-name>BaBoSSController</servlet-name>
    <servlet-class>oracle.clex.process.controller.HttpServletController</servlet-class>
    <init-param>
    <param-name>cle-service-descriptor</param-name>
    <param-value>LarisService.xml</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>LarisController</servlet-name>
    <url-pattern>Default/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>PortaalController</servlet-name>
    <url-pattern>Portaal/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>InvoerenAanspraakController</servlet-name>
    <url-pattern>Portaal/InvoerenAanspraak/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>ControlerenAanspraakController</servlet-name>
    <url-pattern>Portaal/ControlerenAanspraak/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BeoordelenAanspraakController</servlet-name>
    <url-pattern>BeoordelenAanspraak/Eenvoudig/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BeslissenAanspraakController</servlet-name>
    <url-pattern>Beslissen/VaststellenBeslissing/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>BehandelenAanspraakController</servlet-name>
    <url-pattern>Behandelen/AdministratiefControleren/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>CommunicatieGeneratorController</servlet-name>
    <url-pattern>Informeren/CommunicatieGenerator/StartIt</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>KruisjestabelController</servlet-name>
    <url-pattern>Kruisjestabel/Kruisjestabel/StartIt</url-pattern>
    </servlet-mapping>
    <!-- security roles -->
    <security-role>
         <role-name>sr_manager</role-name>
    </security-role>
    <security-role>
         <role-name>sr_developer</role-name>
    </security-role>
    <!-- security constraints -->
    <security-constraint>
    <web-resource-collection>
    <url-pattern>cabo/*</url-pattern>
    <url-pattern>jheadstart/*</url-pattern>
    <url-pattern>help/*</url-pattern>
    <url-pattern>laris/*</url-pattern>
    <url-pattern>images/*</url-pattern>
    <url-pattern>uix/*</url-pattern>
    </web-resource-collection>
    <!-- authorization -->
    <!-- <auth-constraint>
    <role-name>sr_developer</role-name>
    </auth-constraint> -->
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <url-pattern>Default/*</url-pattern>
    <url-pattern>Portaal/*</url-pattern>
    <url-pattern>Informeren/*</url-pattern>
    <url-pattern>Behandelen/*</url-pattern>
    <url-pattern>Beslissen/*</url-pattern>
    <url-pattern>BeoordelenAanspraak/*</url-pattern>
    <!-- volgende is wel gewenst (in 1 keer alles beveiligen), maar werkt niet
    <url-pattern>*</url-pattern> geeft error bij createmarlinbeanpag
    <url-pattern>*/*</url-pattern> beveiligt gewoon niet
    <url-pattern>./*</url-pattern> beveiligt niet alles
    <url-pattern>./*/*</url-pattern> beveiligt niet(s)
    <url-pattern>../*</url-pattern> beveiligt niets
    -->
    </web-resource-collection>
    <!-- authorization -->
    <auth-constraint>
    <role-name>sr_developer</role-name>
    </auth-constraint>
    </security-constraint>
    <!-- de volgende security constraint is niet zozeer voor de administrator
    maar om er voor te zorgen dat bovenstaande constraint de toegang
    beperkt tot alleen het gedefinieerde -->
    <security-constraint>
    <web-resource-collection>
    <url-pattern>/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
         <role-name>sr_administrator</role-name>
    </auth-constraint>
    </security-constraint>
    <!-- authentication -->
    <login-config>
         <auth-method>BASIC</auth-method>
    </login-config>
    </web-app>

  • Error when deploying EAR in OC4J 10.1.3.0.0 with a deployment plan

    Hello!
    I try to deploy an ear file specifying a deployment plan generated from web interface using command line utilities. I try to use both admin_client.jar and oracle ant task and still get the same error. When i remove deployment plan argument, the application is successfully deployed.... Any Idea?
    My server:
    OC4J 10.1.3.0.0 on an AIX server
    The error raised during deployment:
    [MyServer] 08/04/07 12:46:56 Notification ==>Application Deployer for MyApp STARTS.
    [MyServer] 08/04/07 12:46:56 Notification ==>Copy the archive to /oracle/product/j2ee/home/applications/MyApp.ear
    [MyServer] 08/04/07 12:46:56 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear begins...
    [MyServer] 08/04/07 12:46:56 Notification ==>Unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Done unpacking MyApp.ear
    [MyServer] 08/04/07 12:46:57 Notification ==>Unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Done unpacking ic.war
    [MyServer] 08/04/07 12:46:59 Notification ==>Initialize /oracle/product/j2ee/home/applications/MyApp.ear end
    s...
    [MyServer] 08/04/07 12:46:59 Notification ==>Starting application : MyApp
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing ClassLoader(s)
    [MyServer] 08/04/07 12:46:59 Notification ==>Initializing EJB container
    [MyServer] 08/04/07 12:46:59 Notification ==>Loading connector(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Starting up resource adapters
    [MyServer] 08/04/07 12:47:00 Notification ==>Initializing EJB sessions
    [MyServer] 08/04/07 12:47:00 Notification ==>Committing ClassLoader(s)
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Initialize ic ends...
    [MyServer] 08/04/07 12:47:00 Notification ==>Started application : MyApp
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding web application(s) to site default-web-site begins...
    [MyServer] 08/04/07 12:47:00 Notification ==>Binding ic web-module for application MyApp to site default-web-site under context root ic
    [MyServer] 70/01/01 00:00:00 Notification ==>Error deserializing return-value: unexpected reset; nested exception is:
    java.io.StreamCorruptedException: unexpected reset
    [Summary] There are total 1 instances in the operation.
    [Summary] Operation failed on MyServer
    [Summary] Operation on cluster FAILED since 1 instanced failed!
    Here my deployment plan generated by the Application Server Control Console
    moduleType=ear
    applicationID=MyApp
    bindWebApp=default-web-site
    parent=default
    moduleID=.
    doctype=orion-application
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/sch
    ema/orion-application-10_0.xsd">
    </orion-application>
    moduleID=myapp.war
    doctype=orion-web-app
    <?xml version="1.0" encoding="UTF-8"?>
    <orion-web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/oracleas/schema/
    orion-web-10_0.xsd" context-root="myapp">
    <resource-ref-mapping name="jdbc/ds" location="jdbc/myapp/ds">
    </resource-ref-mapping>
    <web-app-class-loader>
    </web-app-class-loader>
    </orion-web-app>
    My Command line to deploy the application
    java -jar admin_client.jar deployer:cluster:opmn://MyServer/home oc4jadmin XXXXX -deploy -file ~/MyApp.ear -deploymentName MyApp -deploymentPlan ~/myapp_plan.dat
    Ant file used to deploy
    <project name="Deploy EAR in OC4J" default="deploy-ear" basedir="." xmlns:oracle="antlib:oracle">
    <property name="server.host" value="MyServer"/>
    <property name="server.user" value="oc4jadmin"/>
    <property name="server.password" value="XXXXXX"/>
    <property name="deploy.filepath" value="/home/myhome/MyApp.ear"/>
    <property name="deploy.deployname" value="MyApp"/>
    <property name="deploy.logpath" value="${basedir}/deploy-ear.log"/>
    <property name="deploy.planpath" value="/home/myhome/myapp_plan.dat"/>
    <property name="deploy.uri" value="deployer:cluster:opmn://${server.host}/home"/>
    <target name="deploy-ear">
    <oracle:deploy
    deployerUri="${deploy.uri}"
    userId="${server.user}"
    password="${server.password}"
    file="${deploy.filepath}"
    deploymentName="${deploy.deployname}"
    bindAllWebApps="default-web-site"
    deploymentPlan="${deploy.planpath}"
    logFile="${deploy.logpath}"/>
    </target>
    </project>
    Thanks
    Message was edited by:
    Olivier MARTIN

    If you're using OC4J standalone, use the latest available OC4J, 10.1.3.3.
    If you're using a manage OC4J, ie. Application Server, upgrade to the latest available version and upgrade your JDK. The provided JDK might be outdated.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Error while deploying portlet to OC4J

    Hello everyone,
    it seems like i am having problem deploying my application.
    i created a sample portlet using JDeveloper and was able to successfuly deploy my .EAR file on to my localhost.
    what i am trying to do now is to deploy it on to the Oracle Server 10GR3 ...
    when i go into the system and select OC4J Home..deploy... it fails giving me these error messages in the log:
    07/09/07 14:21:43 WARNING: Application.setConfig Application: TutorialPortlets is in failed state as initiali
    zation failed.
    java.lang.NullPointerException
    07/09/07 14:21:43 oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application
    : TutorialPortlets is in failed state as initialization failed
    07/09/07 14:21:43 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.
    java:515)
    07/09/07 14:21:43 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:1
    96)
    07/09/07 14:21:43 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/09/07 14:21:43 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployer
    Runnable.java:52)
    07/09/07 14:21:43 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.j
    ava:81)
    07/09/07 14:21:43 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResource
    PooledExecutor.java:298)
    07/09/07 14:21:43 at java.lang.Thread.run(Thread.java:595)
    07/09/07 14:21:43 Caused by: java.lang.InstantiationException: Application: TutorialPortlets is in failed sta
    te as initialization failed
    07/09/07 14:21:43 at com.evermind.server.Application.setConfig(Application.java:496)
    07/09/07 14:21:43 at com.evermind.server.Application.setConfig(Application.java:339)
    07/09/07 14:21:43 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
    07/09/07 14:21:43 at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.
    java:512)
    07/09/07 14:21:43 ... 6 more
    07/09/07 14:21:43 Caused by: java.lang.NullPointerException
    07/09/07 14:21:43 at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationState
    Running.java:268)
    07/09/07 14:21:43 at com.evermind.server.Application.setConfig(Application.java:438)
    07/09/07 14:21:43 ... 9 more
    07/09/07 14:21:43 WARNING: DeployerRunnable.run java.lang.InstantiationException: Application: TutorialPortle
    ts is in failed state as initialization failedoracle.oc4j.admin.internal.DeployerException: java.lang.Instant
    iationException: Application: TutorialPortlets is in failed state as initialization failed
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.j
    ava:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.InstantiationException: Application: TutorialPortlets is in failed state as initializati
    on failed
    at com.evermind.server.Application.setConfig(Application.java:496)
    at com.evermind.server.Application.setConfig(Application.java:339)
    at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1895)
    at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    Caused by: java.lang.NullPointerException
    at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:268
    at com.evermind.server.Application.setConfig(Application.java:438)
    ... 9 more
    07/09/07 14:21:44 SEVERE: ProgressObjectImpl.reportError java.lang.InstantiationException: Application: Tutor
    ialPortlets is in failed state as initialization failedoracle.oc4j.admin.jmx.shared.exceptions.InternalExcept
    ion: java.lang.InstantiationException: Application: TutorialPortlets is in failed state as initialization fai
    led
    at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
    at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52
    at com.evermind.server.Application.setConfig(Application.java:438)
    ... 9 more
    07/09/07 14:21:44 SEVERE: ProgressObjectImpl.reportError java.lang.InstantiationException: Application: Tutor
    ialPortlets is in failed state as initialization failedoracle.oc4j.admin.jmx.shared.exceptions.InternalExcept
    ion: java.lang.InstantiationException: Application: TutorialPortlets is in failed state as initialization fai
    led
    at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
    at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52
    at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.j
    ava:298)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Application: Tutor
    ialPortlets is in failed state as initialization failed
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:126)
    ... 4 more
    Caused by: java.lang.InstantiationException: Application: TutorialPortlets is in failed state as initializati
    on failed
    at com.evermind.server.Application.setConfig(Application.java:496)
    please let me know what i should do.. and if there is a way to deploy it any other way.
    Thanks!!

    welcome to the club - reintalling ias90x.
    seriously, after reinstalling oracle, disable em interface. never use it again.
    use
    $oraclehome\dcm\bin\dcmctl dcmctl saveinstance -directory somedir
    $oraclehome\dcm\bin\dcmctl deployapplication blah blah..
    if something goes wrong,
    $oraclehome\dcm\bin\dcmctl restoreinstance
    read up on how to use dcmctl.
    Ken

  • Deploy differences between 904 standalone and 903 J2EE and Web cache versio

    I am trying to port an application from jboss (3.0.3) to OAS 9iAS rel2. Since the application uses local interfaces in the EJBs, I am using the pre-release versions of OAS. My development environment also include ant and xdoclet. I am not using JDeveloper or TopLink and would prefer not to due to the different targets we are using.
    I have successfully portet to the 9.0.4 OC4J (standalone) version. In doing so I have collected all my EJB-class files in one jar, appName-ejb.jar, which along with the war-file and META-INF files go in the ear-file. Attempting to deploy this ear-file directly in 9.0.3 "J2EE and Webcache" version gives me the following error message in the Oracle Enterprise Manager Console: "Deployment failed: Nested exception Root Cause: Syntax error in source. Syntax error in source"
    The how-to:Implement Local Interface (cmplocal) also use a single jar-file, cmplocal-ejb.jar. The description is targeted toward OC4J standalone. I have not attempted to deploy this ear-file in the "j2ee and webcache" version.
    The Petstore demo ear-file (ref: "O9iAS Containers for J2EE User's Guide (9.0.3)") has all its beans in separate jar-files and deploys without any problems. The documentation also indicate that all beans has to be in separate jar-files in the root of the ear-file i.e this is a requirement. Do I understand the documentation correctly?
    Why the difference between the standalone version and the next version? Does not the possibility having to maintain a a large number of bean-jar-files in the root of the ear-file make development/deployment much more difficult than necessary?
    Does there exist any batch-workarounds?
    Dag

    I am trying to port an application from jboss (3.0.3) to OAS 9iAS rel2. Since the application uses local interfaces in the EJBs, I am using the pre-release versions of OAS. My development environment also include ant and xdoclet. I am not using JDeveloper or TopLink and would prefer not to due to the different targets we are using.
    I have successfully portet to the 9.0.4 OC4J (standalone) version. In doing so I have collected all my EJB-class files in one jar, appName-ejb.jar, which along with the war-file and META-INF files go in the ear-file. Attempting to deploy this ear-file directly in 9.0.3 "J2EE and Webcache" version gives me the following error message in the Oracle Enterprise Manager Console: "Deployment failed: Nested exception Root Cause: Syntax error in source. Syntax error in source"
    The how-to:Implement Local Interface (cmplocal) also use a single jar-file, cmplocal-ejb.jar. The description is targeted toward OC4J standalone. I have not attempted to deploy this ear-file in the "j2ee and webcache" version.
    The Petstore demo ear-file (ref: "O9iAS Containers for J2EE User's Guide (9.0.3)") has all its beans in separate jar-files and deploys without any problems. The documentation also indicate that all beans has to be in separate jar-files in the root of the ear-file i.e this is a requirement. Do I understand the documentation correctly?
    Why the difference between the standalone version and the next version? Does not the possibility having to maintain a a large number of bean-jar-files in the root of the ear-file make development/deployment much more difficult than necessary?
    Does there exist any batch-workarounds?
    Dag

Maybe you are looking for

  • Is there a solution for Higher Ed Computer Labs?

    I am an instructional Technician for the Photography Department at a Community College. We currently purchase and use the Creative Suite 6 Design & Web Premium here in the Photography, Graphics and Journalism departments. We have over 150 Macintosh c

  • What is causing my Mac to be so slow?

    Ok so I have a 2011 Mac Mini, upgraded to 8gb of RAM running Mavericks. Over the past few months, it has been performing poorly during certain tasks, for example: -When watching videos, both on and offline, picture will randomly freeze for a couple o

  • Importing VHS tape to imovie

    Hi there im geting a new macbookpro but i will need to transfer my video wedding video which is on vhs, so I can import it in to imovie or quicktime. Please please if you have any idea on what i can use to do it please help. PowerBook G4 1.5 15, 80Gb

  • Extracting open PO using ABAP program

    Hi friends, My client is aksing to extract open PO's from current sap system by writing extraction program and we have download it and after that we are going to uload open PO to new sa system.They have the condition for this and asked me to write fu

  • Negative time evaluation and IT0007

    Hello Experts, i have this condition in a PCR, where an employee with time management "1" (positive time evaluation) gets transportation allowance on attendance type days like "business meetings out of office" and "trainings", but this is done accord