JDev 9.0.3.1 deployment to OC4J 10g standalone possible
Hello,
we have problems using JDev 9.0.3.1 to deploy a simple test-servlet to OC4J 10g 9.0.4 (PDK-prebundled) standalone.
So is the question is, wether this should be in principle possible?
When yes, how must I configure the deployment descriptor resp. what modificatios must i apply to the "OC4J Deployment command line". I have noticed that the admin.jar files on PC and OC4J-server are NOT identical:
-------from the Manifest from JDev9031-----------------
Manifest-Version: 1.0
Created-By: 1.3.1 (Sun Microsystems, Inc. )
Main-Class: com.evermind.client.orion.Oc4jAdminConsole
Class-Path: oc4j.jar
Name: "Oracle Console-based Admin"
Implementation-Title: "com.evermind.client"
Implementation-Version: "9.0.4.0.0"
Implementation-Vendor: "Oracle Corporation, Inc."
-------form the Manifest from OC4J---------------------
Manifest-Version: 1.0
Created-By: 1.3.1 (Sun Microsystems, Inc. )
Main-Class: com.evermind.client.orion.Oc4jAdminConsole
Class-Path: oc4j.jar
Name: "Oracle Console-based Admin"
Implementation-Title: "com.evermind.client"
Implementation-Version: "9.0.4.0.0"
Implementation-Vendor: "Oracle Corporation, Inc."
So I have tried several combinations with the admin.jar and oc4j.jar from the
OC4J-server in the PC for use with the JDeveloper, but I got only error messages.
This problem might also be an issue with the JDKs:
The Jdeveloper is running on a Windows2000-PC; java version "1.3.1_02". The OC4J 10g is running on a Sun Sparc with Solaris 8, On this server /usr/local/jdk/j2sdk1.4.1_07/bin/java shows a version "1.4.1_07".
Regards
Michael
Thany you Steve,
I think you are right. I have had created a new directory under JDeveloper and copied admin.jar and oc4j.jar (because admin.jar consist only of an MF-File, that points to the class com.evermind.client.orion.Oc4jAdminConsole which is included in oc4j.jar) from OC4J 10g. The new connection points to this directory.
But I am not able to include this oc4j.jar-version of OC4J in the classpath of the JDeveloper. This should be possible in the deployment descriptor. Under Platform/OC4J Standalone, there is a tab. "Deploying EAR" with the entry "OC4J Deployment command line"
${java} ${jvm.max.heap.size} -jar ${admin.jar}
${oc4j.url} ${username} ${password}
-deploy -file ${ear.file}
-deploymentName ${j2ee.app.name}
Still I got the following error message from the log-window of JDev 9031
----------8<------------------8<-------------------
Invoking OC4J admin tool...
C:\Programme\Oracle\JDeveloper9031\jdk\jre\bin\javaw.exe -jar C:\Programme\Oracle\JDeveloper9031\Condor\admin.jar ormi://c3po.isae.condor-versicherungen.de:23791 admin **** -deploy -file C:\Programme\Oracle\JDeveloper9031\jdev\mywork\244_19_Aktion\TestDeploy\deploy\C3PO_OC4J_9_0_4-PDK3.ear -deploymentName 2ndC3PO_OC4J_9_0_4-PDK
Error: javax.management.NotCompliantMBeanException
java.lang.NoClassDefFoundError: javax.management.NotCompliantMBeanException
com.evermind.server.ThreadState com.evermind.server.ThreadState.getCurrentState()
ThreadState.java:206
void com.evermind.server.rmi.RMIConnection.checkServletCaller()
RMIConnection.java:3441
........and so on................................
----------8<------------------8<-------------------
Has someone an idea. Otherwise, I must "upgrade" to JDev 9.0.4 as suggested by METALINK....
Best Regards
Michael
Similar Messages
-
Error in deploying EJB to oc4j 10g standalone
Trying to deploy a simple EJB created with JDeveloper (version - 9.0.5.0.0 Build 1375 ) wizard for Dept table ( just two columns). When I try to deploy it to stand alone OC4J ( 10g ) version - Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview (build 030829.1701)
I get following error: Any thoughts?
---- Deployment started. ---- Oct 8, 2003 2:38:05 PM
Target platform is Standalone OC4J (AppServerConnection1).
Wrote EJB JAR file to D:\JDev10g\jdev\mywork\Application2\Model\deploy\ejb2.jar
Wrote EAR file to D:\JDev10g\jdev\mywork\Application2\Model\deploy\ejb2.ear
Invoking OC4J admin tool...
D:\JDev10g\jdk\jre\bin\javaw.exe -jar D:\JDev10g\j2ee\home\admin.jar ormi://localhost/ admin **** -deploy -file D:\JDev10g\jdev\mywork\Application2\Model\deploy\ejb2.ear -deploymentName ejb2
Notification ==> Application Deployer for ejb2 STARTS [ 2003-10-08T14:38:07.383EDT ]
Notification ==> Undeploy previous deployment
Notification ==> Copy the archive to D:\oc4j10g\j2ee\home\applications\ejb2.ear
Notification ==> Unpacking ejb2.ear
Notification ==> Done unpacking ejb2.ear
Notification ==> Initialize ejb2.ear begins...
Notification ==> Initialize ejb2.ear ends...
Notification ==> Processing EJB module ejb2.jar
Notification ==> Compiling EJB generated code
Notification ==> ERROR
com.evermind.compiler.CompilationException: Syntax error in source
at com.evermind.compiler.FileLinkedCompilation.loadObjects(FileLinkedCompilation.java:201)
at com.evermind.compiler.FileLinkedCompilation.run(FileLinkedCompilation.java:142)
at java.security.AccessController.doPrivileged(Native Method)
at com.evermind.compiler.FileLinkedCompiler.compile(FileLinkedCompiler.java:63)
at com.evermind.server.ejb.compilation.Compilation.compileClasses(Compilation.java:430)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:248)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:414)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:132)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:76)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.internalDeploy(DefaultApplicationServerAdministrator.java:378)
at com.evermind.server.administration.DefaultApplicationServerAdministrator.deploy(DefaultApplicationServerAdministrator.java:278)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:140)
at com.evermind.server.rmi.RMICallHandler.run(RMICallHandler.java:54)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:199)
at java.lang.Thread.run(Thread.java:534)
Exit status of OC4J admin tool (-deploy): 0
Elapsed time for deployment: 5 seconds
---- Deployment finished. ---- Oct 8, 2003 2:38:10 PMThis is ths stack trace on the console. It seems it is looking for Toplink CMP. I did not do any Toplink configuration unless Toplink CMP is default. Do I need to switch to native CMP. If yes how?
thanks
Ravi
D:\oc4j10g\j2ee\home>java -jar oc4j.jar
03/10/14 12:27:05 Node started with id=25939003222084
03/10/14 12:27:08 Auto-deploying ../../home/applications/OrderManagement.jar (Class 'orderMgmt.Order
Management' had been updated)... done.
03/10/14 12:27:59 Auto-deploying ejb1.jar (No previous deployment found)... java.lang.RuntimeExcepti
on: Exception [EJB - 10036]: Error during code generation: [Exception [TOPLINK-14028] (TopLink (Orac
le OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentExc
eption
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].]
server stacktrace is:
Local Exception Stack:
Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].
at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
s(Oc4jCodeGenPlatform.java:623)
at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
ndMethods(CmpCodeGenPlatform.java:291)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
nPlatform.java:745)
at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
reteClassGenerator.java:33)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
nagerBase.java:176)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
istenceManager.java:119)
at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:00 at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.errorDuringCodeGen(EJ
BExceptionFactory.java:399)
03/10/14 12:28:00 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubcla
ss(PersistenceManagerBase.java:182)
03/10/14 12:28:00 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanS
ubclass(Oc4jPersistenceManager.java:119)
03/10/14 12:28:00 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
332)
03/10/14 12:28:00 at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:
227)
03/10/14 12:28:00 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
03/10/14 12:28:00 at com.evermind.server.Application.postInit(Application.java:635)
03/10/14 12:28:00 at com.evermind.server.Application.setConfig(Application.java:206)
03/10/14 12:28:00 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1654)
03/10/14 12:28:00 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1621)
03/10/14 12:28:00 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
erver.java:1594)
03/10/14 12:28:00 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
26)
03/10/14 12:28:00 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
er.java:93)
03/10/14 12:28:00 at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:00 caught exception notifying PPMs operation[GENERATE_CODE]: Exception [EJB - 10036]:
Error during code generation: [Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3)
Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].]
server stacktrace is:
Local Exception Stack:
Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].
at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
s(Oc4jCodeGenPlatform.java:623)
at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
ndMethods(CmpCodeGenPlatform.java:291)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
nPlatform.java:745)
at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
reteClassGenerator.java:33)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
nagerBase.java:176)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
istenceManager.java:119)
at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
Dept_RemoteEntityBeanWrapper2.java:408: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class Dept_RemoteEntityBeanWrapper2
Dept_ConcreteSubClass0 object;
^
DeptLocal_LocalEntityBeanWrapper0.java:401: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocal_LocalEntityBeanWrapper0
Dept_ConcreteSubClass0 object;
^
Dept_RemoteEntityBeanWrapper2.java:60: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class Dept_RemoteEntityBeanWrapper2
response = ((Dept_ConcreteSubClass0)context.getBean()).getDeptno();
^
Dept_RemoteEntityBeanWrapper2.java:147: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class Dept_RemoteEntityBeanWrapper2
((Dept_ConcreteSubClass0)context.getBean()).setDeptno( argument0);
^
Dept_RemoteEntityBeanWrapper2.java:218: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class Dept_RemoteEntityBeanWrapper2
response = ((Dept_ConcreteSubClass0)context.getBean()).getDname();
^
Dept_RemoteEntityBeanWrapper2.java:289: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class Dept_RemoteEntityBeanWrapper2
((Dept_ConcreteSubClass0)context.getBean()).setDname( argument0);
^
Dept_RemoteEntityBeanWrapper2.java:422: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class Dept_RemoteEntityBeanWrapper2
this.object = (Dept_ConcreteSubClass0)context.object;
^
DeptHome_RemoteEntityHomeWrapper3.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptHome_RemoteEntityHomeWrapper3
Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
^
DeptHome_RemoteEntityHomeWrapper3.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptHome_RemoteEntityHomeWrapper3
Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
^
DeptHome_RemoteEntityHomeWrapper3.java:69: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptHome_RemoteEntityHomeWrapper3
bean = (Dept_ConcreteSubClass0)context.getBean();
^
DeptHome_RemoteEntityHomeWrapper3.java:434: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptHome_RemoteEntityHomeWrapper3
return (EntityBean) new Dept_ConcreteSubClass0();
^
DeptLocal_LocalEntityBeanWrapper0.java:60: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocal_LocalEntityBeanWrapper0
response = ((Dept_ConcreteSubClass0)context.getBean()).getDeptno();
^
DeptLocal_LocalEntityBeanWrapper0.java:141: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocal_LocalEntityBeanWrapper0
((Dept_ConcreteSubClass0)context.getBean()).setDeptno( argument0);
^
DeptLocal_LocalEntityBeanWrapper0.java:212: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocal_LocalEntityBeanWrapper0
response = ((Dept_ConcreteSubClass0)context.getBean()).getDname();
^
DeptLocal_LocalEntityBeanWrapper0.java:283: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocal_LocalEntityBeanWrapper0
((Dept_ConcreteSubClass0)context.getBean()).setDname( argument0);
^
DeptLocal_LocalEntityBeanWrapper0.java:415: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocal_LocalEntityBeanWrapper0
this.object = (Dept_ConcreteSubClass0)context.object;
^
DeptLocalHome_LocalEntityHomeWrapper1.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocalHome_LocalEntityHomeWrapper1
Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
^
DeptLocalHome_LocalEntityHomeWrapper1.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocalHome_LocalEntityHomeWrapper1
Dept_ConcreteSubClass0 bean = (Dept_ConcreteSubClass0)ctx.object;
^
DeptLocalHome_LocalEntityHomeWrapper1.java:69: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocalHome_LocalEntityHomeWrapper1
bean = (Dept_ConcreteSubClass0)context.getBean();
^
DeptLocalHome_LocalEntityHomeWrapper1.java:370: cannot resolve symbol
symbol : class Dept_ConcreteSubClass0
location: class DeptLocalHome_LocalEntityHomeWrapper1
return (EntityBean) new Dept_ConcreteSubClass0();
^
20 errors
Error compiling D:\oc4j10g\j2ee\home\applications\ejb1/ejb1.jar: Syntax error in source
03/10/14 12:28:04 java.lang.RuntimeException: PM generated class Dept_ConcreteSubClass0not found: De
pt_ConcreteSubClass0
03/10/14 12:28:04 at com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcre
teBeanClass(EntityDescriptorImpl.java:131)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jDescriptorBuilder.buildDescripto
rPostCodeGen(Oc4jDescriptorBuilder.java:64)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildEntityDes
criptorsPostCodeGen(DescriptorBuilder.java:115)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.initPostCod
eGen(EntityDescriptorImpl.java:369)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.getConcrete
BeanClass(EntityDescriptorImpl.java:148)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.EJBFactory.initializePrimaryKeyFields(EJB
Factory.java:335)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.EJBFactory.<init>(EJBFactory.java:52)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jEJBFactory.<init>(Oc4jEJBFactory
.java:20)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.createEJBFact
ory(Oc4jPersistenceManager.java:666)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.preDeploy(Persiste
nceManagerBase.java:102)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.postInit(Oc4j
PersistenceManager.java:152)
03/10/14 12:28:04 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
338)
03/10/14 12:28:04 at com.evermind.server.ejb.EJBPackageDeployment.notifyPMs(EJBPackageDeployme
nt.java:1106)
03/10/14 12:28:04 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1758)
03/10/14 12:28:04 at com.evermind.server.Application.postInit(Application.java:635)
03/10/14 12:28:04 at com.evermind.server.Application.setConfig(Application.java:206)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1654)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1621)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
erver.java:1594)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
26)
03/10/14 12:28:04 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
er.java:93)
03/10/14 12:28:04 at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:04 caught exception notifying PPMs operation[POSTINIT]: PM generated class Dept_Concr
eteSubClass0not found: Dept_ConcreteSubClass0
03/10/14 12:28:04 Auto-deploying deptejb1.jar (No previous deployment found)... java.lang.RuntimeExc
eption: Exception [EJB - 10036]: Error during code generation: [Exception [TOPLINK-14028] (TopLink (
Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.1654)): oracle.toplink.ejb.Deploymen
tException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].]
server stacktrace is:
Local Exception Stack:
Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].
at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
s(Oc4jCodeGenPlatform.java:623)
at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
ndMethods(CmpCodeGenPlatform.java:291)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
nPlatform.java:745)
at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
reteClassGenerator.java:33)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
nagerBase.java:176)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
istenceManager.java:119)
at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.errorDuringCodeGen(EJ
BExceptionFactory.java:399)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubcla
ss(PersistenceManagerBase.java:182)
03/10/14 12:28:04 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanS
ubclass(Oc4jPersistenceManager.java:119)
03/10/14 12:28:04 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
332)
03/10/14 12:28:04 at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:
227)
03/10/14 12:28:04 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
03/10/14 12:28:04 at com.evermind.server.Application.postInit(Application.java:635)
03/10/14 12:28:04 at com.evermind.server.Application.setConfig(Application.java:206)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1654)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1621)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
erver.java:1594)
03/10/14 12:28:04 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
26)
03/10/14 12:28:04 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
er.java:93)
03/10/14 12:28:04 at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:04 caught exception notifying PPMs operation[GENERATE_CODE]: Exception [EJB - 10036]:
Error during code generation: [Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3)
Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].]
server stacktrace is:
Local Exception Stack:
Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].
at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
s(Oc4jCodeGenPlatform.java:623)
at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
ndMethods(CmpCodeGenPlatform.java:291)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
nPlatform.java:745)
at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
reteClassGenerator.java:33)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
nagerBase.java:176)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
istenceManager.java:119)
at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
DeptLocal_LocalEntityBeanWrapper4.java:401: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocal_LocalEntityBeanWrapper4
Dept_ConcreteSubClass1 object;
^
Dept_RemoteEntityBeanWrapper6.java:408: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class Dept_RemoteEntityBeanWrapper6
Dept_ConcreteSubClass1 object;
^
DeptLocal_LocalEntityBeanWrapper4.java:60: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocal_LocalEntityBeanWrapper4
response = ((Dept_ConcreteSubClass1)context.getBean()).getDeptno();
^
DeptLocal_LocalEntityBeanWrapper4.java:141: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocal_LocalEntityBeanWrapper4
((Dept_ConcreteSubClass1)context.getBean()).setDeptno( argument0);
^
DeptLocal_LocalEntityBeanWrapper4.java:212: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocal_LocalEntityBeanWrapper4
response = ((Dept_ConcreteSubClass1)context.getBean()).getDname();
^
DeptLocal_LocalEntityBeanWrapper4.java:283: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocal_LocalEntityBeanWrapper4
((Dept_ConcreteSubClass1)context.getBean()).setDname( argument0);
^
DeptLocal_LocalEntityBeanWrapper4.java:415: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocal_LocalEntityBeanWrapper4
this.object = (Dept_ConcreteSubClass1)context.object;
^
DeptHome_RemoteEntityHomeWrapper7.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptHome_RemoteEntityHomeWrapper7
Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
^
DeptHome_RemoteEntityHomeWrapper7.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptHome_RemoteEntityHomeWrapper7
Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
^
DeptHome_RemoteEntityHomeWrapper7.java:69: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptHome_RemoteEntityHomeWrapper7
bean = (Dept_ConcreteSubClass1)context.getBean();
^
DeptHome_RemoteEntityHomeWrapper7.java:434: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptHome_RemoteEntityHomeWrapper7
return (EntityBean) new Dept_ConcreteSubClass1();
^
DeptLocalHome_LocalEntityHomeWrapper5.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocalHome_LocalEntityHomeWrapper5
Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
^
DeptLocalHome_LocalEntityHomeWrapper5.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocalHome_LocalEntityHomeWrapper5
Dept_ConcreteSubClass1 bean = (Dept_ConcreteSubClass1)ctx.object;
^
DeptLocalHome_LocalEntityHomeWrapper5.java:69: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocalHome_LocalEntityHomeWrapper5
bean = (Dept_ConcreteSubClass1)context.getBean();
^
DeptLocalHome_LocalEntityHomeWrapper5.java:370: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class DeptLocalHome_LocalEntityHomeWrapper5
return (EntityBean) new Dept_ConcreteSubClass1();
^
Dept_RemoteEntityBeanWrapper6.java:60: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class Dept_RemoteEntityBeanWrapper6
response = ((Dept_ConcreteSubClass1)context.getBean()).getDeptno();
^
Dept_RemoteEntityBeanWrapper6.java:147: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class Dept_RemoteEntityBeanWrapper6
((Dept_ConcreteSubClass1)context.getBean()).setDeptno( argument0);
^
Dept_RemoteEntityBeanWrapper6.java:218: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class Dept_RemoteEntityBeanWrapper6
response = ((Dept_ConcreteSubClass1)context.getBean()).getDname();
^
Dept_RemoteEntityBeanWrapper6.java:289: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class Dept_RemoteEntityBeanWrapper6
((Dept_ConcreteSubClass1)context.getBean()).setDname( argument0);
^
Dept_RemoteEntityBeanWrapper6.java:422: cannot resolve symbol
symbol : class Dept_ConcreteSubClass1
location: class Dept_RemoteEntityBeanWrapper6
this.object = (Dept_ConcreteSubClass1)context.object;
^
20 errors
Error compiling D:\oc4j10g\j2ee\home\applications\deptejb1/deptejb1.jar: Syntax error in source
03/10/14 12:28:07 java.lang.RuntimeException: PM generated class Dept_ConcreteSubClass1not found: De
pt_ConcreteSubClass1
03/10/14 12:28:07 at com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcre
teBeanClass(EntityDescriptorImpl.java:131)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jDescriptorBuilder.buildDescripto
rPostCodeGen(Oc4jDescriptorBuilder.java:64)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildEntityDes
criptorsPostCodeGen(DescriptorBuilder.java:115)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.initPostCod
eGen(EntityDescriptorImpl.java:369)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.getConcrete
BeanClass(EntityDescriptorImpl.java:148)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.EJBFactory.initializePrimaryKeyFields(EJB
Factory.java:335)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.EJBFactory.<init>(EJBFactory.java:52)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jEJBFactory.<init>(Oc4jEJBFactory
.java:20)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.createEJBFact
ory(Oc4jPersistenceManager.java:666)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.preDeploy(Persiste
nceManagerBase.java:102)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.postInit(Oc4j
PersistenceManager.java:152)
03/10/14 12:28:07 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
338)
03/10/14 12:28:07 at com.evermind.server.ejb.EJBPackageDeployment.notifyPMs(EJBPackageDeployme
nt.java:1106)
03/10/14 12:28:07 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1758)
03/10/14 12:28:07 at com.evermind.server.Application.postInit(Application.java:635)
03/10/14 12:28:07 at com.evermind.server.Application.setConfig(Application.java:206)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1654)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1621)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
erver.java:1594)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
26)
03/10/14 12:28:07 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
er.java:93)
03/10/14 12:28:07 at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:07 caught exception notifying PPMs operation[POSTINIT]: PM generated class Dept_Concr
eteSubClass1not found: Dept_ConcreteSubClass1
03/10/14 12:28:07 Auto-deploying ejb2.jar (No previous deployment found)... java.lang.RuntimeExcepti
on: Exception [EJB - 10036]: Error during code generation: [Exception [TOPLINK-14028] (TopLink (Orac
le OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentExc
eption
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].]
server stacktrace is:
Local Exception Stack:
Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].
at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
s(Oc4jCodeGenPlatform.java:623)
at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
ndMethods(CmpCodeGenPlatform.java:291)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
nPlatform.java:745)
at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
reteClassGenerator.java:33)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
nagerBase.java:176)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
istenceManager.java:119)
at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.EJBExceptionFactory.errorDuringCodeGen(EJ
BExceptionFactory.java:399)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubcla
ss(PersistenceManagerBase.java:182)
03/10/14 12:28:07 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanS
ubclass(Oc4jPersistenceManager.java:119)
03/10/14 12:28:07 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
332)
03/10/14 12:28:07 at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:
227)
03/10/14 12:28:07 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
03/10/14 12:28:07 at com.evermind.server.Application.postInit(Application.java:635)
03/10/14 12:28:07 at com.evermind.server.Application.setConfig(Application.java:206)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1654)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1621)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
erver.java:1594)
03/10/14 12:28:07 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
26)
03/10/14 12:28:07 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
er.java:93)
03/10/14 12:28:07 at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:07 caught exception notifying PPMs operation[GENERATE_CODE]: Exception [EJB - 10036]:
Error during code generation: [Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3)
Developer Preview (Build 030826.1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].]
server stacktrace is:
Local Exception Stack:
Exception [TOPLINK-14028] (TopLink (Oracle OC4J CMP) - 10g (10.0.3) Developer Preview (Build 030826.
1654)): oracle.toplink.ejb.DeploymentException
Exception Description: The descriptor for [gov.va.med.ohrs.model.DeptBean] does not contain a corres
ponding mapping for the container managed attribute [deptno].
at oracle.toplink.ejb.DeploymentException.noSuchMapping(DeploymentException.java:257)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.addPersistentAttributesAndMethod
s(Oc4jCodeGenPlatform.java:623)
at oracle.toplink.internal.ejb.cmp.codegen.CmpCodeGenPlatform.addContainerManagedAttributesA
ndMethods(CmpCodeGenPlatform.java:291)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jCodeGenPlatform.generateConcreteClass(Oc4jCodeGe
nPlatform.java:745)
at oracle.toplink.internal.ejb.cmp.codegen.ConcreteClassGenerator.generateConcreteClass(Conc
reteClassGenerator.java:33)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.generateBeanSubclass(PersistenceMa
nagerBase.java:176)
at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.generateBeanSubclass(Oc4jPers
istenceManager.java:119)
at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2332)
at com.evermind.server.ejb.compilation.Compilation.compile(Compilation.java:227)
at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1668)
at com.evermind.server.Application.postInit(Application.java:635)
at com.evermind.server.Application.setConfig(Application.java:206)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1654)
at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1621)
at com.evermind.server.ApplicationServer.initializeApplications(ApplicationServer.java:1594)
at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1226)
at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:93)
at java.lang.Thread.run(Thread.java:534)
DeptLocal_LocalEntityBeanWrapper8.java:402: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocal_LocalEntityBeanWrapper8
Dept_ConcreteSubClass2 object;
^
Dept_RemoteEntityBeanWrapper10.java:408: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class Dept_RemoteEntityBeanWrapper10
Dept_ConcreteSubClass2 object;
^
DeptHome_RemoteEntityHomeWrapper11.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptHome_RemoteEntityHomeWrapper11
Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
^
DeptHome_RemoteEntityHomeWrapper11.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptHome_RemoteEntityHomeWrapper11
Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
^
DeptHome_RemoteEntityHomeWrapper11.java:69: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptHome_RemoteEntityHomeWrapper11
bean = (Dept_ConcreteSubClass2)context.getBean();
^
DeptHome_RemoteEntityHomeWrapper11.java:434: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptHome_RemoteEntityHomeWrapper11
return (EntityBean) new Dept_ConcreteSubClass2();
^
DeptLocalHome_LocalEntityHomeWrapper9.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocalHome_LocalEntityHomeWrapper9
Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
^
DeptLocalHome_LocalEntityHomeWrapper9.java:65: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocalHome_LocalEntityHomeWrapper9
Dept_ConcreteSubClass2 bean = (Dept_ConcreteSubClass2)ctx.object;
^
DeptLocalHome_LocalEntityHomeWrapper9.java:69: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocalHome_LocalEntityHomeWrapper9
bean = (Dept_ConcreteSubClass2)context.getBean();
^
DeptLocalHome_LocalEntityHomeWrapper9.java:370: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocalHome_LocalEntityHomeWrapper9
return (EntityBean) new Dept_ConcreteSubClass2();
^
DeptLocal_LocalEntityBeanWrapper8.java:61: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocal_LocalEntityBeanWrapper8
response = ((Dept_ConcreteSubClass2)context.getBean()).getDeptno();
^
DeptLocal_LocalEntityBeanWrapper8.java:142: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocal_LocalEntityBeanWrapper8
((Dept_ConcreteSubClass2)context.getBean()).setDeptno( argument0);
^
DeptLocal_LocalEntityBeanWrapper8.java:213: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocal_LocalEntityBeanWrapper8
response = ((Dept_ConcreteSubClass2)context.getBean()).getDname();
^
DeptLocal_LocalEntityBeanWrapper8.java:284: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocal_LocalEntityBeanWrapper8
((Dept_ConcreteSubClass2)context.getBean()).setDname( argument0);
^
DeptLocal_LocalEntityBeanWrapper8.java:416: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class DeptLocal_LocalEntityBeanWrapper8
this.object = (Dept_ConcreteSubClass2)context.object;
^
Dept_RemoteEntityBeanWrapper10.java:60: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class Dept_RemoteEntityBeanWrapper10
response = ((Dept_ConcreteSubClass2)context.getBean()).getDeptno();
^
Dept_RemoteEntityBeanWrapper10.java:147: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class Dept_RemoteEntityBeanWrapper10
((Dept_ConcreteSubClass2)context.getBean()).setDeptno( argument0);
^
Dept_RemoteEntityBeanWrapper10.java:218: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class Dept_RemoteEntityBeanWrapper10
response = ((Dept_ConcreteSubClass2)context.getBean()).getDname();
^
Dept_RemoteEntityBeanWrapper10.java:289: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class Dept_RemoteEntityBeanWrapper10
((Dept_ConcreteSubClass2)context.getBean()).setDname( argument0);
^
Dept_RemoteEntityBeanWrapper10.java:422: cannot resolve symbol
symbol : class Dept_ConcreteSubClass2
location: class Dept_RemoteEntityBeanWrapper10
this.object = (Dept_ConcreteSubClass2)context.object;
^
20 errors
Error compiling D:\oc4j10g\j2ee\home\applications\ejb2/ejb2.jar: Syntax error in source
03/10/14 12:28:10 java.lang.RuntimeException: PM generated class Dept_ConcreteSubClass2not found: De
pt_ConcreteSubClass2
03/10/14 12:28:10 at com.oracle.server.ejb.container.deployment.EntityDescriptorImpl.getConcre
teBeanClass(EntityDescriptorImpl.java:131)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jDescriptorBuilder.buildDescripto
rPostCodeGen(Oc4jDescriptorBuilder.java:64)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildEntityDes
criptorsPostCodeGen(DescriptorBuilder.java:115)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.initPostCod
eGen(EntityDescriptorImpl.java:369)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.api.impl.EntityDescriptorImpl.getConcrete
BeanClass(EntityDescriptorImpl.java:148)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.EJBFactory.initializePrimaryKeyFields(EJB
Factory.java:335)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.EJBFactory.<init>(EJBFactory.java:52)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jEJBFactory.<init>(Oc4jEJBFactory
.java:20)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.createEJBFact
ory(Oc4jPersistenceManager.java:666)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.preDeploy(Persiste
nceManagerBase.java:102)
03/10/14 12:28:10 at oracle.toplink.internal.ejb.cmp.oc4j.Oc4jPersistenceManager.postInit(Oc4j
PersistenceManager.java:152)
03/10/14 12:28:10 at com.evermind.server.ejb.deployment.EJBPackage.notifyPMs(EJBPackage.java:2
338)
03/10/14 12:28:10 at com.evermind.server.ejb.EJBPackageDeployment.notifyPMs(EJBPackageDeployme
nt.java:1106)
03/10/14 12:28:10 at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:1758)
03/10/14 12:28:10 at com.evermind.server.Application.postInit(Application.java:635)
03/10/14 12:28:10 at com.evermind.server.Application.setConfig(Application.java:206)
03/10/14 12:28:10 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1654)
03/10/14 12:28:10 at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.ja
va:1621)
03/10/14 12:28:10 at com.evermind.server.ApplicationServer.initializeApplications(ApplicationS
erver.java:1594)
03/10/14 12:28:10 at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:12
26)
03/10/14 12:28:10 at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLaunch
er.java:93)
03/10/14 12:28:10 at java.lang.Thread.run(Thread.java:534)
03/10/14 12:28:10 caught exception notifying PPMs operation[POSTINIT]: PM generated class Dept_Concr
eteSubClass2not found: Dept_ConcreteSubClass2
Oct 14, 2003 12:28:13 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.util.LocalStrings', returnNull=true
Oct 14, 2003 12:28:13 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.action.ActionResources', returnNull=true
Oct 14, 2003 12:28:14 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.webapp.example.AlternateApplicationResources', returnN
ull=true
Oct 14, 2003 12:28:14 PM org.apache.struts.util.PropertyMessageResources <init>
INFO: Initializing, config='org.apache.struts.webapp.example.ApplicationResources', returnNull=true
Oct 14, 2003 12:28:14 PM org.apache.struts.webapp.example.memory.MemoryDatabasePlugIn init
INFO: Initializing memory database plug in from '/WEB-INF/database.xml'
Oct 14, 2003 12:28:14 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validator-rules.xml'
Oct 14, 2003 12:28:14 PM org.apache.struts.validator.ValidatorPlugIn initResources
INFO: Loading validation rules file from '/WEB-INF/validation.xml'
03/10/14 12:28:14 Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview
initialized -
Error Call Web Service Deployed to OC4J 10g with JDev 10g
I deployed a PL/SQL Package as a Web Service to a Stand Alone 10g OC4J instance. When I invoke the Web Service the text I am returned is this:
<?xml version='1.0' encoding='UTF-8'?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Server.Exception:</faultcode>
<faultstring>java.rmi.RemoteException: null; nested exception is:
java.lang.NullPointerException</faultstring>
<faultactor>/webservice/Mayoclinic</faultactor>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
I can successfully run the Web Service in the OC4J instance in JDev 10g.
Any ideas. I recieve know errors in JDev 10g Deploying the application.Last line should be ...
Any ideas. I recieve NO errors in JDev 10g Deploying the application. -
Error starting OC4J 11-standalone Technology Preview
I have just downloaded OC4J 11 - standalone on to Fedora 8. When I started the server, an error
occurred saying: ERROR J2EE RMI-00002 Error starting ORMI server, Invalid keystore format.
I don't have problems running OC4J 10g-standalone.
Thanks,
GoranI have just downloaded OC4J 11 - standalone on to Fedora 8. When I started the server, an error
occurred saying: ERROR J2EE RMI-00002 Error starting ORMI server, Invalid keystore format.
I don't have problems running OC4J 10g-standalone.
Thanks,
Goran -
Applet works in JDeveloper, but not when deployed to OC4J
I am working on an applet version of the BI Beans java client application. It works fine when running in JDeveloper (applet viewer), but fails when deployed to OC4J. The applet shows a red X, with a message in the status bar saying "Loading Java Applet Failed...". Contents of java console are as follows:
java.lang.NoClassDefFoundError: oracle/dss/selection/step/Step
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
at java.lang.Class.getConstructor0(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at sun.applet.AppletPanel.createApplet(Unknown Source)
at sun.plugin.AppletViewer.createApplet(Unknown Source)
at sun.applet.AppletPanel.runLoader(Unknown Source)
at sun.applet.AppletPanel.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Any one have any ideas how to chase this one down?
Here is the message that JDeveloper shows when it runs the applet. I have gone thru this and ensured that all these references are selected in my .deploy settings:
C:\JDeveloper\jdk\bin\javaw.exe -ojvm -Xbootclasspath/a:C:\dev\jdev\Workspace1\TestClientApp\classes;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddinsrt.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biamlocal.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidataclt.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatacmn.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidatasvr.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biext.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bidata-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bipres-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\bicmn-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\biaddins-nls.zip;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\LW_PfjBean.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\share.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\jlib\jewt4-nls.jar;
C:\JDeveloper\jdev\lib\ext\..\..\infobus\lib\infobus.jar;
C:\JDeveloper\BC4J\lib\bc4jmt.jar;C:\JDeveloper\BC4J\lib\collections.jar;
C:\JDeveloper\BC4J\lib\bc4jct.jar;
C:\JDeveloper\lib\xmlparserv2.jar;
C:\JDeveloper\jlib\jdev-cm.jar;
C:\JDeveloper\j2ee\home\lib\jndi.jar;
C:\JDeveloper\jlib\regexp.jar;
C:\JDeveloper\jlib\share.jar;
C:\JDeveloper\jlib\uix2.jar;
C:\JDeveloper\jdbc\lib\classes12.jar;
C:\JDeveloper\jdbc\lib\nls_charset12.jar;
C:\JDeveloper\j2ee\home\lib\ojsp.jar;
C:\JDeveloper\j2ee\home\jsp\lib\taglib\ojsputil.jar;
C:\JDeveloper\j2ee\home\oc4j.jar;
C:\JDeveloper\j2ee\home\lib\servlet.jar;
C:\JDeveloper\jdev\lib\ojc.jar;
C:\JDeveloper\jdev\lib\ext\..\..\..\bibeans\lib\olap_api_92.jar;
C:\JDeveloper\jdev\lib\jdev-rt.jar;
C:\JDeveloper\BC4J\lib\bc4jhtml.jar;
C:\JDeveloper\BC4J\lib\datatags.jar;
C:\JDeveloper\BC4J\lib\bc4juixtags.jar;
C:\JDeveloper\BC4J\lib\bc4j_jclient_common.jar
Any assistance would be appreciated.
s.l.i have the same problem
i cant load my applet on OC4J , i am wondering know how Oracle canot solve this problem -
JDeveloper ADF Deployment to OC4J
Have developed a UIX/JSP in JDeveloper 9.0.5.2. It works fine as expected with the JDeveloper embedded OC4J server.
JSP is a master detail page, can scroll through master records and see detail lists. Deployment is successful to standalone OC4J...But it does not work there, behaviour is this: on startup, first master record is displayed, but no details...then next button(s) do not work. Have deployed a WAR, have gond through JDev library installations for OC4J, etc....but page initially displays first master record, then does nothing else.
Where can I find a detailed deployment how-to page for deploying to OC4J? I have been through several already, but something is still missing.
Regards,
Mark RTry the steps detailed in the reviewer guide for JDeveloper. (page 26). http://otn.oracle.com/products/jdev/collateral/papers/10g/reviewer/reviewerguide.html
-
Deploy to OC4J standaone problem
Dears,
I developed an application in jdev 10.2 and it works successfully with embedded OC4J, but when deploy to OC4J standalone or Tomcat it doesn't work.
I use JSON in my application.
The log (for OC4J standalone and Tomcat) is empty from errors and exceptions, Only
JSONRPCBridge.analyzeClass analyzing package1name.package2name.package3name.DAO.classNmaeDAO
is written and my code didn't work and JSP is empty.
Any ideas, what may be the problem there???When I deploy to oc4j from jdev... I get an error.
Unknown site: http-web-site
How do I figure out what my http site is via my oc4j configuration?
I know in my Connection properties for oc4j in jdev, there is a target web site property where I entered "http-web-site", thinking this was the correct target.
Thanks. Look in <oracle_home>\j2ee\home\config\server.xml
Web sites are defined by the web-site entry. E.g
<web-site path="./http-web-site.xml" />
<web-site default="true" path="./default-web-site.xml" />
Dhiraj -
Error deploying to oc4j standalone
hi folks,
i'm trying to deploy my application from jdev to standalone oc4j.
i created a war, an ejb-jar and an ear that includes them. while trying to deploy the ear i get the following exception:
2006-11-30 14:54:48.265 NOTIFICATION Starting application : wts2
2006-11-30 14:54:48.265 NOTIFICATION Initializing ClassLoader(s)
2006-11-30 14:54:48.265 NOTIFICATION Initializing EJB container
2006-11-30 14:54:48.265 NOTIFICATION Loading connector(s)
2006-11-30 14:54:48.343 NOTIFICATION Starting up resource adapters
2006-11-30 14:54:48.359 NOTIFICATION Processing EJB module: wts2_ejb_jar.jar
2006-11-30 14:54:48.656 ERROR J2EE EJB-03027 [wts2] An error occured deploying E
JB module: javax.ejb.EJBException: nested exception is: java.lang.reflect.Invoca
tionTargetException
2006-11-30 14:54:48.671 NOTIFICATION application : wts2 is in failed state
06/11/30 14:54:48 WARNING: Application.setConfig Application: wts2 is in failed
state as initialization failed.
java.lang.InstantiationException: Error initializing ejb-modules: nested excepti
on is: java.lang.reflect.InvocationTargetException
06/11/30 14:54:48 oracle.oc4j.admin.internal.DeployerException: java.lang.Instan
tiationException: Application: wts2 is in failed state as initialization failed
06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:515)
06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.doDepl
oy(ApplicationDeployer.java:196)
06/11/30 14:54:48 at oracle.oc4j.admin.internal.DeployerBase.execute(Deplo
yerBase.java:93)
06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeploy
erRunnable.doRun(OC4JDeployerRunnable.java:52)
06/11/30 14:54:48 at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRu
nnable.run(DeployerRunnable.java:81)
06/11/30 14:54:48 at com.evermind.util.ReleasableResourcePooledExecutor$My
Worker.run(ReleasableResourcePooledExecutor.java:298)
06/11/30 14:54:48 at java.lang.Thread.run(Thread.java:595)
06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Application: wts2
is in failed state as initialization failed
06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
.java:471)
06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
.java:314)
06/11/30 14:54:48 at com.evermind.server.ApplicationServer.addApplication(
ApplicationServer.java:1853)
06/11/30 14:54:48 at oracle.oc4j.admin.internal.ApplicationDeployer.addApp
lication(ApplicationDeployer.java:512)
06/11/30 14:54:48 ... 6 more
06/11/30 14:54:48 Caused by: java.lang.InstantiationException: Error initializin
g ejb-modules: nested exception is: java.lang.reflect.InvocationTargetException
06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:1064)
06/11/30 14:54:48 at com.evermind.server.ApplicationStateRunning.initializ
eApplication(ApplicationStateRunning.java:217)
06/11/30 14:54:48 at com.evermind.server.Application.setConfig(Application
.java:413)
06/11/30 14:54:48 ... 9 more
06/11/30 14:54:48 Caused by: javax.ejb.EJBException: nested exception is: java.l
ang.reflect.InvocationTargetException
06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
JBUtils.java:365)
06/11/30 14:54:48 at com.evermind.server.ejb.EJBUtils.createEJBException(E
JBUtils.java:356)
06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
nnotatedClass(BeanAnnotationListener.java:54)
06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.notifyAnnota
tionListeners(AnnotationParser.java:201)
06/11/30 14:54:48 at com.evermind.server.ejb.AnnotationParser.parseAnnotat
ions(AnnotationParser.java:73)
06/11/30 14:54:48 at com.evermind.server.ejb.EJBPackageDeployment.parseMet
aData(EJBPackageDeployment.java:939)
06/11/30 14:54:48 at com.evermind.server.ejb.EJBContainer.postInit(EJBCont
ainer.java:832)
06/11/30 14:54:48 ... 11 more
06/11/30 14:54:48 Caused by: java.lang.reflect.InvocationTargetException
06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native M
ethod)
06/11/30 14:54:48 at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMet
hodAccessorImpl.java:39)
06/11/30 14:54:48 at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg
atingMethodAccessorImpl.java:25)
06/11/30 14:54:48 at java.lang.reflect.Method.invoke(Method.java:585)
06/11/30 14:54:48 at com.evermind.server.ejb.BeanAnnotationListener.parseA
nnotatedClass(BeanAnnotationListener.java:45)
06/11/30 14:54:48 ... 15 more
06/11/30 14:54:48 Caused by: java.lang.NoClassDefFoundError: Lorg/apache/log4j/L
ogger;
06/11/30 14:54:48 at java.lang.Class.getDeclaredFields0(Native Method)
06/11/30 14:54:48 at java.lang.Class.privateGetDeclaredFields(Class.java:2
232)
06/11/30 14:54:48 at java.lang.Class.getDeclaredFields(Class.java:1715)
06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.pars
e(AnnotationManager.java:112)
06/11/30 14:54:48 at com.evermind.server.deployment.AnnotationManager.getM
ethods(AnnotationManager.java:64)
06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:76)
06/11/30 14:54:48 at com.evermind.server.ejb.deployment.BeanDescriptorAnno
tationParser.parseAnnotations(BeanDescriptorAnnotationParser.java:48)
06/11/30 14:54:48 ... 20 more
2006-11-30 14:54:48.718 NOTIFICATION Application Deployer for wts2 FAILED.
i don't know if this can be connected to the following issue: i have another java environment on the same machine and therefore 2 different jdks: 1.4 and 5. the JAVA_HOME points to jdk1.4. but the batch file running the oc4j starts it with jdk5:
C:\Sun\AppServer\jdk\bin\java.exe -jar D:\oc4j\j2ee\home\oc4j.jar
i've seen a thread here saying that problems with InvocationTargetException can be solved by using Oracle AppServer instead of OC4J, which sounds pretty bizzare to me. there are a lot of folks here who run and deploy into OC4J with no problem.
thanks for you help!i am still facing the same problem all peoples face
is ther any way to fix it???????
if u find a solution i will apretiate if u tell me
coz am trying to make a webservice to try it with jdeveloper over oc4j
and as u know there is a test way provided by jdeveloepr to test ur webservice after publishing it
after i compliled the calsses and deploy it and open the url http://localhost:8888/jdeveloper_ap...webservice_name
and evry thing is ok till now and the page apear carying the method services name and when i click the method servic ename evry thing is still ok and the form apear requesting the input of the method if any with an invoke button or with the invoke button alone if no input was required and 2 link below the Proxy Jar and the Proxy Source so till now evry thing is ok
but after i press the invoke button or when i press the link proxyjar or Proxy Source the explorer show the usual error page HTTP 500 - Internal server error Internet Explorer so nothing work till the end
does any one expert in webservices with jedeveloepr know what do i miss to set so that the trial work? -
Error while running web application through JDEV (10.1.3.0.3) in OC4J.
Here is the error message.
07/10/02 14:45:28 Exception in thread "OC4J Launcher" oracle.classloader.util.AnnotatedNoClassDefFoundError:
Missing class: javax.xml.bind.JAXBContext
Dependent class: com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl
Loader: oc4j:10.1.3
Code-Source: /C:/jdev/j2ee/home/lib/oc4j-internal.jar
Configuration: <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar
The missing class is not available from any code-source or loader in the server.
07/10/02 14:45:28 at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2073) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLoader.java:1681) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1633) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.java:1618) [C:/jdev/j2ee/home/lib/pcl.jar (from system property java.class.path), by sun.misc.Launcher$AppClassLoader@7]
at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:319) [jre bootstrap, by jre.bootstrap]
at com.oracle.corba.ee.impl.orb.config.InternalSettingsORBConfigImpl.init (InternalSettingsORBConfigImpl.java:46) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.config.SunRIORBConfigImpl.init (SunRIORBConfigImpl.java:97) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.iiop.server.IIOPServerExtensionProvider.configureOrb (IIOPServerExtensionProvider.java:26) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.oracle.corba.ee.impl.orb.ORBServerExtensionProviderImpl.preInitApplicationServer (ORBServerExtensionProviderImpl.java:45) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.serverExtensionPreInit (ApplicationServer.java:1031) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServer.setConfig (ApplicationServer.java:861) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at com.evermind.server.ApplicationServerLauncher.run (ApplicationServerLauncher.java:98) [C:/jdev/j2ee/home/lib/oc4j-internal.jar (from <code-source> in boot.xml in C:\jdev\j2ee\home\oc4j.jar), by oc4j:10.1.3]
at java.lang.Thread.run (Thread.java:595) [jre bootstrap, by jre.bootstrap]Hi,
The guide you were refering was pointing to 10.1.2 wizards.
For the latest 10.1.3 tutorial, please follow the below tutorial link :
http://www.oracle.com/technology/products/jdev/101/tutorials/WS/WSandAScontrol.htm
Hope this helps,
Sunil.. -
Not able to deploy axis2 web service on oc4j 10g server
Not able to deploy axis2 web service on oc4j 10g server, getting internal server every time I click on services link....
Edited by: 974237 on Nov 30, 2012 4:17 AMNot able to deploy axis2 web service on oc4j 10g server, getting internal server every time I click on services link....
Edited by: 974237 on Nov 30, 2012 4:17 AM -
How to create different log files for each of web applications deployed in OC4J
Hi All,
I am using OC4J(from Oracle) v1.0.2.2 and Windows2000. Now I want to know
1. how to create different log files for each of my deployed web applications ?
2. what are the advantages in running multiple instances of oc4j and in what case we should run
multiple instances of OC4J ?
3. how to run OC4J as Windows2000 Service rather than Windows2000 Application ?
Thanks and Regards,
Kumar.Hi Avi,
First of all I have given a first reading to log4j and I think there will some more easy way of logging debugging messages than log4j (If you could provide me a detailed explanation of a servlet,jsp,java bean that uses log4j and how to use log4j then it will be very helpful for me). The other easy ways (if I am not using log4j) to my problem i.e creating different log files for each of web applications deployed in oc4j are
I have created multiple instances of OC4J that are configured to run on different ports and so on each instance I have deployed a single web application . And I started the 2 oc4j instances by transferring thier error/log messages to a file. And the other way is ..
I have download from jakarta site a package called servhelper . This servhelper is a thread that is started in a startup servlet and stopped in the destroy method of that startup servlet. So this thread will automatically capture all the system.out.println's and will print those to a file. I believe that this thread program is synchronized. So in this method I need not run multiple instances of OC4J instead each deployed web application on single instance of oc4j uses the same thread program (ofcourse a copy of thread program is put in each of the deployed web applications directories) to log messages on to different log files.
Can you comment on my above 2 approached to logging debugging messages and a compartive explanation to LOG4J and how to use LOG4J using a simple servlet, simple jsp is appreciated ...
Thanks and Regards,
Ravi. -
I deployed a working simple ADF project to the server and I get this. I thought that I had it fixed when I remembered the data connection was 'localhost',and changed it in the XML on the server but it did not correct the error. Please indicate what types of things to look for.
Error:
500 Internal Server Error
JBO-30003: The application pool (business.AppModuleLocal) failed to checkout an application module due to the following exception:oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected exception caught: oracle.jbo.domain.DataCreationException, msg=JBO-25029: Data class (a domain?) {0} not found at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1759) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405) at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606) at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584) at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781) at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93) at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543) at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205) at java.lang.Thread.run(Thread.java:536)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.domain.DataCreationException, msg=JBO-25029: Data class (a domain?) {0} not found at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:524) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405) at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606) at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584) at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781) at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93) at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543) at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205) at java.lang.Thread.run(Thread.java:536)## Detail 0 ##oracle.jbo.domain.DataCreationException: JBO-25029: Data class (a domain?) {0} not found at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:207) at oracle.jbo.server.AttributeDefImpl.initFromXML(AttributeDefImpl.java:2048) at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:2000) at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2810) at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2774) at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2357) at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2102) at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:499) at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277) at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643) at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:328) at oracle.jbo.server.ViewDefImpl.addEntityUsage(ViewDefImpl.java:2560) at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2628) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1931) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1765) at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:503) at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277) at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643) at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369) at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:2798) at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:359) at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:356) at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91) at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:135) at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:76) at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2124) at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:515) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405) at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606) at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584) at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781) at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93) at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543) at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205) at java.lang.Thread.run(Thread.java:536)## Detail 0 ##java.lang.ClassNotFoundException: oracle.jbo.domain.Number at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.findClass(ContextClassLoader.java:315) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.loadClass(ContextClassLoader.java:140) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:217) at oracle.jbo.common.java2.JDK2ClassLoader.loadClassForName(JDK2ClassLoader.java:38) at oracle.jbo.common.JBOClass.forName(JBOClass.java:161) at oracle.jbo.common.JBOClass.findDataClass(JBOClass.java:203) at oracle.jbo.server.AttributeDefImpl.initFromXML(AttributeDefImpl.java:2048) at oracle.jbo.server.AttributeDefImpl.loadFromXML(AttributeDefImpl.java:2000) at oracle.jbo.server.EntityDefImpl.loadAttribute(EntityDefImpl.java:2810) at oracle.jbo.server.EntityDefImpl.loadAttributes(EntityDefImpl.java:2774) at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2357) at oracle.jbo.server.EntityDefImpl.loadFromXML(EntityDefImpl.java:2102) at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:499) at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277) at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643) at oracle.jbo.server.EntityDefImpl.findDefObject(EntityDefImpl.java:328) at oracle.jbo.server.ViewDefImpl.addEntityUsage(ViewDefImpl.java:2560) at oracle.jbo.server.ViewDefImpl.loadEntityReference(ViewDefImpl.java:2628) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1931) at oracle.jbo.server.ViewDefImpl.loadFromXML(ViewDefImpl.java:1765) at oracle.jbo.server.MetaObjectManager.loadFromXML(MetaObjectManager.java:503) at oracle.jbo.mom.DefinitionManager.loadLazyDefinitionObject(DefinitionManager.java:469) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:320) at oracle.jbo.mom.DefinitionManager.findDefinitionObject(DefinitionManager.java:277) at oracle.jbo.server.MetaObjectManager.findMetaObject(MetaObjectManager.java:643) at oracle.jbo.server.ViewDefImpl.findDefObject(ViewDefImpl.java:369) at oracle.jbo.server.ApplicationModuleImpl.createViewObject(ApplicationModuleImpl.java:2798) at oracle.jbo.server.ApplicationModuleDefImpl.loadComponents(ApplicationModuleDefImpl.java:359) at oracle.jbo.server.ApplicationModuleImpl.createRootApplicationModule(ApplicationModuleImpl.java:356) at oracle.jbo.server.ApplicationModuleHomeImpl.create(ApplicationModuleHomeImpl.java:91) at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:135) at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:76) at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2124) at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:515) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1646) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2488) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:434) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:241) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:405) at oracle.jbo.common.ws.WSApplicationModuleImpl.createWorkerApplicationModule(WSApplicationModuleImpl.java:1606) at oracle.jbo.common.ws.WSApplicationModuleImpl.getCustomApplicationModule(WSApplicationModuleImpl.java:1584) at oracle.adf.model.bc4j.DCJboDataControl.setDataProvider(DCJboDataControl.java:781) at oracle.adf.model.bc4j.DCJboDataControl.<init>(DCJboDataControl.java:140) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:94) at oracle.jbo.uicli.binding.JUApplication.<init>(JUApplication.java:85) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:249) at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:93) at oracle.jbo.uicli.mom.JUMetaObjectManager.loadCpx(JUMetaObjectManager.java:543) at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:228) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:616) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:205) at java.lang.Thread.run(Thread.java:536)I found the source of the previous error was caused by changing from localhost Oracle database to a one out on a server. There were many XML files to change manually!!, and I was wondering if there was an easy way to repoint an app to new data sources?
I have a 'new' error now when deploying to the 10G Beta OC4J running on Win2000 on another machine:
500 Internal Server Error
java.lang.SecurityException: sealing violation
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1130)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.findClass(ContextClassLoader.java:392)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.loadLocalClassFirst(ContextClassLoader.java:155)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].naming.ContextClassLoader.loadClass(ContextClassLoader.java:134)
at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
at oracle.adf.model.servlet.ADFBindingFilter.initializeBindingContext(ADFBindingFilter.java:207)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:84)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:620)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:311)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:788)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:270)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.0.3.0.0) - Developer Preview].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:199)
at java.lang.Thread.run(Thread.java:536)
???? -
Global authentication for applications deployed in OC4J server
Hi,
I have a couple of JSP pages deployed in OC4J server. I
would like to use authentication provided by OC4J, it
means to use JAZN UserManager (encrypted principals, LDAP
or SSO).
My question is, if it's possible to set default
authentication method for whole server or whole
http-web-site on OC4J, or I have to make change in web.xml
in each and every program, which I am going to deploy into
my OC4J. If I have 100 programs and somebody will make
decision, there will be no authentocation on this particular
server, do I have to change all my programs and remove
entries from web.xml files?
Is there a way how to specify the login page globally for
the server, not by application?
Thanks,
Mareklograste resolver tu problema????... si es asi me puedes enviar la solucisn.....
gracias.. -
How do you define system property with OC4J. OAS versions allow you to do that. I have servlet 2.1 compatible application that I want to deploy into oc4j without code changes. Any ideas?
Or if you don't want to use property files you can use the ServletContext class which has two methods:
public String ServletContext.getInitParameter(String name)
public Enumaration ServletContext.getInitParameterNames()
The init parameters for a context are specified in the web.xml deployment descriptor for the context using the <context-param> tag. Example:
<web-app>
<context-param>
<param-name>rmihost</param-name>
<param-value>localhost</param-value>
</context-param>
<context-param>
<param-name>rmiport</param-name>
<param-value>1099</param-value>
</context-param>
</web-app>
To find the context init parameters in a servlet you can do:
try {
ServletContext context = getServletContext();
String rmihost = context.getInitParameters("rmihost");
int rmiport = Integer.parseInt(context.getInitParameter("rmiport"));
} catch (Exception e) {
} -
How to lookup EJBs deployed in OC4J from a standalone client application
Hello all,
I am trying to lookup an EJB deployed in OC4J 10.1.3 from a standalone client application using the following code:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
env.put(Context.SECURITY_PRINCIPAL, "jazn.com/test");
env.put(Context.SECURITY_CREDENTIALS, "test");
Context context = new InitialContext(env);
Object ref = context.lookup("ejb/Dispatch");
I get the following error:
javax.naming.NameNotFoundException: ejb/Dispatch not found
at com.evermind.server.rmi.RMIClientContext.lookup(RMIClientContext.java:51)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
For the lookup string I've also tried:
"java:comp/env/ejb/Dispatch" and "Dispatch"
For the Context.PROVIDER_URL property I've also tried:
opmn:ormi://localhost:6003:instance
The result is always the same.
I appreciate if someone could help me with this?
Thanks,
GeorgiGeorgi,
Your question has been discussed many times on this forum. Search the forum archives for "RMIInitialContextFactory".
The PROVIDER_URL needs to include the name of the deployed application that your EJB is part of, for example:
env.put(Context.PROVIDER_URL, "ormi://localhost:23791/MyApp");The lookup name has to be the value of the "ejb-name" element in your "ejb-jar.xml" descriptor file.
Your SECURITY_PRINCIPAL value looks strange to me. Personally, I use "principals" (and not JAZN), so I modified the "application.xml" file (in the "j2ee/home/config" subdirectory) to use "principals". Look for the following comment in that file:
<!-- Comment out the jazn element to use principals.
When both jazn and principals are present jazn is used -->Good Luck,
Avi.
Message was edited by:
Avi Abrami
Maybe you are looking for
-
I need to move my "auto-complete" data to my log-in on the companies computer.
I need to move my "auto-complete" data to my log-in on the companies computer. How do i do this? Replicating the date
-
How to determine vendor minority indicator / status
We are using a manual process to update vendor minority indicator. Is there a service out there to automate the process? Is there a vendor (Dun Bradstreet) who can provide periodic updates based on vendor account number? Any input is welcome.
-
How to Publish Motion 5 templates
How to publish motion 5 templates to to another editor's Final Cut X project? Basically I want to have one motion 5 designer built templates for use with other Final Cut X projects on other systems.
-
hi all after creating odbc driver and installation of OCA i am receiving the following error on sqlplus during connection.any body help me out thanks in advance Shakeel ORA-00022: invalid session id; access denied ORA-00022: invalid session id; acces
-
Icloud frozen, icloud frozen won't allow me to sign in or sign out
My icloud system preferences keeps popping up. The icloud system preferences is frozen, and won't allow me to sign in or sign out, seek support or check my password is correct. I recently changed my password for my Apple ID and wonder if that is why