New OC4J Instance : Deployed EAR File : Page not Found !

Hi,
I have installed the Oracle Apps Middle Tier on one of my systems.
I created a new OC4J instance named OC4J_Custom and deployed an ear file with a couple of Test Servlets. Now, when I enter the URL for the Middle Tier OC4J :
http://middletier:7778/my_app/HomeServlet
I only see a " The page cannot be displayed " error !.
I even checked in the mod_oc4j.conf file - the settings seem to be correct :
Oc4jMount /my_app OC4J_Custom
Oc4jMount /my_app/* OC4J_Custom
Do I need to do any other settings ?
Regards,
Sandeep

Is there a servlet mapped to HomeServlet in the web.xml file so it can be accessed like that?
Can you access any other resources -- ie a .html or .jsp page in that deployed app?
If you are using Internet Exploder, then one thing to try is turn off the "Show Friendly Error Pages" option in the custom settings. By default IE hides the error details, which might give you some more information here.
cheers
-steve-

Similar Messages

  • Creative Cloud Files - Page Not Found

    It shows that I have used 80% or so of the storage space - so I know the files are there, but every time I click on the File Page it says Page Not Found and says to click on a link to the File Page or Downloads Page... This has been going on a few days now and was not solved by clearing the cache or switching browsers.

    Are you still having this problem? If you clear the browser cache and cookies do things work correctly? What happens if you try a different browser?

  • Error in deploying, EAR file does not contain SAP_MANIFEST.MF

    I just upgraded to SAP Netweaver Developer Studio 7.1 from 7.0, and the process of creating and deploying an EJB archive seems to be quite different. Here are the steps I am following:
    (1) I create and build an EJB Project called foo.
    (2) Export the EJB Project foo as an EJB JAR (not sure if this is necessary)
    (3) Create an Enterprise Applications project called fooEAR, with target runtime set to SAP server. When I am prompted for J2EE Modules to add, I select foo (created in step (1)).
    (4) Export the EAR project fooEAR as an EAR file. When I am prompted for which EAR application I choose fooEAR.
    (5) Try to deploy the EAR created in (4) using Deploy View -> External Deployable Archives -> Add, then choose the fooEAR.ear as the target. But I get an error message:
    Wrong SDA/SCA archive
    Error while loading archive ...
    Archive has no entry META-INF/SAP_MANIFEST.MF
    I looked inside fooEAR.ear, and there is no SAP_MANIFEST.MF file. How can I create an EAR that has such a file ?

    Hi Ivaylo,
    to answer your first question, the EAR that I am trying
    to deploy gets created as part of the publish step. When
    I look in the application.xml file of this EAR I see a
    version attribute with value of 1.4 in the application
    tag, can we assume that this implies J2EE 1.4 compliancy?
    One thing about this generated EAR is that it does not
    include any java code (VM or otherwise). When I generate
    the EAR by hand (by exporting the EJB project as an EAR
    file there is a JAR for the actual java code put in
    there, but when generating the EAR via publish there is
    only some xml and manifest stuff put in the EAR, with the
    result that it's only 2KB or so in size. I have specified
    a J2EE module dependency from the Enterprise Application
    project to the EJB project, but is there something else I
    need to do to ensure that the java code (jar) gets
    included in the EAR of the Enterprise Application when
    attempting to deploy via publish?
    Thanks for the other suggest, "Import J2EE Archive".
    However, I am having difficulty locating this button.
    When I look at the "Deploy View" window I see on the left
    the Workspace and External Deployable Archives trees,
    and on the right there are "Setting for Updating
    SCAs/SDAs" radio buttons, as well as "Error Strategy"
    radio buttons, but no "Import J2EE Archive" button.
    Thanks for the info about SDM by the way, I was wondering
    why I was not able to launch it (there is still a remote
    gui shortcut, which should probably go away).

  • Error while deploying EAR file on OC4J 10.1.3.3

    Hi all,
    I am facing following error on OC4J while deploying EAR file
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    07/12/31 17:47:21 oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServ
    ices SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\
    CustomerServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    07/12/31 17:47:21 at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
    07/12/31 17:47:21 at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
    07/12/31 17:47:21 at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    07/12/31 17:47:21 at com.evermind.server.Application.getHttpApplication(Application.java:570)
    07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.jav
    a:1987)
    07/12/31 17:47:21 at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    07/12/31 17:47:21 at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    07/12/31 17:47:21 at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/12/31 17:47:21 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/12/31 17:47:21 at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    07/12/31 17:47:21 at java.lang.Thread.run(Thread.java:534)
    2007-12-31 17:47:21.625 NOTIFICATION Application Deployer for CustomerServices SMS API FAILED.
    2007-12-31 17:47:21.625 NOTIFICATION Application UnDeployer for CustomerServices SMS API STARTS.
    2007-12-31 17:47:21.640 NOTIFICATION Removing all web binding(s) for application CustomerServices SMS API from all web site(s)
    07/12/31 17:47:21 SEVERE: ProgressObjectImpl.reportError Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
    S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
    rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices
    SMS API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custo
    merServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    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.java:298)
    at java.lang.Thread.run(Thread.java:534)
    Caused by: oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SM
    S API\customerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\Custome
    rServices SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:104)
    at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8469)
    at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5701)
    at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5629)
    at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5568)
    at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:731)
    at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
    at com.evermind.server.Application.getHttpApplication(Application.java:570)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1987)
    at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1906)
    at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1603)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
    at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
    at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
    at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
    at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    ... 4 more
    2007-12-31 17:47:28.109 NOTIFICATION Application UnDeployer for CustomerServices SMS API COMPLETES.
    07/12/31 17:47:28 WARNING: DeployerRunnable.run Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\cus
    tomerservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices
    SMS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    oracle.oc4j.admin.internal.DeployerException: Error compiling :C:\exp\warid1link\oc4j\j2ee\home\applications\CustomerServices SMS API\custo
    merservicesapi: Syntax error in source or compilation failed in: C:\exp\warid1link\oc4j\j2ee\home\application-deployments\CustomerServices S
    MS API\customerservicesapi\com\warid\sms\runtime\CSSMSAPI_Service_SerializerRegistry.java
    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.java:298)
    at java.lang.Thread.run(Thread.java:534)
    2007-12-31 18:21:46.234 WARNING Caught exception: java.lang.reflect.InvocationTargetException.
    Regards,
    Imran Raza Khan

    Looks strange, but do you have blanks in your path names? Don't do that. Cause pain only.
    --olaf                                                                                                                                                                                                   

  • How to deploy EAR file in Tomcat?

    Is we can deploy ear file in tomcat?
    Normally we can deploy WAR file in tomcat webapps folder. When we run the tomat it will automatically extract the war file.
    But samethink I have tried EAR file. But it is not working.
    Is we can deploy EAR file or not?
    If not plz give reason.

    Hi
    Normally we can deploy the war file thats routene stuff ofcourse ..........but when u deploy ear file it will give problmes as ear structure and war structure are differeant
    The Tomcat Servlet/JSP Container      
    The Apache Tomcat 5.5 Servlet/JSP Container
         Apache Logo
    Links
    * Docs Home
    Contents
    * Contents
    * Introduction
    * Installation
    * Deployment
    * Source Code
    * Processes
    * Example App
    Application Developer's Guide
    Deployment
         Printer Friendly Version
    print-friendly
    version
    Background
    Before describing how to organize your source code directories, it is useful to examine the runtime organization of a web application. Prior to the Servlet API Specification, version 2.2, there was little consistency between server platforms. However, servers that conform to the 2.2 (or later) specification are required to accept a Web Application Archive in a standard format, which is discussed further below.
    A web application is defined as a hierarchy of directories and files in a standard layout. Such a hierarchy can be accessed in its "unpacked" form, where each directory and file exists in the filesystem separately, or in a "packed" form known as a Web ARchive, or WAR file. The former format is more useful during development, while the latter is used when you distribute your application to be installed.
    The top-level directory of your web application hierarchy is also the document root of your application. Here, you will place the HTML files and JSP pages that comprise your application's user interface. When the system administrator deploys your application into a particular server, he or she assigns a context path to your application (a later section of this manual describes deployment on Tomcat). Thus, if the system administrator assigns your application to the context path /catalog, then a request URI referring to /catalog/index.html will retrieve the index.html file from your document root.
    Standard Directory Layout
    To facilitate creation of a Web Application Archive file in the required format, it is convenient to arrange the "executable" files of your web application (that is, the files that Tomcat actually uses when executing your app) in the same organization as required by the WAR format itself. To do this, you will end up with the following contents in your application's "document root" directory:
    * *.html, *.jsp, etc. - The HTML and JSP pages, along with other files that must be visible to the client browser (such as JavaScript, stylesheet files, and images) for your application. In larger applications you may choose to divide these files into a subdirectory hierarchy, but for smaller apps, it is generally much simpler to maintain only a single directory for these files.
    * /WEB-INF/web.xml - The Web Application Deployment Descriptor for your application. This is an XML file describing the servlets and other components that make up your application, along with any initialization parameters and container-managed security constraints that you want the server to enforce for you. This file is discussed in more detail in the following subsection.
    * /WEB-INF/classes/ - This directory contains any Java class files (and associated resources) required for your application, including both servlet and non-servlet classes, that are not combined into JAR files. If your classes are organized into Java packages, you must reflect this in the directory hierarchy under /WEB-INF/classes/. For example, a Java class named com.mycompany.mypackage.MyServlet would need to be stored in a file named /WEB-INF/classes/com/mycompany/mypackage/MyServlet.class.
    * /WEB-INF/lib/ - This directory contains JAR files that contain Java class files (and associated resources) required for your application, such as third party class libraries or JDBC drivers.
    When you install an application into Tomcat (or any other 2.2/2.3-compatible server), the classes in the WEB-INF/classes/ directory, as well as all classes in JAR files found in the WEB-INF/lib/ directory, are made visible to other classes within your particular web application. Thus, if you include all of the required library classes in one of these places (be sure to check licenses for redistribution rights for any third party libraries you utilize), you will simplify the installation of your web application -- no adjustment to the system class path (or installation of global library files in your server) will be necessary.
    Much of this information was extracted from Chapter 9 of the Servlet API Specification, version 2.3, which you should consult for more details.
    Shared Library Files
    Like most servlet containers, Tomcat 5 also supports mechanisms to install library JAR files (or unpacked classes) once, and make them visible to all installed web applications (without having to be included inside the web application itself. The details of how Tomcat locates and shares such classes are described in the Class Loader HOW-TO documentation. For the purposes of our discussion, there are two locations that are commonly used within a Tomcat 5 installation for shared code:
    * $CATALINA_HOME/common/lib - JAR files placed here are visible both to web applications and internal Tomcat code. This is a good place to put JDBC drivers that are required for both your application and internal Tomcat use (such as for a JDBCRealm).
    * $CATALINA_BASE/shared/lib - JAR files placed here are visible to all web applications, but not to internal Tomcat code. This is the right place for shared libraries that are specific to your application.
    Out of the box, a standard Tomcat 5 installation includes a variety of pre-installed shared library files, including:
    * The Servlet 2.4 and JSP 2.0 APIs that are fundamental to writing servlets and JavaServer Pages.
    * An XML Parser compliant with the JAXP (version 1.2) APIs, so your application can perform DOM-based or SAX-based processing of XML documents.
    Web Application Deployment Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    As mentioned above, the /WEB-INF/web.xml file contains the Web Application Deployment Descriptor for your application. As the filename extension implies, this file is an XML document, and defines everything about your application that a server needs to know (except the context path, which is assigned by the system administrator when the application is deployed).
    The complete syntax and semantics for the deployment descriptor is defined in Chapter 13 of the Servlet API Specification, version 2.3. Over time, it is expected that development tools will be provided that create and edit the deployment descriptor for you. In the meantime, to provide a starting point, a basic web.xml file is provided. This file includes comments that describe the purpose of each included element.
    NOTE - The Servlet Specification includes a Document Type Descriptor (DTD) for the web application deployment descriptor, and Tomcat 5 enforces the rules defined here when processing your application's /WEB-INF/web.xml file. In particular, you must enter your descriptor elements (such as <filter>, <servlet>, and <servlet-mapping> in the order defined by the DTD (see Section 13.3).
    Tomcat Context Descriptor
    The description below uses the variable name $CATALINA_HOME to refer to the directory into which you have installed Tomcat 5, and is the base directory against which most relative paths are resolved. However, if you have configured Tomcat 5 for multiple instances by setting a CATALINA_BASE directory, you should use $CATALINA_BASE instead of $CATALINA_HOME for each of these references.
    A /META-INF/context.xml file can be used to define Tomcat specific configuration options, such as loggers, data sources, session manager configuration and more. This XML file must contain one Context element, which will be considered as if it was the child of the Host element corresponding to the Host to which the The Tomcat configuration documentation contains information on the Context element.
    Deployment With Tomcat 5
    In order to be executed, a web application must be deployed on a servlet container. This is true even during development. We will describe using Tomcat 5 to provide the execution environment. A web application can be deployed in Tomcat by one of the following approaches:
    * Copy unpacked directory hierarchy into a subdirectory in directory $CATALINA_HOME/webapps/. Tomcat will assign a context path to your application based on the subdirectory name you choose. We will use this technique in the build.xml file that we construct, because it is the quickest and easiest approach during development. Be sure to restart Tomcat after installing or updating your application.
    * Copy the web application archive file into directory $CATALINA_HOME/webapps/. When Tomcat is started, it will automatically expand the web application archive file into its unpacked form, and execute the application that way. This approach would typically be used to install an additional application, provided by a third party vendor or by your internal development staff, into an existing Tomcat installation. NOTE - If you use this approach, and wish to update your application later, you must both replace the web application archive file AND delete the expanded directory that Tomcat created, and then restart Tomcat, in order to reflect your changes.
    * Use the Tomcat 5 "Manager" web application to deploy and undeploy web applications. Tomcat 5 includes a web application, deployed by default on context path /manager, that allows you to deploy and undeploy applications on a running Tomcat server without restarting it. See the administrator documentation (TODO: hyperlink) for more information on using the Manager web application.
    * Use "Manager" Ant Tasks In Your Build Script. Tomcat 5 includes a set of custom task definitions for the Ant build tool that allow you to automate the execution of commands to the "Manager" web application. These tasks are used in the Tomcat deployer.
    * Use the Tomcat Deployer. Tomcat 5 includes a packaged tool bundling the Ant tasks, and can be used to automatically precompile JSPs which are part of the web application before deployment to the server.
    Deploying your app on other servlet containers will be specific to each container, but all containers compatible with the Servlet API Specification (version 2.2 or later) are required to accept a web application archive file. Note that other containers are NOT required to accept an unpacked directory structure (as Tomcat does), or to provide mechanisms for shared library files, but these features are commonly available.
    Copyright © 1999-2006, Apache Software Foundation

  • Compilation error when deploying EAR file on standalone OC4J...

    Hi All,
    I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
    ==========================================================
    Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
    Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
    Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
    Unpacking JavaWebServiceEmp-GetDates-WS.ear
    Done unpacking JavaWebServiceEmp-GetDates-WS.ear
    Unpacking WebServices.war
    Done unpacking WebServices.war
    Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
    Starting application : JavaWebServiceEmp-GetDates-WS
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize WebServices begins...
    Initialize WebServices ends...
    Started application : JavaWebServiceEmp-GetDates-WS
    Binding web application(s) to site default-web-site begins...
    Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
    Operation failed with error:
    Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
    Deployment failed
    Elapsed time for deployment: 1 minute, 50 seconds
    ==========================================================
    Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
    Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.

    Initially I followed the following steps to start up OC4J:-
    Settings :-
    1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
    2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
    Steps followed to run oc4j and deploy application
    1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
    2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
    to include the following:-
    <shared-library name="global.libraries" version="1.0" library-compatible="true">
    <code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
    </shared-library>
    AND
    <java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
    3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
    --> java -jar oc4j.jar
    4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
    5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
    using:-
    --> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
    6) Steps 4 and 5 went through without error.
    7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
    http://localhost:8888/docws/prime
    This was before I tried deploying the web service through jdeveloper IDE.
    I had tried the document web service given at the following link:-
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
    from the web services how to links
    http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
    Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
    Message was edited by:
    Lester N

  • Got this error after deploying ear file into OC4J server.

    Hello Frnsz,
    Can any one help to resolve the following error :)
    Got this error after deploying ear file into OC4J server.
    2008-06-04 14:57:58.551 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/pager-taglib.tld
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.566 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-bean.tld
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.598 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-html.tld
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.629 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-logic.tld
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.660 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-nested.tld
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:57:58.691 WARNING J2EE JSP-0027 Errors parsing file:/C:/Program Files/Java/oc4j/j2ee/home/applications/MyEarProject/MyEarProjectWeb/WEB-INF/tld/struts-tiles.tld
    2008-06-04 14:57:58.723 NOTIFICATION Binding web application(s) to site default-web-site ends...
    2008-06-04 14:57:58.723 NOTIFICATION Application Deployer for MyEarProject COMPLETES. Operation time: 3422 msecs
    2008-06-04 14:58:04.895 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.910 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.926 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.942 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.957 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 JSP Tld Cache Logging:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.973 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:04.989 WARNING J2EE JSP-0003 loading Tld's into cachedConfigTable:
    2008-06-04 14:58:05.020 NOTIFICATION J2EE JSP-0008 Unable to dispatch JSP Page : Exception:oracle.jsp.parse.JspParseException: /WEB-INF/jsp/login.jsp: Line # 2, <%@ taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html"%>
    Error: java.lang.ClassNotFoundException: org.apache.struts.taglib.html.MessagesTei
    Cheers,
    Cap

    Cross posted in correct forum
    [http://forum.java.sun.com/thread.jspa?threadID=5302192]

  • SAP Note 0001370334: Error while deploying EAR file

    Hi All,
    We have a project requirement where payload should not be visible in both IE(SXMB_MONI) and RWB(Channel Monitoring). We have followed sap note 0001370334 and created .ear file as per sample .ear file given in the sap note.
    Here the problem is when we are trying to deploy that .ear file using NWDS, it is throwing exception :
    [ERROR CODE DPL.DCAPI.1027] SduLoadingException.
    Additional information: 'The information about the development component found in the manifest is either missing or incomplete!
    Manifest attributes are missing or have badly formatted value:
    attribute keylocation is missing
    attribute keyname is missing
    attribute keyvendor is missing
    attribute keycounter is missing
    Kindly provide ur inputs.
    Thanks,
    Veneela

    Did you see this link?  Looks like your ear file is not as expected. Please delete and create and deploy again
    http://wiki.sdn.sap.com/wiki/display/JSTSG/%28JSTSG%29%28Deploy%29Problems-P29
    /thread/1516905 [original link is broken]

  • Oc4j instance deployment failed

    hello
    i create new oc4j instance and enable the ssl on oc4j instance.i try to deploy the .ear and .war files on oc4j instance . i am getting this error.
    Deployment failed: See base exception for details.
    Resolution:
    See base exception for details.
    Base Exception:
    Unknown web-site default-web-site, for OC4J instance ormi://localhost:12402
    Resolution:
    . Base Exception:
    Unknown web-site default-web-site, for OC4J instance ormi://localhost:12402
    Resolution:

    Hi ,
    I am getting below exception, while deploying my EJB in oc4j 10.1.2, after enabling SSL
    Deployment failed: Base Exception:
    Changing value to OFF for Attribute KeepAlive, Entity et="system";ei="0",et="ApacheMainServer";ei="11" resulted in a constraint violation.Base Exception:
    The value OFF must match with one of the values from the list: [On,Off].
    Resolution:
    User must supply a value which matches one of the possible predefined values..
    Resolution:
    Please make sure that new value passes all the constraints defined
    Please help to resolve. Previously i didnt get this error when SSL is not enabled

  • SRDemo deployment - Page not found

    Hi,
    I completed ch. 11 and deployed the app, but when I tested the url (http://localhost:8888/SRDemo/SRList.jspx) - I got the Page not found error. Would appreciate if someone can enlighten me on this.
    I had to overwrite the previous deployment, and redeployed again.
    Here is the log for the deployment:
    ---- Deployment started. ---- Jan 4, 2007 1:06:26 PM
    Target platform is Standalone OC4J 10g 10.1.3 (OC4J).
    Wrote EJB JAR file to C:\jdev10g\jdev\mywork\SRDemo\DataModel\deploy\ejb3.jar
    Wrote WAR file to C:\jdev10g\jdev\mywork\SRDemo\UserInterface\deploy\webapp3.war
    Wrote EAR file to C:\jdev10g\jdev\mywork\SRDemo\Deployment\deploy\SRDemoApplication.ear
    Application UnDeployer for SRDemoApplication STARTS.
    Removing all web binding(s) for application SRDemoApplication from all web site(s)
    Application UnDeployer for SRDemoApplication COMPLETES.
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Uploading file SRDemoApplication.ear ...
    Application Deployer for SRDemoApplication STARTS.
    Copy the archive to C:\jdev10g\j2ee\home\applications\SRDemoApplication.ear
    Initialize C:\jdev10g\j2ee\home\applications\SRDemoApplication.ear begins...
    Unpacking SRDemoApplication.ear
    Done unpacking SRDemoApplication.ear
    Unpacking webapp3.war
    Done unpacking webapp3.war
    Initialize C:\jdev10g\j2ee\home\applications\SRDemoApplication.ear ends...
    Starting application : SRDemoApplication
    Initializing ClassLoader(s)
    Initializing EJB container
    Loading connector(s)
    Starting up resource adapters
    Processing EJB module: ejb3.jar
    Compiling EJB generated code
    Initializing EJB sessions
    Committing ClassLoader(s)
    Initialize webapp3 begins...
    Initialize webapp3 ends...
    Started application : SRDemoApplication
    Binding web application(s) to site default-web-site begins...
    Binding webapp3 web-module for application SRDemoApplication to site default-web-site under context root SRDemo
    Initializing Servlet: javax.faces.webapp.FacesServlet for web application webapp3
    Binding web application(s) to site default-web-site ends...
    Application Deployer for SRDemoApplication COMPLETES. Operation time: 8693 msecs
    Elapsed time for deployment: 55 seconds
    ---- Deployment finished. ---- Jan 4, 2007 1:07:21 PM
    Thanks a lot!

    Hi Frank,
    Thank you. I tried the url - it showed the Page Not Found error. So I tried http://localhost:8888/SRDemo/faces/app/SRList.jspx, and the page showed up - but it has numerous errors (I hope I am using the right url):
    Error
    1. JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg= Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system. ; nested exception is: Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.
    2. JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg= Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system. ; nested exception is: Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.
    3. Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system. ; nested exception is: Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.
    4. JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg= Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system. ; nested exception is: Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.
    5. JBO-29000: Unexpected exception caught: javax.ejb.EJBException, msg= Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system. ; nested exception is: Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.
    6. Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system. ; nested exception is: Exception Description: Several [1] SessionLoaderExceptions were thrown: *** Exception [TOPLINK-9003] (Oracle TopLink - 10g Release 3 (10.1.3.0.0) (Build 060118)): oracle.toplink.exceptions.SessionLoaderException Exception Description: Unable to process XML tag [external-transaction-controller-class] with value [oracle.toplink.transaction.oc4j.oc4jTransactionController]. Internal Exception: oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: oracle.toplink.transaction.oc4j.oc4jTransactionController Dependent class: oracle.toplink.tools.sessionconfiguration.XMLLoader Loader: oracle.toplink:10.1.3 Code-Source: /C:/jdev10g/toplink/jlib/toplink.jar Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\jdev10g\j2ee\home\oc4j.jar This load was initiated at SRDemoApplication.root:0.0.0 using the loadClass() method. The missing class is not available from any code-source or loader in the system.
    7. JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-
    29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    8. JBO-29000: Unexpected exception caught: java.lang.RuntimeException, msg=javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    9. javax.servlet.jsp.el.ELException: An error occurred while getting property "userId" from an instance of class oracle.srdemo.view.UserInfo
    Please tell me how to debug this. I can see that there're session loader exception, TOPLINK exception, Unable to process XML tag [external-transaction-controller-class] with value, etc.
    I did have a problem with the SRCreate page - .javax.faces.el.EvaluationException: javax.faces.FacesException: javax.faces.FacesException: Can't set managed bean property: 'viewIdProperty'.. Does this has something to do with the above errors when I ran the page SRList.jspx.
    Appreciate your time and assistance.

  • Oracle AS 10gR2: create new oc4j instance supporting ssl/https

    hi,
    i've got an oracle application server 10.1.2 (infra and midtier).
    in the midtier i want to add a new oc4j-instance which is possible via oracle enterprise manager 10g. after i've created the new oc4j-instance and deployed a war-file ("myapp") i can access a jsp of the deployed application with "http://myserver/myapp/test.jsp". now i want to enable ssl/https for my new oc4j-instance.
    i did the following steps according to the manual (http://download-west.oracle.com/docs/cd/B14099_19/web.1012/b14013/configssl.htm):
    1) created certificate with keytool
    2) added secure-web-site.xml (new oc4j-instance)
    3) modified sever.xml (new oc4j-instance)
    4) restarted new oc4j-instance
    my test.jsp is still available with "http://myserver/myapp/test.jsp", but when i try to access it with "https://myserver/myapp/test.jsp" i get an error that the resource is not found. strange that when accessing test.jsp with http it is searched in the folder of my new oc4j-instance (%ORACLE_HOME%/j2ee/oc4jnew/...), but when i want to access the page through https the server looks for the jsp in the default oc4j "home" (%ORACLE_HOME%/j2ee/home/...).
    what's the reason for that an how can i correct it?
    regards,
    matthias
    Edited by: matthias on Apr 26, 2010 4:15 PM

    You need to secure the HTTP Server and not the OC4J, remember that HTTP and WebCache are your frontends for any presentation layer, you need to modify ssl.conf and webcache in WebCache Admin page (in EM Console) to make them use ssl ports, as well as you want to use url with no port, you need to use port 443.
    Greetings

  • How to setup new OC4J instance to host jdev business component (EJB)

    From Jdeveloper 9.0.3 I want to deploy a business component to an new oc4j instance running under 9ias version 9.0.3.
    In jdeveloper I have built and tested an application server connection (type=Oracle Application Sever Remote DCM) to my new oc4j instance on 9ias. My understanding is that the jdeveloper deployment profile wizard will help me construct a profile to build what is known as an "EJB session bean".
    Using EmWebSite, I have created and started the new oc4j instance, and i constructed a datasource to be used for the database connection.
    Is there anything else that I will need to do to the new 9ias oc4j instance prior to building the deployment profile in jdeveloper, and then running the deployment? For instance, does this new oc4j instance somehow have the necessary hooks in it to support this bc4j component? Do I need to install any missing jar files? Do I need to define rmi ports ? Do I need to configure BC4J support?
    BTW ... I have tried to pursue this topic from the Jdeveloper side but the support personnel are not familar with 9ias 903, nor are they familar with 9ias Remote DCM deployment.

    Yes, you should be able to deploy an BC4J application without making any other changes to an IAS instance. For standalone OC4J please look at http://otn.oracle.com/products/jdev/htdocs/config_oc4j_for_bc4j.html
    regards
    Debu

  • Error when creating new oc4j-instance

    1.
    when i create a new oc4j-instance via EMWeb i get the following:
    The operation failed.. Instance: iasdb.test.xxx.ch Message: Keine Meldung für diese Exception definiert. Base Exception: java.lang.NoClassDefFoundError:nullKeine Meldung für diese Exception definiert.
    the german text means: no message defined for this exception.
    when i then refresh the website the oc4j-instance is created, but down.
    2.
    when i try to deploy an application to any OC4J-instance manually i get the following error:
    Web-Anwendung ee konnte nicht eingesetzt werden Error while parsing oc4j configuration files. Root Cause: D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden). D:\Oracle\9iAS\j2ee\OC4J_AA\config\.\default-web-site.xml (Das System kann den angegebenen Pfad nicht finden)
    OC4J_AA whas a instance i once created and deleted then. it shoud no more exist.
    where does this error come from?

    Hi Stefan -
    I'm not sure where this error comes from, I've never seen it. Particularly in German! ;-)
    I think the best way to get more information on this is to repost your message to the general 9iAS forum. I believe that there are people monitoring that forum who look afer the management console and who might be able to help you further.
    -steve-

  • Deploying ear file / Automatic Deployment /AS Deployment

    Hello All,
    i was trying to deploy a ear file of 100 mb in a10.1.3 Server on a specific oc4j instance.
    The error is
    Error initializing site OracleAS Java Web Site: No web-app named 'lib/axis' found in application '--WorkBrain' (found web-modules are: 'workbrain', 'axis')
    As we all know this error message would have been throwed by Server during the process of parsing the application.xml while trying to deploy.
    The entries on META-INF/application.xml are below
    <web>
    <web-uri>workbrain.war</web-uri>
    <context-root>/</context-root>
    </web>
    </module>
    <module id="WebModule_1066144042228">
    <web>
    <web-uri>lib/axis.war</web-uri>
    <context-root>axis</context-root>
    </web>
    The same .ear file was tested on another oc4j instance.
    We tried the Automatic Deployment method (dropping the .ear file in applications dir )
    and restarted the oc4j instance.
    This worked perfectly.
    So what happens in the above two cases..
    Why the Server stops the deployment through the AS console .?
    Why the Server allows the same .ear file through automatic deployment.
    In case if any one needs to refer to automatic deployment .
    http://otndnld.oracle.co.jp/document/products/as10g/101300/B25221_03/web.1013/b14431/autodeploy.htm.
    The .ear file is not corrupted iam able to unzip the file and i verified the presence of lib/axis .
    Please Clarify....
    Regards
    Prem

    Hi Kaladhar,
         See this thread same problem but solved:
    Re: An Deploy Problem about Credentials.
    Regards, Suresh KB

  • Ear files intermittently not binding on OAS 10.1.3.3

    Over the last couple of weeks I have noticed that when i deploy EAR files some apps don't start up and can't access the login pages. ie:(the Request Processing Time in EM is blank)
    Then sometimes i can just restart the specific app and it works but sometimes it doesn't
    Then I will try and undeploy and deploy manually and it will fail with the error below. Then sometime later i will do the same thing and it works.
    [24-Aug-2009 2:45:14 PM] Binding web application(s) to site default-web-site begins...
    [24-Aug-2009 2:45:14 PM] Binding occamweb web-module for application occam to site default-web-site under context root OnDemand
    [24-Aug-2009 2:45:15 PM] Operation failed with error: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
    Not sure what is happening exactly but hopefully you may be able to help out?

    Over the last couple of weeks I have noticed that when i deploy EAR files some apps don't start up and can't access the login pages. ie:(the Request Processing Time in EM is blank)
    Then sometimes i can just restart the specific app and it works but sometimes it doesn't
    Then I will try and undeploy and deploy manually and it will fail with the error below. Then sometime later i will do the same thing and it works.
    [24-Aug-2009 2:45:14 PM] Binding web application(s) to site default-web-site begins...
    [24-Aug-2009 2:45:14 PM] Binding occamweb web-module for application occam to site default-web-site under context root OnDemand
    [24-Aug-2009 2:45:15 PM] Operation failed with error: Not in an application scope - start OC4J with the -userThreads switch if using user-created threads
    Not sure what is happening exactly but hopefully you may be able to help out?

Maybe you are looking for

  • Autometic planning security refresh is not refreshing the security filters

    Hi Friends, We are using Hyperion planning system 9.3.1. While refreshing the planning security through automated script its not getting refreshed the security filters. In log its showing filter refreshed successfully but actually it's not refreshing

  • Dvd stuck in macbook pro

    I cannot get a DVD to eject from my Macbook Pro.  When I eject through the standard ways, the DVD mechanism obviously is trying to eject, but the disk will not come out of the slot.  It then remounts the DVD and it starts to play. 

  • How to identify and look at the sid generated for ods?

    hi all, Can anyone let me know how to identify the sid id generated for ods and look at the sid id generated for any ods. thanxs haritha

  • Servlet Invokation problem

    Hi I have J2ME wireless toolkit on one comp and am trying to invoke a servlet on another computer, am getting error in HTTP connection initialization, i changed the network configuration in J2ME wireless toolkit Edit->Preferences to my proxy server..

  • While loop error

    I can't seem to find the soultion to the following error message: G:\UOP\POS 406\Java Assignements\Week 3, Assignment 2\MortgageCalcV1.java:53: variable option might not have been initialized                while ((option == 'Y') || (option == 'y'))