TP4 - integrated OC4J

Hello
I was wondering how to deploy library jars to the Integrated OC4J ? I am using TP4. The jar files have been setup as libraries using the Manage Library option.
Thanks
Sunil

Frank
Thanks. They are shared libraries. I tried putting them to jlib, lib and applib folders. However that did not work. Then I modified server.xml and add them using the code-source tag. After that they worked. I am just wondering if that would have cause a negative impact.
Sunil

Similar Messages

  • JDev 11g TP4: App running in embedded OC4J fails in Integrated OC4J

    I have a simple application containing a bunch of JSP pages. When I run it on the embedded OC4J everything works fine.
    When I try to run it on the Integrated OC4J I get the following "missing class error":
    Binding web application(s) to site default-web-site begins...
    Binding FloorLocator2-Loc_Model-webapp web-module for application BlazeProj2 to site default-web-site under context root FloorLocator2-Loc_Model-context-root
    Operation failed with error:
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         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: The application named, FloorLocator2-Loc_Model-webapp ( web module named,
    ) failed to deploy. The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.Reason: {4}
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
         ... 5 more
    Caused by: java.lang.InstantiationException: The application named, BlazeProj2, could not start due to an error.
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:690)
         at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:493)
         at com.evermind.server.Application.getHttpApplication(Application.java:769)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.doCreateHttpApplicationFromReference(HttpSite.java:2315)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:2295)
         at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:2196)
         at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1826)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:254)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:141)
         at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
         at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:589)
         at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:216)
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:99)
         ... 5 more
    Caused by: oracle.classloader.util.AnnotatedNoClassDefFoundError:
         Missing class: com.googlecode.gmaps4jsf.component.map.Map
         Dependent class: com.sun.faces.config.ManagedBeanFactoryImpl
         Loader: oracle.jsf:1.2
         Code-Source: /C:/jdevtp4/lib/java/shared/oracle.jsf/1.2/jsf-ri.jar
         Configuration: <code-source> (ignore manifest Class-Path) in /C:/jdevinstance/system11.1.1.0.22.49.49/o.j2ee/embedded-oc4j/config/server.xml
    The missing class is not available from any code-source or loader in the system.
         at oracle.classloader.PolicyClassLoader.handleClassNotFound(PolicyClassLoader.java:2179)
         at oracle.classloader.PolicyClassLoader.internalLoadClass(PolicyClassLoader.java:1716)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1672)
         at oracle.classloader.PolicyClassLoader.loadClass(PolicyClassLoader.java:1657)
         at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
         at java.lang.Class.getDeclaredFields0(Native Method)
         at java.lang.Class.privateGetDeclaredFields(Class.java:2259)
         at java.lang.Class.getDeclaredFields(Class.java:1715)
         at com.sun.faces.config.ManagedBeanFactoryImpl.scanForAnnotations(ManagedBeanFactoryImpl.java:1133)
         at com.sun.faces.config.ManagedBeanFactoryImpl.<init>(ManagedBeanFactoryImpl.java:156)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:895)
         at com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:487)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:377)
         at com.evermind.server.http.HttpApplication.internalInitDynamic(HttpApplication.java:1394)
         at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1296)
         at com.evermind.server.http.HttpApplication.init(HttpApplication.java:860)
         at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:686)
         ... 17 more
    #### Deployment incomplete. #### Dec 12, 2008 11:57:07 AM
    oracle.jdeveloper.deploy.DeployException: Deployment Failed
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.distributeApplicationToTargets(Jsr88RemoteDeployer.java:598)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployApp(Jsr88RemoteDeployer.java:1010)
         at oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer.deployImpl(Jsr88RemoteDeployer.java:174)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
         at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
         at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:417)
         at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:202)
         at oracle.jdevimpl.runner.adrs.AdrsStarter$3$1.run(AdrsStarter.java:1116)
    #### Cannot run application BlazeProj2 due to error deploying to DefaultServer.
    [Application BlazeProj2 stopped and undeployed from Server Instance DefaultServer]
    Process exited.
    The problem is that I want to run the application on the Integrated server because I want to add some SOA components on it.
    Is there any way to get rid of this "missing class" error?
    Thank you in advance for the help.

    Hi, check if you have an existing deployment profile for your project and make sure the google maps jar is been added to the profile. When you use integrated the application gets deployed to the server so it takes all of its libraries and gets them deployed into the server. With embedded everything gets loaded from your application directory.
    If you don't have a deployment profile, create one and manually add the gMaps library and see if this time the integrated server uses your new deployment profile.
    Cheers,
    Juan C.

  • Not able to load jspx file from the classpath in Integrated OC4J

    Hi,
    I am using integrated OC4J from my jdeveloper to deploy my application as an ear file. It contains one jar file (with ejb deployment desscriptors) and a war file (including Model and Viewcontroller project contents).
    The war file contails a jspx file (say Test.jspx) which contails a link to another jspx file (say Remote.jspx) which resides in its WEB-INF/lib directory.
    When I load Test.jspx and click on the link, it fails to look for the Remote.jspx. It displays a message "OracleJSP error: java.io.FileNotFoundException:" on the web browser.
    From the message written to log file, found that it is actually trying to search for Remote.jspx file in the current context.
    Also tried including the classpath to the jar file containing the Remote.jspx file in orion-web.xml of the web application. using the following:
    <classpath path="file:/xxx/yyy.jar" />
    The issue is still there even after this.
    Can anyone suggest me how to achieve this?
    Thanks,
    Aparna

    this.getCodeBase(), would get RSPL / RLog or whatever you have in your codebase (html parameter of
    the OBJECT/APPLET(:hope not) tag.
    URL u = new URL(this.getCodeBase(), "../something.jpg");
    would get RSPL/something.jpg
    URL u = new URL(this.getCodeBase(), "../VIRA/JPG/00/1.jpg");
    would get RSPL / VIRA / JPG / 00 / 1.jpg
    If you are not sure what your codebase is your can print it out:
    System.out.println(this.getCodeBase().toString());

  • Hprof and integrated OC4J

    has anyone had any experience using hprof with integrated OC4J in 9iAS? The -Xrunhprof:file=hrpof.log,format=b param works with the standalone version 90210 but I'm getting no output file when I add this to the JVM arguments for the integrated version.

    Additional information - this only happens when I UNCHECK "Bundle Default data-sources.xml During Deployment". Granted, the list should be empty, but I shouldn't be getting an error like this.

  • Integrated OC4J cannot show current workspace's datasources

    JDEV 10.1.2
    When I try to view the integrated/embedded OC4J with JDEV's "current workspace"'s data sources, I receive the following:
    java.lang.NullPointerException
         at oracle.jdevimpl.xml.oc4j.ds.DataSourcesPanel.onEntry(DataSourcesPanel.java:140)
         at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:841)
         at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:815)
         at oracle.ide.panels.MDDPanel.access$7000871(MDDPanel.java:90)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1206)
         at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1074)
         at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1068)
         at javax.swing.Timer.fireActionPerformed(Timer.java:271)
         at javax.swing.Timer$DoPostEvent.run(Timer.java:201)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:141)
         at java.awt.Dialog$1.run(Dialog.java:540)
         at java.awt.Dialog.show(Dialog.java:561)
         at java.awt.Component.show(Component.java:1133)
         at java.awt.Component.setVisible(Component.java:1088)
         at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
         at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
         at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:276)
         at oracle.jdevimpl.xml.ModalEditor.showDialog(ModalEditor.java:112)
         at oracle.jdevimpl.xml.ModalEditor.showDialog(ModalEditor.java:88)
         at oracle.jdevimpl.runner.oc4j.EmbeddedServerAdminCommand.doit(EmbeddedServerAdminCommand.java:68)
         at oracle.ide.CommandProcessor.invokeImpl(CommandProcessor.java:391)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:343)
         at oracle.ide.CommandProcessor.invoke(CommandProcessor.java:110)
         at oracle.ide.IdeAction.performAction(IdeAction.java:665)
         at oracle.ide.IdeAction$1.run(IdeAction.java:857)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    I've noticed, that my new data sources are not being added to the system data sources automatically. I think it may be related to this issue?

    Additional information - this only happens when I UNCHECK "Bundle Default data-sources.xml During Deployment". Granted, the list should be empty, but I shouldn't be getting an error like this.

  • SOA Suite 11g TP4 "Configure SOA" step fails, after OC4J startup successful

    I followed the installation instructions and got stuck in step 10d.
    The build fails after announcing "*Trying to override old definition of task admin_client*", Oc4j has already started successfully.
    The soa-infra-java.log file shows the publishing of shared libraries to fail because two libraries aren't found:
    - apache.commons.fileupload
    - oracle.fabric.runtime
    The first is on the BAM import list, the other is for B2B. I did specify "Configure Basic SOA Components" though.
    Both of these errors are announced as WARNING, but the build fails and SOA configuration is announced as failed too.
    The startsoa.log file has several WARNINGs, including some SEVERE ones:
    ---snip---snip---
    19-mei-2009 9:59:32 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    09/05/19 10:00:27 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    09/05/19 10:00:27 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    19-mei-2009 10:00:29 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00002
    19-mei-2009 10:00:29 oracle.j2ee.util.AnnotatedLogger log
    WARNING: No javax.jms.ConnectionFactory found at null
    19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
    19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
    19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
    19-mei-2009 10:00:30 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
    19-mei-2009 10:01:11 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    09/05/19 10:01:15 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    09/05/19 10:01:15 SEVERE: AbstractInfo.getAnnotation oracle.webservices.annotations.async.AsyncWebService cannot be found in the given classpath.
    19-mei-2009 10:01:17 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    WARNING: J2EE JNDI-00002
    19-mei-2009 10:01:17 oracle.j2ee.util.AnnotatedLogger log
    WARNING: No javax.jms.ConnectionFactory found at null
    19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
    19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
    19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRPServiceDescriptionService, but only the first one (/portlets/WSRPServiceDescriptionService) will be considered for webservice endpoint
    19-mei-2009 10:01:18 oracle.j2ee.deployment.DeploymentMessages warningDuplicateServletMapping
    WARNING: There are multiple mappings for servlet name: WSRP_v2_ServiceDescription_Service, but only the first one (/portlets/WSRP_v2_ServiceDescription_Service) will be considered for webservice endpoint
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    [TopLink Info]: 2009.05.19 10:01:35.477--ServerSession(12473995)--TopLink, version: Oracle TopLink - 11g Technology Preview 4 (11.1.1.0.0) (Build 080422)
    [TopLink Info]: 2009.05.19 10:01:36.384--ServerSession(12473995)--userprefs login successful
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    Note: Some input files use unchecked or unsafe operations.
    Note: Recompile with -Xlint:unchecked for details.
    19-mei-2009 10:01:51 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    19-mei-2009 10:01:51 oracle.j2ee.xml.XMLMessages warningException
    WARNING: Exception Encountered
    ---snip---snip---
    Question:
    - Java 5 or 6?
    - The preferences are set to use the integrated OC4J, the log refers to "standalone oc4j".
    - How is oc4j started? Must the Environments variables be set through the system properties or on a startup script for JDev?
    Bert laverman
    PS
    You might want to update the page header on the installation instructions to show "Tech Preview 4" instead of 3. Document title at start is correct though.

    Hello,
    I am running into same errors. Were you able to resolve your problem?
    Mustafa

  • OC4J 9.0.4 stand alone + JDK 1.4.2

    Hi,
    I'm upgrading my web applications from OC4J (1.0.2.2) to OC4J 9.0.4. Also, upgrading from JDK1.3.1 to JDK 1.4.2. I have installed OC4J 9.0.4 stand alone version on my Windows 2000 machine and I have a couple of questions:
    1. I didn't find any JDK directory under OC4J_HOME. So, do I need to copy JDK 1.4.2 directory and place it under OC4J_HOME. Also, do I need to set any CLASSPATH while running OC4J ?
    2. I have an issue with running JSPs in the default application. However, the servlet examples run fine.I get the following error on running JSPs:
    quote:
    05/10/14 15:42:23 IOException in compile: CreateProcess: javac.exe -J-Xmx1024m -
    classpath oc4j.jar;E:\oc4j_extended\j2ee\home\lib/ejb.jar;E:\oc4j_extended\j2ee\
    home\lib/servlet.jar;E:\oc4j_extended\j2ee\home\lib/ojsp.jar;E:\oc4j_extended\j2
    ee\home\lib/jndi.jar;E:\oc4j_extended\j2ee\home\lib/jdbc.jar;E:\oc4j_extended\j2
    ee\home\iiop.jar;E:\oc4j_extended\j2ee\home\iiop_gen_bin.jar;E:\oc4j_extended\j2
    ee\home\lib/jms.jar;E:\oc4j_extended\j2ee\home\lib/jta.jar;E:\oc4j_extended\j2ee
    \home\lib/jmxri.jar;E:\oc4j_extended\j2ee\home\lib/javax77.jar;E:\oc4j_extended\
    j2ee\home\lib/javax88.jar;E:\oc4j_extended\j2ee\home\../../opmn/lib/ons.jar;E:\o
    c4j_extended\j2ee\home\../../opmn/lib/optic.jar;E:\oc4j_extended\j2ee\home\../..
    /lib/dms.jar;E:\oc4j_extended\j2ee\home\../../dms/lib/dms.jar;E:\oc4j_extended\j
    2ee\home\lib/connector.jar;E:\oc4j_extended\j2ee\home\lib/cos.jar;E:\oc4j_extend
    ed\j2ee\home\lib/jsse.jar;E:\oc4j_extended\j2ee\home\../../oracle/lib/jsse.jar;E
    :\oc4j_extended\j2ee\home\lib/jnet.jar;E:\oc4j_extended\j2ee\home\lib/jcert.jar;
    E:\oc4j_extended\j2ee\home?
    unquote:
    Could somebody tell me what I'm doing wrong ?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

    Thanks a lot for your help qlin. I found a solution to the JSP issue from the archives.
    However, I ran into a new issue. I got the following error when I tried to access a JSP in my web application (this works with OC4J 1.0.2.2):
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I got the same error with both JDK 1.4.2 and JDK 1.3.1.
    Any idea what could be causing the error, and how to trace it?
    Regarding the OC4J version, I have to use 9.0.4 as we have a product that uses it and I have to stick with the same version.
    Also, I have a couple of other questions.
    1. I use OC4J stand-alone on Win2K machine for development and deploy on a Solaris machine that uses the integrated OC4J version, which comes with Oracle Application Server 10g. Do you see any issues with this ?
    2. I currently have a simple logging mechanism using "System.out.println" to print output to a log file in the stand-alone version. Do you know of any better logging scheme that can be used with the integrated OC4J ?
    Any help/suggestions will be greatly appreciated.
    Thanks,
    Shyam
    I didn't find any JDK directory under OC4J_HOME.So, do I need to copy JDK 1.4.2
    directory and place it under OC4J_HOME. Also, do Ineed to set any CLASSPATH while
    running OC4J ?Yes, since 9.0.4 or even earlier possibly, oc4j
    installation is not bundled with a JDK installation.
    It is easy enough to download any JDK version you
    wanted. You do not need to place a copy of JDK
    inside OC4J_HOME. I believe it is better not to set
    any CLASSPATH for running OC4J, although it is
    probably does not matter any way.
    05/10/14 15:42:23 IOException in compile:CreateProcess: javac.exe -J-Xmx1024m -
    Please search this forum for "IOException in compile:
    CreateProcess: javac.exe". You will see the answer.
    By the way, any particular reason that you decide not
    to upgrade to 10.1.2.0.2 directly?
    It is obvious that 10.1.2 should be better than
    9.0.4. After another several months, 10.1.3 should be
    a even better choice since 10.1.3 supports j2ee 1.4
    while 10.1.2 and 9.0.4 supports j2ee 1.3.Thanks for your help qlin.I found a solution to the JSP issue by searching the archives.
    However I ran into a new issue. When I try to run my web application, I get the following exception:
    05/10/17 16:38:19 dsap2: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.parse.JspParseException: Line # 165,
    Error: Unexpected end of file
    I tried run OC4J with both JDK 1.4.2 and 1.3.1 versions but still get the same error.

  • Oc4j stanalone

    Hi all
    using Jdev tp4 and oc4j tp4 stanalone.
    i have tried to deploy on clean installations with different java version but with no results.
    have anyone deployed on OC4J TP4 ?
    from the error log is seen that deployment starts normally but is terminated due some error.
    does anyone have any idea what i miss ?
    it there any good menual deployng on oc4j ?
    can anyone help me ?
    here comes error log.
    ---- Deployment started. ---- Jun 2, 2008 3:12:17 PM
    Target platform is (Standalone OC4J 11g).
    Running dependency analysis...
    Building...
    Wrote WAR file to C:\JDeveloper\mywork\Application12\test\deploy\webapp1.war
    Wrote EAR file to C:\JDeveloper\mywork\Application12\test\deploy\webapp1.ear
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Uploading file webapp1.ear ...
    Application Deployer for webapp1 STARTS.
    Copy the archive to C:\oc4j_extended_11110_tp4\j2ee\home\applications\webapp1.ear
    Initialize C:\oc4j_extended_11110_tp4\j2ee\home\applications\webapp1.ear begins...
    Unpacking webapp1.ear
    Done unpacking webapp1.ear
    Unpacking webapp1.war
    Done unpacking webapp1.war
    Initialize C:\oc4j_extended_11110_tp4\j2ee\home\applications\webapp1.ear ends...
    Starting application : webapp1
    Initializing ClassLoader(s)
    application : webapp1 is in failed state
    Operation failed with error:
    oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Application: webapp1 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: webapp1 is in failed state as initialization failed
         at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:136)
         ... 5 more
    Caused by: java.lang.InstantiationException: Application: webapp1 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)
         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: Import was not resolved for webapp1.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 webapp1.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. #### Jun 2, 2008 3:12:48 PM
    Deployment Failed

    Are the TP4 ADF class libraries already installed on standalone OC4J 11g TP4? If so are they exactly the same versions as those with JDev TP4?
    I think I'd try going through the manual ADF lib installation procedure again if I were you. I haven't tried it myself yet - this is just a guess ;-)

  • Default server (integration) start error

    Hi,
    I've installed jdev 11g tp3 on a xp and a win2000 server ,and config integrated OC4j ,when I start default server ,error occurred as below;
    [Starting DefaultServer using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\jdev1111\jdk\bin\javaw.exe -client -classpath D:\jdev1111\j2ee\home\oc4j.jar;D:\jdev1111\jdev\lib\jdev-oc4j-embedded.jar -Doracle.home=D:\jdev1111 -Doracle.component.type=o.j2ee -Doracle.instance=D:\jinstance\system11.1.1.0.22.47.96 -Djava.net.preferIPv4Stack=true -Djava.protocol.handler.pkgs=oracle.mds.net.protocol|oracle.fabric.common.classloaderurl.handler -Doc4j.userThreads=true -Xmx256m -Doracle.component.name=embedded-oc4j -Doracle.sysman.emRep.repositoryMode=repository_less -Doracle.oc4j.instancename=oc4j_em -Doracle.notification.filewatching.interval=10000 -DLOCATOR_PORT=23891 -Xverify:none -XX:MaxPermSize=512m -Ddisable.checkForUpdate=true -Doracle.application.environment=development -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 -Doc4j.jms.usePersistenceLockFiles=false -Djava.security.policy=D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\java2.policy oracle.oc4j.loader.boot.BootStrap -config D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml
    [waiting for the server to complete its initialization...]
    2008-1-15 15:48:19 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:48:21 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    08/01/15 15:48:28 warning: ApplicationServer.enableOC4JDocumentChangeNotifier Alternate DocumentChangeNotifier in use!
    08/01/15 15:48:28 JMS server will listen on port 9227.
    08/01/15 15:48:30 startup code is loading durable subscription: java:comp_env_jms_MediatorErrorTopic_oracle.tip.mediator.dispatch.MediatorQueueManagerFactory@19896c7
    08/01/15 15:48:30 startup code is loading durable subscription: java:comp_env_jms_MediatorDeferredTopic
    08/01/15 15:48:30 startup code is loading durable subscription: java:comp_env_jms_MediatorRetryTopic_oracle.tip.mediator.dispatch.MediatorQueueManagerFactory@19896c7
    08/01/15 15:48:30 oracle.j2ee.jms.oc4j.JMSServer startup complete
    2008-1-15 15:48:31 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:32 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:33 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    warning: J2EE JCA-02013
    2008-1-15 15:48:33 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    warning: J2EE JCA-02013
    2008-1-15 15:48:33 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    warning: J2EE JCA-02013
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:39 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    08/01/15 15:48:40 JmsConnectionFactory: Unable to set connectionparameters for OracleConnectionManager
    2008-1-15 15:48:40 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:40 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:41 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:41 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    warning: J2EE JNDI-00002
    2008-1-15 15:48:41 oracle.j2ee.util.AnnotatedLogger log
    warning: No javax.jms.ConnectionFactory found at null
    2008-1-15 15:48:41 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:42 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:42 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:45 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    warning: J2EE JNDI-00009
    2008-1-15 15:48:45 oracle.j2ee.util.AnnotatedLogger logWithThrowable
    warning: J2EE JNDI-00009
    08/01/15 15:48:47 DiagnosticService java logger init
    08/01/15 15:48:48 log level = INFO
    08/01/15 15:48:48 filter = null
    2008-1-15 15:48:48 oracle.tip.b2b.system.DiagnosticService checkLoggable
    warning: WARNING
    2008-1-15 15:48:48 oracle.tip.b2b.system.DiagnosticService checkLoggable
    severe: SEVERE
    08/01/15 15:48:48 DiagnosticService finish
    08/01/15 15:48:48 DiagnosticService : s_baseDirectoryName = D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\b2b
    08/01/15 15:48:48 ApplicationServerFactory<clean-only> ENV in ThreadMDBBean():
    08/01/15 15:48:48 ApplicationServerFactory<clean-only> ENV in EventListener():
    08/01/15 15:48:48 B2BStarterBean ejbCreate()
    2008-1-15 15:48:48 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:49 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:49 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:50 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:50 oracle.security.jps.fmw.util.JpsFmwUtil findSystemUser
    warning: findSystemUser: System user is not available from Credential Store.
    2008-1-15 15:48:51 oracle.j2ee.jmsrouter.util.JmsRouterMessages logException
    warning: oracle.j2ee.jmsrouter.RouterException: JMS Destination, {0}, does not exist
    [TopLink Info]: 2008.01.15 03:48:55.687--ServerSession(14633650)--TopLink, version: Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)
    [TopLink Info]: 2008.01.15 03:48:55.703--ServerSession(14633650)--Server: Oracle Containers for J2EE 10g (11.1.1.0.0)
    [TopLink Info]: 2008.01.15 03:48:55.937--ServerSession(14633650)--tracking-session login successful
    08/01/15 15:48:56 FabricConfigManager: ServerURL is http://tght-lxz:8988
    08/01/15 15:48:56 FabricConfigManager: JNDIProviderURL is ormi://tght-lxz:23891
    08/01/15 15:48:56 MediatorServiceEngine instantiated ....
    08/01/15 15:48:56 MediatorServiceEngine instantiated ....
    08/01/15 15:48:56 information: FaultPoliciesParser.<init> ------->Constructed Policy parser
    08/01/15 15:48:56 BPELServiceEngine=> constructed ....
    08/01/15 15:48:57 Warning: Could not locate file pc.properties in classpath
    08/01/15 15:48:57 error:didnot find exception error string "10198" in resource file
    08/01/15 15:48:58 BPELServiceEngine=> Setting FaultRecoveryManager
    08/01/15 15:48:58 GOT the CLASSPATH_CONTEXT org.springframework.context.support.ClassPathXmlApplicationContext@be5beb: display name [org.springframework.context.support.ClassPathXmlApplicationContext@be5beb]; startup date [Tue Jan 15 15:48:57 CST 2008]; root of context hierarchy
    [TopLink Info]: 2008.01.15 03:48:58.859--ServerSession(15795055)--TopLink, version: Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)
    [TopLink Info]: 2008.01.15 03:48:59.000--ServerSession(15795055)--file:/D:/jdev1111/j2ee/home/lib/api-ext/-bpel_persistence_unit login successful
    2008-1-15 15:48:59 com.collaxa.cube.CubeLogger error
    severe: <DomainObserverRegistry::load> Failed to locate observer class oracle.bpel.services.workflow.DeploymentListener
    2008-1-15 15:48:59 com.collaxa.cube.CubeLogger error
    severe: <DomainObserverRegistry::load> Failed to locate observer class com.collaxa.cube.ws.soap.oc4j.BPELOC4JServlet
    08/01/15 15:48:59 BPELServiceEngine=> initialized ....
    08/01/15 15:48:59 Mediator: setInstanceManager = oracle.integration.platform.instance.InstanceManagerImpl@1b8c5e3
    08/01/15 15:48:59 Mediator: setFacadeInstanceManager = [email protected]5
    2008-1-15 15:48:59 oracle.tip.mediator.dispatch.JMSDequeuer connect
    severe: +++++++++++++++ topic details : oracle.j2ee.ra.jms.generic.TopicImpl[MediatorDeferredTopic], group("")
    08/01/15 15:48:59 +++++++++++++++ topic details : oracle.j2ee.ra.jms.generic.TopicImpl[MediatorDeferredTopic], group("")
    2008-1-15 15:48:59 oracle.tip.mediator.dispatch.JMSDequeuer connect
    severe: +++++++++++++++ topic details : oracle.j2ee.ra.jms.generic.TopicImpl[MediatorRetryTopic], group("")
    08/01/15 15:48:59 +++++++++++++++ topic details : oracle.j2ee.ra.jms.generic.TopicImpl[MediatorRetryTopic], group("")
    2008-1-15 15:48:59 oracle.tip.mediator.dispatch.JMSDequeuer connect
    severe: +++++++++++++++ topic details : oracle.j2ee.ra.jms.generic.TopicImpl[MediatorErrorTopic], group("")
    08/01/15 15:48:59 +++++++++++++++ topic details : oracle.j2ee.ra.jms.generic.TopicImpl[MediatorErrorTopic], group("")
    2008-1-15 15:48:59 oracle.tip.mediator.dispatch.InitialMessageDispatcher init
    severe: Initial dispatcher is getting initiatlized
    [TopLink Info]: 2008.01.15 03:49:00.843--ServerSession(8167849)--TopLink, version: Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)
    [TopLink Info]: 2008.01.15 03:49:00.843--ServerSession(8167849)--Server: unknown
    [TopLink Info]: 2008.01.15 03:49:00.859--ServerSession(8167849)--tracking_session login successful
    [TopLink Info]: 2008.01.15 03:49:00.859--ServerSession(8167849)--tracking_session logout successful
    [TopLink Info]: 2008.01.15 03:49:01.140--ServerSession(8194283)--TopLink, version: Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)
    [TopLink Info]: 2008.01.15 03:49:01.140--ServerSession(8194283)--Server: Oracle Containers for J2EE 10g (11.1.1.0.0)
    [TopLink Info]: 2008.01.15 03:49:01.140--ServerSession(8194283)--tracking_session login successful
    [TopLink Info]: 2008.01.15 03:49:01.140--ServerSession(8167849)--TopLink, version: Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)
    [TopLink Info]: 2008.01.15 03:49:01.140--ServerSession(8167849)--Server: unknown
    [TopLink Info]: 2008.01.15 03:49:01.156--ServerSession(8167849)--tracking_session login successful
    08/01/15 15:49:01 Scheduler = oracle.cep.execution.scheduler.RoundRobinScheduler
    [TopLink Info]: 2008.01.15 03:49:01.687--ServerSession(14633650)--tracking-session logout successful
    [TopLink Info]: 2008.01.15 03:49:01.937--ServerSession(14759614)--TopLink, version: Oracle TopLink - 11g Technology Preview 3 (11.1.1.0.0) (Build 071207)
    [TopLink Info]: 2008.01.15 03:49:01.937--ServerSession(14759614)--Server: Oracle Containers for J2EE 10g (11.1.1.0.0)
    [TopLink Info]: 2008.01.15 03:49:01.953--ServerSession(14759614)--tracking-session login successful
    08/01/15 15:49:01 wasp.location = D:\jdev1111/uddi , found = true
    08/01/15 15:49:01 java.security.auth.login.config = D:\jdev1111/uddi/conf/jaas.config
    2008-1-15 15:49:02 oracle.ias.cache.CacheInternal open
    warning: Parsing configuration as XML failed
    2008-1-15 15:49:02 oracle.ias.cache.CacheInternal open
    warning: file=javacache.properties, java.io.FileNotFoundException: javacache.properties (system can't find spcified file。)
    null
    javacache.properties (system can't find spcified file。)
    2008-1-15 15:49:02 oracle.ias.cache.CacheInternal open
    warning: Attempting to parse configuration as non-XML
    08/01/15 15:49:04 information: FabricKernelInitializer.getCompositeList Checking server.xml at D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\config\server.xml
    08/01/15 15:49:04 warning: OC4JDeploymentListener.processServerXml File oracle-archive.xml not found in application datatags; composites will not be deployed
    08/01/15 15:49:04 warning: OC4JDeploymentListener.processServerXml File oracle-archive.xml not found in application javasso; composites will not be deployed
    08/01/15 15:49:04 warning: OC4JDeploymentListener.processServerXml File oracle-archive.xml not found in application jmsrouter; composites will not be deployed
    08/01/15 15:49:04 warning: OC4JDeploymentListener.processServerXml File oracle-archive.xml not found in application WSIL-App; composites will not be deployed
    08/01/15 15:49:04 warning: OC4JDeploymentListener.processServerXml File oracle-archive.xml not found in application soa-console; composites will not be deployed
    08/01/15 15:49:04 -------> FabricWebInitializer: parsing D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\deployed-composites\HelloWorldApp\sca_HelloWorld_rev1.0\composite.xml
    08/01/15 15:49:05 -------> FabricWebInitializer: parsing D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\deployed-composites\SOAHelloWorld\soa_Hello_rev1.0\composite.xml
    08/01/15 15:49:05 -------> FabricWebInitializer: parsing D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\deployed-composites\CreditCardValidation\soa_validationForCC_rev1.0\composite.xml
    08/01/15 15:49:06 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    08/01/15 15:49:06 >> modified xmlbean locale class in use
    08/01/15 15:49:06 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    08/01/15 15:49:07 -------> FabricWebInitializer: parsing D:\jinstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\deployed-composites\CreditCardValidation\sca_validationForCC_rev1.0\composite.xml
    2008-1-15 15:49:07 oracle.fabric.FabricMessages warningMBeanAlreadyExists
    warning: An MBean of name "soa-infra:J2EEApplication=CreditCardValidation,J2EEServer=standalone,name="validationForCC",revision=1.0,type=SCAComposite" already exists. Unable to create MBean for this composite.
    08/01/15 15:49:07 -------> FabricKernelInitializer init() took 3.203 seconds.
    2008-1-15 15:49:07 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.ws.server.jmx.DualDataSourceConfigObjectMBeanAssociationInfoImpl initializeConfigObjectAndAssociatedMBean
    warning: Config MBean "oracle.as.config:J2EEApplication=soa-infra,WebModule="taskservice",type=WebServicesConfig" is being registered, but it is already registered. It should have been removed when the application was either stopped or undeployed. Examine the errors that resulted when the application was stopped or undeployed.
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:08 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.ws.server.jmx.DualDataSourceConfigObjectMBeanAssociationInfoImpl initializeConfigObjectAndAssociatedMBean
    warning: Config MBean "oracle.as.config:J2EEApplication=soa-infra,WebModule="taskservice",type=WebServicesConfig" is being registered, but it is already registered. It should have been removed when the application was either stopped or undeployed. Examine the errors that resulted when the application was stopped or undeployed.
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.ws.server.jmx.DualDataSourceConfigObjectMBeanAssociationInfoImpl initializeConfigObjectAndAssociatedMBean
    warning: Config MBean "oracle.as.config:J2EEApplication=soa-infra,WebModule="taskqueryservice",type=WebServicesConfig" is being registered, but it is already registered. It should have been removed when the application was either stopped or undeployed. Examine the errors that resulted when the application was stopped or undeployed.
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.ws.server.jmx.DualDataSourceConfigObjectMBeanAssociationInfoImpl initializeConfigObjectAndAssociatedMBean
    warning: Config MBean "oracle.as.config:J2EEApplication=soa-infra,WebModule="taskqueryservice",type=WebServicesConfig" is being registered, but it is already registered. It should have been removed when the application was either stopped or undeployed. Examine the errors that resulted when the application was stopped or undeployed.
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:09 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.ws.server.jmx.DualDataSourceConfigObjectMBeanAssociationInfoImpl initializeConfigObjectAndAssociatedMBean
    warning: Config MBean "oracle.as.config:J2EEApplication=soa-infra,WebModule="usermetadataservice",type=WebServicesConfig" is being registered, but it is already registered. It should have been removed when the application was either stopped or undeployed. Examine the errors that resulted when the application was stopped or undeployed.
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.ws.server.jmx.DualDataSourceConfigObjectMBeanAssociationInfoImpl initializeConfigObjectAndAssociatedMBean
    warning: Config MBean "oracle.as.config:J2EEApplication=soa-infra,WebModule="usermetadataservice",type=WebServicesConfig" is being registered, but it is already registered. It should have been removed when the application was either stopped or undeployed. Examine the errors that resulted when the application was stopped or undeployed.
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    2008-1-15 15:49:10 oracle.j2ee.xml.XMLMessages warningException
    warning: Exception Encountered
    08/01/15 15:49:13 IN NotificationService.startup()
    Ready message received from Oc4jNotifier.
    DefaultServer startup time: 67656 ms.
    DefaultServer started.
    after I deploy end-2-end 105 ch2,I didnot find it on http://localhost:8988/SOAConsole,how can I correct this and deploy my applicaion?
    thanks advance
    lixinzhu
    2008/1/15

    See the SOA tech preview forum
    SOA Suite and OC4J 11g Technology Preview
    In this case, you do not show the server completely started - see the SOA install guide for details on what messages to watch for before deploying your app.
    Heidi.

  • SiteMinder Web Agent integration?

    Has anyone integrated OC4J 10g with SiteMinder for authentication and authorization before? Any documentations I can refer to for configuration and programming?
    Thanks,
    Benjamin

    Hi,
    I'm also figuring out how I can integrate Siteminder 6QMR4 to work with Oracle 10g (9.0.4.3) application server.
    However, my situation is slightly different.
    The 10g OAS version and OS (Suse Linux 9) is not supported by Siteminder.
    So, I have to told that we can install siteminder on a proxy server running a supported Linux OS and covalent Apache server. Then get this proxy server to talk to Oracle HTTP server on my current 10g OAS.
    But I have a feeling this setup will not work.
    Reason being, I'm not sure how to get the OID to sync with the user directory on the siteminder policy server.
    Furthermore, I found out from Metalink note 297880.1 that there is a patch which I need to apply for 10g (9.0.4.1) before siteminder can work. I also can't find a similar patch for 9.0.4.3 nor am I sure if I need to apply this patch if using a proxy server to talk to Oracle HTTP server.
    Can anyone please advise?
    Cheers
    Jimmy

  • OC4J - Can I use PSP in OC4J - How I can call them ?

    In OracleXe I load a PSP ,pl sql server page. I have not a HTTP server page external but OC4J is in JDeveloper. Can I use OC4J as server with PSP to test ?
    Need I a new DAD like Apex ? I have JDeveloper 10.1.3.5.0. I can not find a libray for Pl/Sql Server Pages...
    Thanks
    Jose Galeano

    Hi,
    it requires mod_plsql which is not available n the integrated OC4J of JDeveloper
    Frank

  • Error while creating data source using Oracle Enterprise Manager 10g

    Hi,
    I have deployed my web application developed on OC4J 9.0.4 stand alone (Win2K) to an integrated OC4J version(Solaris) using Oracle Enterprise Manager 10g.
    However, I get an error when I try to create a data source.
    The data source I want to create would have the following parameters (as seen in data-sources.xml on the stand alone version):
         <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="TestDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/TestDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              url="jdbc:oracle:thin:@hostName:1521:test"
              username="user"
              password="password"
              min-connections="5"
              max-connections="20"          
              inactivity-timeout="30"
         />
    When I entered the above data on the Enterprise Manager Data Sources page, I got the following error:
    quote:
    Error saving Data Source Properties. - Entity et="system";ei="0",et="application";ei="48",et="data-sources";ei="167":child:data-sourcechild key:location:jdbc/OracleCoreDS; class:com.evermind.sql.DriverManagerDataSource; already exists in the repository. Resolution: Please check the code base.
    unquote:
    Could somebody tell me what I'm doing wrong ?
    I tried to manually edit the data-sources.xml file but the data source didn't show up on the Enterprise Manager.
    I'm using a new OC4J instance (on the Solaris machine) for my applications. Is the data source error related to this?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

    Thanks for your reply , Steve.
    I noticed that there is a default datasouce on the EM with the following parameters:
    <data-source
              class="com.evermind.sql.DriverManagerDataSource"
              name="OracleDS"
              location="jdbc/OracleCoreDS"
              xa-location="jdbc/xa/OracleXADS"
              ejb-location="jdbc/OracleDS"
              connection-driver="oracle.jdbc.driver.OracleDriver"
              username="scott"
              password="->pwForScott"
              url="jdbc:oracle:thin:@localhost:1521:oracle"
              inactivity-timeout="30"
         />
    The location and xa-location attributes that I use for my "test" data source are the same as the default one. So, could this be the issue?
    What should be the values for location and xa-location attributes from my "test" data source?
    Any help will be greatly appreciated.
    Thanks,
    Shyam

  • Facing issue in configuring soa server in local jdev 11G

    Hi All,
    I am facing an issue in configuring local soa server in jdev 11G. I was trying to do the practice excercises in the local jdev and while configuring soa server followed following steps :-
    1. Configure SOA to install the Integrated OC4J Server
    a. In JDeveloper, select Tools -> Preferences, Run, and then select Integrated OC4J Server.
    b. Next, select Tools -> Configure SOA…
    c. Complete the dialog for your configuration specifying the database location and the SOA schema user name and password
    d. Use the Test button to test the database connection and then click on Ok
    This will take 8-10 minutes to run and when finished will end with "Build Successful."
    In the end I am getting following log file
    [echo] ==Starting standalone oc4j. Check server log D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log.
    [echo] ==Waiting max 420 second(s) for startup of URL http://LAP1-RBAGRI-IN:8988...
    [echo]
    * Configuring SOA Infrastructure has FAILED. *
    * Please check following logs for possible cause: *
    * D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\install\tmp\soa-infra-java.log
    * D:\FMW\JdevInstance\system11.1.1.0.22.47.96\o.j2ee\embedded-oc4j\log\startsoa.log
    [echo] ==Stopping oc4j standalone...
    BUILD SUCCESSFUL
    Total time: 7 minutes 11 seconds

    Hi Heidi,
    Thanks a lot for your response. The solution you provided worked for me. I am able to configure SOA now and the SOAConsole is coming up properly.
    One issue I am facing while deploying my application . The application is getting deployed properly but it does not show up in the console if I look at Default server console I can see this error message :-
    Incorrect db schema version.
    The database schema version "11.1.6" from the database does not match the version "11.1.7" expected by the server.
    The database schema for your SOA installation was not properly installed or your installation is using a database schema installed for a prior release.
    The database schema currently in place has probably been configured for a previous release; please re-install the database schema and try to start the server again.
    Though I have configured the database locally just like mentioned in the training material. Please let me know if you have any thoughts on this.
    Regards,
    Ranjana

  • Configuring Security With 11g

    Hi,
    I have just started with the 11g version and couldn't find the Web service manager component.
    So how are the security policies to be defined which were earlier handled by the gateway and the agents?
    Moreover earlier there was the application server console from where the datasources,jms destination,adapters etc were configured?Which console do we use with the present installation?
    There was also a convenient way to see and test the webservices from this application server console,how all these can be accessed with the newer version?
    Other than the developer's guide for the soa suite 10g are there any other documents and sample codes to be released for the bpel,mediator and the bam components?
    Thanks.

    Hello, I guess security will be done with the Oracle Policy Manager. Check the developer guide (section 1.3.1.6) and take a look at the http://www.oracle.com/technology/products/ias/bpel/techpreview/s291362-whats-new-in-oracle-soa-suite.pdf slide 27. The AS isn't available yet so that's why soa development is done against an integrated oc4j (I guess?). In the presentation you can also see (slide 30) that monitoring will be available through the Fusion Middleware Contol.

  • Customized orion-application.xml

    Configuration:
    Jdeveloper 9i Release 2 Production Version
    I have a customized orion-application.xml file under <project-directory>/src/META-INF directory. I would like to package this along with my application.
    How do I include it in my Deployment Profile (.ear)?
    TIA,
    Ranga

    Another OTN thread on this topic:
    http://forums.oracle.com/forums/message.jsp?id=988554
    The middle of that thread (read the beginning to get the full context) has an answer relevant to your question here.
    ------ begin quoted --------------------------------------------------------------------
    Hello,
    JDeveloper 9.0.2 is limited in this area unfortunately. For the use case you are describing, there are two work-arounds:
    1) Use an Ant build file (or any other script) as you mentioned.
    2) Do your testing in the embedded OC4J server instead of an external OC4J server. You should then be able to make manual changes to the orion-application.xml file used by the embedded server -- it's in the Workspace directory and has a name like "Workspace1-oc4j-app.xml".
    We were expecting users to use Oracle Enterprise Manager (OEM) to configure production J2EE applications, since JDeveloper is a development tool whereas OEM is the real server administration tool. For some time, we've debated internally on the JDev team whether that kind of feature separation across Oracle products makes sense. It's clear that developers like you need to perform some administration tasks in the course of testing a production app, so we focused on allowing that for JDeveloper's integrated OC4J server ("embedded OC4J") and left the administration of an external OC4J server to OEM.
    For future JDeveloper releases, we will probably have an increasing level of direct support for OC4J administration, but to what extent we will pursue that is still in discussion.
    For 9.0.3, I've filed bug 2392697 to track the issue you are reporting (with reference to this OTN thread) to make sure that it is resolved properly for the 9.0.3 release.
    ------ end quoted -----------------------------------------------------------------------

Maybe you are looking for

  • How do I get all my music back on my iphone 4?

    Cracked the screen on my iphone 4, went to apple shop, they changed it (lovely) and restored all the settings from icloud, all went very well, except I noticed that the music doesn't get restored from itunes Match. In fact it was completely empty. Yo

  • Printing from Photoshop using AppleScript

    I am working on a project that will automatically print an image that is moved to a folder. Right now, I have the following working: the image from my camera saves to a folder on my desktop, then applescript opens the image in Photoshop and runs an a

  • 1TB Toshiba Iomega external is restarting itself during boot-up phase.

    I have a 21inch iMac with a 1TB Toshiba iomega HDD for time machine and backup for other files. It's been working great for a while, but usually when i boot up now while its connected it restarts itself and keeps doing it until the imac is fully load

  • Video streaming without iPhone's internal player

    Hi everyone, We publish training videos and have the problem that we need to restrict the player to only play/pause. We have tried every player, we are now publishing videos via Adobe Captivate (an eLearning app) and it works fantastic for us on almo

  • How do I set my preference to DRAFT on Officejet 6500A Plus?

    Having trouble finding where to set default print quality preference to DRAFT.  Thanks. This question was solved. View Solution.