Oc4j tp4
Hi all
i am useing tp4 and just installed oc4j tp4.
here comes an error code when i deploy my application
what am i missing ?
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
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. #### May 23, 2008 3:31:47 PM
Deployment Failed
thanks a lot
yes it works
my app is a simple page with one commandbutton.
my oc4j standalone tp4 resides on the remote computer with windows2003 server.
i have installed oc4j without problems and the connection is ok (says "Success" when i press test).
Error occures when i deploy app.
Similar Messages
-
NullPointerException in OC4J TP4 persistence unit predeployment
Hi,
I have an ee5 application that I've been developing on jboss/hibernate, and I'm now trying to deploy it to oc4j/toplink. When I deploy it to oc4j, the deployment fails with this stacktrace:
oracle.oc4j.persistence.PersistenceException: [eTimesheet-ear:C:\oc4j\oc4j-11.1.1.0.0_tp4\j2ee\home\applications\eTimesheet-ear\eTimesheet-ejb.jar] - Exception creating EntityManagerFactory using PersistenceProvider class oracle.toplink.PersistenceProvider for persistence unit eTimesheet.
at oracle.oc4j.persistence.PersistenceException.exceptionCreatingEntityManagerFactory(PersistenceException.java:113)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:178)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createPersistenceUnit(PersistenceUnitManagerImpl.java:140)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:80)
at oracle.oc4j.persistence.ServerPersistenceUnitManagerImpl.initialize(ServerPersistenceUnitManagerImpl.java:17)
at com.evermind.server.ejb.EJBPackageDeployment.initializePersistenceUnitManager(EJBPackageDeployment.java:1010)
at com.evermind.server.ejb.EJBPackageDeployment.preLoadClasses(EJBPackageDeployment.java:1004)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:441)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:262)
at com.evermind.server.Application.setConfig(Application.java:538)
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)
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:885)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 4 (11.1.1.0.0) (Build 080418)): oracle.toplink.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [eTimesheet] failed.
Internal Exception: java.lang.NullPointerException
at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:790)
at oracle.toplink.PersistenceProvider.createContainerEntityManagerFactory(PersistenceProvider.java:146)
at oracle.oc4j.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:173)
... 18 more
Caused by: Exception [TOPLINK-28018] (Oracle TopLink - 11g Technology Preview 4 (11.1.1.0.0) (Build 080418)): oracle.toplink.exceptions.EntityManagerSetupException
Exception Description: Predeployment of PersistenceUnit [eTimesheet] failed.
Internal Exception: java.lang.NullPointerException
at oracle.toplink.exceptions.EntityManagerSetupException.predeployFailed(EntityManagerSetupException.java:198)
... 21 more
Caused by: java.lang.NullPointerException
at oracle.toplink.internal.ejb.cmp3.metadata.accessors.EmbeddedIdAccessor.processEmbeddableClass(EmbeddedIdAccessor.java:115)
at oracle.toplink.internal.ejb.cmp3.metadata.accessors.EmbeddedAccessor.process(EmbeddedAccessor.java:259)
at oracle.toplink.internal.ejb.cmp3.metadata.accessors.EmbeddedIdAccessor.process(EmbeddedIdAccessor.java:69)
at oracle.toplink.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processAccessor(ClassAccessor.java:570)
at oracle.toplink.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processAccessorFields(ClassAccessor.java:583)
at oracle.toplink.internal.ejb.cmp3.metadata.accessors.ClassAccessor.processAccessors(ClassAccessor.java:609)
at oracle.toplink.internal.ejb.cmp3.metadata.accessors.ClassAccessor.process(ClassAccessor.java:510)
at oracle.toplink.internal.ejb.cmp3.metadata.MetadataProcessor.processAnnotations(MetadataProcessor.java:279)
at oracle.toplink.internal.ejb.cmp3.persistence.PersistenceUnitProcessor.processORMetadata(PersistenceUnitProcessor.java:266)
at oracle.toplink.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:747)
... 20 more
I probably shouldn't jump to conclusions, but since this is a nullpointer exception and my code runs ok on hibernate, I suspect this is a bug in toplink.
Thoughts?I turned on FINEST logging, and it appears that this exception is thrown when processing the following class (trimmed irrelevant parts):
@Entity
@Table(name = "PS_HRLY_APPRVR_VW")
@NamedQueries({ ... })
public class ApproverAssignment implements Serializable
@Embeddable
public static class ApproverAssignmentPK implements Serializable
@Embedded
@AttributeOverride(name = "employeeId", column =
@Column(name = "emplid", updatable = false))
private EmployeeId workerId;
@Embedded
@AttributeOverride(name = "employeeId", column =
@Column(name = "supervisor_id", updatable = false))
private EmployeeId approverId;
@Override
public int hashCode()
@Override
public boolean equals(Object obj)
@EmbeddedId
private ApproverAssignmentPK approverAssignmentPK = new ApproverAssignmentPK();
...getters/setters
Also, here's the source code for EmployeeId:
@Embeddable
public class EmployeeId implements Serializable
private static final long serialVersionUID = 1L;
@Length(max=10, min=9)
private String employeeId;
//for JPA
protected EmployeeId()
protected EmployeeId(String employeeId)
this.employeeId = employeeId;
public String getEmployeeId()
return employeeId;
@Override
public int hashCode()
@Override
public boolean equals(Object obj)
@ConstructsFromString
public static EmployeeId valueOf(String employeeId)
Preconditions.checkNotNull(employeeId, "employeeId is null");
return new EmployeeId(employeeId);
Maybe toplink doesn't like nested @Embeddables? I thought they were legal, but maybe I'm wrong.
Thanks -
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 FailedAre 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 ;-) -
Hi everyone,
We are developing application on JDeveloper11 TP2. Now I am trying to run it on the latest OC4J TP4. Following instructions from: http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
and modifying default-web-site.xml I succeeded to deploy and run simple "Hello World" application and with it everything is fine. Our application that we are developing is much more complex (ADF Faces, ADF BC). I have deployed it and started it with success but when I try to access it from browser I receive internal server error with following server log:
08/07/03 11:35:29 ADFc: BindingContext is not present, not using ADFm APIs for DataControlFrames.
08/07/03 11:35:29 ADFc: Controller caching of MDS metadata resources ENABLED.
08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
08/07/03 11:35:29 ADFc: Loading bootstrap metadata from '/WEB-INF/adfc-config.xml'.
08/07/03 11:35:29 WARNING: ADFc: Duplicate bootstrap configuration file specified:'/WEB-INF/adfc-config.xml'.
08/07/03 11:35:50 WARNING: tee: Servlet error java.lang.ClassCastException:oracle.adf.share.security.providers.jazn.JAZNSecurityContext
at oracle.adf.share.ADFContext.getSecurityContext(ADFContext.java:276)
at oracle.adf.share.http.ServletADFContext.initialize(ServletADFContext.java:357)
at oracle.adf.share.http.ServletADFContext.initThreadContext(ServletADFContext.java:333)
at oracle.adf.model.servlet.HttpBindingRequestHandler.initADFContext(HttpBindingRequestHandler.java:60)
at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:103)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:170)
at com.evermind.server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:15)
at oracle.adfinternal.view.faces.webapp.rich.SharedLibraryFilter.doFilter(SharedLibraryFilter.java:135)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:69)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
at oracle.adfinternal.view.faces.activedata.ADSFilter.doFilter(ADSFilter.java:74)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:284)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._invokeDoFilter(TrinidadFilterImpl.java:208)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:165)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:138)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:583)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:334)
at com.evermind.server.http.HttpRequestHandler.doDispatchRequest(HttpRequestHandler.java:942)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:843)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:658)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:626)
at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:417)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:189)
at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:163)
at oracle.oc4j.network.ServerSocketReadHandler$ClientRunnable.run(ServerSocketReadHandler.java:275)
at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:237)
at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:29)
at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:877)
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)
What can be the reason for this and how can I solve it.
Thanks!!!Hi again,
as you suggested I tried with TP4 and it ended with success. I haven't used standalone oc4j because TP4 doesn't have adf runtime installer. Instead I have used embedded oc4j in standalone mode. First after deploying app I got missing class error which I solved with Missing library error while deploying the ADFBC application
After that application pages are accessible but it is TP4 version of app and lot of things don't work as should. -
Can Jdeveloper TP4 deploy apps to OC4J standalone TP4
I tried to have JDeveloper TP4 deply my ADF web app to the latest OC4J standalone version but I get the following error:
Caused by: java.lang.InstantiationException: Import was not resolved for riscs.root:0.0.0: shared library "adf.oracle.domain" could not be found.
at com.evermind.server.ApplicationStateRunning.initClassLoader(ApplicationStateRunning.java:1374)
at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:179)
at com.evermind.server.Application.setConfig(Application.java:538)
Before I spend alot of time debugging is this currently supported or can I only use the OC4J shipped with JDeveloper?
Thanks.The sad part about this thread is that we seem to be talking about completely separate products, like they are from different companies. I have not been given the secret decoder ring to determine which parts of the suite really work together or when the magic convergence will occur. From a client/customer perspective these are part of an Oracle suite of applications, and I can assure you that clients have spent significant amounts of money and have an expectation (which was sold to them) that that all parts of the suite work together "seamlessly".
I think everyone using TP releases understands and accepts a certain amount bugs and integration issues, however I have been working with 11G components for almost a year and I sometimes wonder if Oracle really understands the stress created on consultants when the "right-hand" does not seem to notice what the "left-hand" is doing.
Our project requires JSF/ADFFaces, Rules, XML, WebServices, ORM(Toplink/EclipseLink?), JEE5 Container, SVN version control integration at a minumum. It has been a monumental effort to create even prototypes to show our client progress toward the vision that was sold. We are continually being told that all will be good when all the products become production. This is a very big risk where failure is paid for by consulting not product. -
Mapviewer servlet crash on OC4J 11g TP4
Hi!
Is it normal or not? If I try to deploy mapviewer.ear (10 or 11 pre) on OC4J 11G TP4 it make exception on
http://.../mapviewer/faces/home.jspx
Is it planing compatibility for these Oracle products? And on which release?Mapviewer is not supported on OC4J 11g TP4.
Please note that the going forward position for Oracle Fusion Middleware R11 is that OC4J is being replaced with WebLogic Server.
-steve- -
Can Standalone OC4j 11g TP4 be runned on RedHat Linux ?
Hi , i have a web application(ADF/ADF Faces) developed with JDev 11g TP4. Iwant to install and run it on Standalone OC4J 11g, under Linux RedHat OS.
In the OC4j release note it's written "Requires SUN JDK 5.0.11". However i want to ensure that the only thing i need is to install a specific JDK version.
Thanks in advance ,
KrasimirIBM JRE wont work with OC4J. Install Sun JRE1.3. It works fine for us.
-
Help: How can I deploy my [TP4] Applications in Simple Steps using OC4J 11
deploy apps to OC4J standalone TP4
Hi,
I installed Oracle Continer OC4J 11 and Started OK
but with this warning " J2EE JNDI-00002"
Now : How can I deploy my Application pls in Simple Steps?
is this link below Related to Version [TP4] or what ?
http://www.oracle.com/technology/products/jdev/tips/muench/oc4j11gtp/index.html
thanks
ForakoraRead this thread:
Can Jdeveloper TP4 deploy apps to OC4J standalone TP4 -
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
SunilFrank
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 -
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. -
Jdeveloper 11g TP4: Connection refused error for Embedded Oc4j
Hi,
I am getting following error whenever trying to deploy any application in embedded oc4j or whenever try to connect with embedded server on Resource palette.
Error while getting remote MBeanServer for url: ormi://127.0.0.1:23891/default:
Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException
I am using Jdeveloper 11g TP 4 on windows XP.
I have checked other links too related to above error and have checked following:
Proper host name entry in host file
No spaces in Jdveleoper installed directory name
Proxy setting in Jdeveloper: excluded localhost and ip address
Will be very thankful if anyone can help me to resolve this issue.
Thanks in advanceDon't spend to much time on this. JDev 11g is production and there will be no OC4J 11g!
--olaf -
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 -
TP4- Oc4j Standalone app server connection
Hi,
I have completed the SOA configuration within Jdeveloper 11.1.1.0.0, and now I would want to deploy applications.For this I am trying to create a Applicaiton server connection from the resource palette.
The parameters are as follows : -
Connections Name : AppServerConnection1
Connections Type : Standalone OC4J 11g
Username : oc4jadmin
Host name : localhost
RMI Port : 23791
But the connections to the server fails with the following error...
Error while getting remote MBeanServer for url: ormi://localhost:23791/default:
Error reading application-client descriptor: Error communicating with server: Connection refused: connect; nested exception is:
javax.naming.CommunicationException: Connection refused: connect [Root exception is java.net.ConnectException: Connection refused: connect]
Could any1 help me out on this please?Hey Juan,
127.0.0.1 localhost is the only entry within c:\WINDOWS\system32\drivers\etc\hosts,bt I figured out the prob was due to a wrng RMI port.
Hence right now I have configured it to 12401 and the connection works fine.
But within <HumanTakkName>.task-->Assigment and Routing Policy-->+-->Add Participant Type--Browse GroupIds-->Identity Lookup :-
I find that the Realm dropdown is empty.(even If the application server
connection is configured properly)
Coz of which I am not able to compile any bpel projects with human tasks in it..
Kindly advise if I have missed out any configurations...
Rgds,
Akshatha -
Jdev tp4: deploying another .war to embedded oc4j
Hi,
it is possible to deploy another .war to embedded oc4j (started throughout Jdeveloper), so this another web app becomes available at the same time as current work space ?
If so, then how ?No.
Only one app is supported by the embedded oc4j. You can start the stand alone version of oc4j, there you can deploy more applications.
Timo -
Deploy ADF application to standalone OC4J 11g
Hi people!
I found some threads into the forums that deal with the subject but I did not find any solution, so I post a new thread...
In fact, I'd like to deploy a "war" on a standalone oc4j 11g.
The application was built with jdev 11g TP4.
I can't use the ADF runtime Installer of jdev, so I have to copy all the files by myself, but the problem is that I do not find the files in jdev11/BC4J/lib/ that I have to copy in oc4j/BC4J/lib...
There is no adfcm.jar, bc4jdomorcl.jar, etc ...
Is it normal ? Could someone indicate me how to configure the standalone oc4j 11g in order to deploy my "war" ?
Thanks a lot,
romain.
Edited by: Romain Testu on 24 sept. 2008 09:28Hi,
TP4 doesn't have a standalone OC4J.
Try to start embedded oc4j from jdeveloper in standalone mode.
see e.g. Re: Can Jdeveloper TP4 deploy apps to OC4J standalone TP4
BTW: The production release 11g is announced within next week and this release will contain Weblogic Server 10gR3 instead of OC4J.
JDeveloper 11g release this month?
regards
Peter
Maybe you are looking for
-
Hi, i want to access KONV which is cluster table and the field is KWERT. The thing is that i want to access it by taking customers from KNVV and giving it to VBRK (SALES Table). Now in VBRK i want to have a selection on FKDAT to get a list of Custome
-
Since the introduction of iCloud, I've had this problem with the Apple ID. I've tried to "manage my Apple ID" but clicking the box to "make Apple ID and primary email address one and the same" but it just won't work. I'd given up and just ignored eve
-
I OVI now net based - do i need to install?
I've just bought a 6700 slide. There is no disk with the phone for software however I found OVI on the net and became a member. I can add a contact on line and it appears on my phone - therefore that side is working well. When trying to sync outlook
-
Why is Apple so greedy that I no longer have YouTube?
This is bs.
-
Hello, I have looked all over the forums, google etc. and not found any reliable and working solution to be able to retrieve the stream bitmapdata from RTMP or HTTPDynamicStreaming source. Please find the details below. I have tried everything: NetS