Weblogic/JCA/Oracle

Hi Guys,
I am getting the following error when trying to create a persistent object
through Weblogic/JCA under a SessionBean.
The error is pretty self explanitory, but still I am struggling to fix
this.
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping for type "businesstiered.Department" does not exist.
The package.mapping file is in my application .ear that was deployed through
JBuilder. Additionally, within the SessionBean, I have asked the
ConnectionFactory to getSchemas( ) and found that they are being scoped to
the default Oracle user (SCOTT) which is how I had configured the ra.xml
file. You can see this at the bottom of the application server stack trace
below. So, it seems that the JCA adapter is loading well and I am picking
up the factory settings just fine from the ra.xml file. I have looked in
the Oracle database under Schema>>SCOTT>>Tables and find the exact table
names as those found in my package.mapping file.
Attached is the mapping file that is in the .ear Also, at the bottom of
the e-mail is an output from schemagen
Any suggestions?
java.rmi.RemoteException: EJB Exception: ; nested exception is:
kodo.util.UserException: kodo.util.UserException:
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping for type "businesstiered.Department" does not exist.
at
weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:284)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:244)
at
businesstiered.Business_2fy0z4_EOImpl_810_WLStub.createDepartment(Unknown
Source)
at businesstiered.BusinessClient.createDepartment(BusinessClient.java:81)
at businesstiered.BusinessClient.main(BusinessClient.java:38)
Caused by: kodo.util.UserException: kodo.util.UserException:
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping for type "businesstiered.Department" does not exist.
at kodo.util.UserException.writeReplace(UserException.java:74)
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 java.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:882)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at
weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObject
OutputStream.java:106)
at
weblogic.rjvm.MsgAbbrevOutputStream.sendThrowable(MsgAbbrevOutputStream.java
:358)
at
weblogic.rmi.internal.BasicServerRef.handleThrowable(BasicServerRef.java:524
at weblogic.rmi.internal.BasicServerRef.postInvoke(BasicServerRef.java:479)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:371)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Here is the application server stack:
Getting Initial Context
Getting factory for connector named eis/kodoJCARDB
Got the factory
I am in the init method
I got the PersistenceManager
Oct 17, 2003 3:44:37 PM com.solarmetric.meta.XMLMetaDataParser parse
INFO: Parsing metadata resource
"zip:C:/DATA/WEBLOGIC81/vsntdomain/./myserver/up
load/BusinessBeans/BusinessBeans.jar!/businesstiered/package.jdo".
I got a JDO exception
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping
for type "businesstiered.Department" does not exist.
at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:89)
at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:75)
at
kodo.jdbc.meta.BaseClassMapping.fromMappingInfo(BaseClassMapping.java:150)
at
kodo.jdbc.meta.RuntimeMappingProvider.getMapping(RuntimeMappingProvider.java
:56)
at
kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:3
42)
at
kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:297)
at
kodo.jdbc.meta.MappingRepository.getMappings(MappingRepository.java:272)
at
kodo.jdbc.meta.MappingRepository.getMetaDatas(MappingRepository.java:256)
at kodo.runtime.ExtentImpl.iterator(ExtentImpl.java:96)
at businesstiered.BusinessBean.init(BusinessBean.java:390)
at
businesstiered.BusinessBean.setSessionContext(BusinessBean.java:45)
at
businesstiered.Business_2fy0z4_Impl.setSessionContext(Business_2fy0z4_Impl.j
ava:111)
at
weblogic.ejb20.manager.StatelessManager.createBean(StatelessManager.java:267
at
weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.jav
a:157)
at
weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:1
09)
at
weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:140)
at
weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:130)
at
weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java
:70)
at
businesstiered.Business_2fy0z4_EOImpl.createDepartment(Business_2fy0z4_EOImp
l.java:339)
at businesstiered.Business_2fy0z4_EOImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:407)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:353)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:351)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
SCHEMAS: SCOTT
Here is the output of schemagen
C:\DATA\WEBLOGIC>schemagen -properties C:\KODOPROP\Oracle_kodo.properties
0 [main] INFO jdbc.JDBC - Waited 641 milliseconds for connection conn
15277917. This might indicate that you need to increase your connection
pool size.
250 [main] INFO jdbc.JDBC - Using dictionary class
"kodo.jdbc.sql.OracleDictionary" (Oracle Oracle9i Enterprise Edition Release
9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production ,Oracle JDBC driver 9.2.0.1.0).
280 [main] INFO kodo.Tool - Schema generating running on schemas "SCOTT".
This process may take some time. Enable the kodo.jdbc.Schema logging
category to se
e messages about the collection of schema data.
290 [main] INFO jdbc.Schema - Generating tables for schema name "SCOTT",
table name "null".
361 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.DEPARTMENT1".
361 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.DEPAR_EMPLOYEES1".
371 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.EMPLOYEE1".
381 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.PHONE1".
391 [main] INFO jdbc.Schema - Generating primary keys for schema name
"SCOTT", table name "null".
411 [main] INFO jdbc.Schema - Generating indexes keys for schema name
"SCOTT", table name "null".
421 [main] INFO jdbc.Schema - Generating foreign keys keys for schema name
"SCOTT", table name "null".
431 [main] INFO kodo.Tool - Writing XML schema.
<?xml version="1.0" encoding="UTF-8"?>
<schemas>
<schema name="SCOTT">
<table name="DEPARTMENT1">
<pk name="P_DEPARTMENT1" column="JDOID"/>
<column name="JDOCLASS" type="varchar" size="255"/>
<column name="JDOID" type="decimal" not-null="true" size="22"/>
<column name="JDOVERSION" type="decimal" size="22"/>
<column name="NAME0" type="varchar" size="255"/>
<index name="I_DPRTNT1_JDOCLASS" column="JDOCLASS"/>
<index name="P_DEPARTMENT1" unique="true" column="JDOID"/>
</table>
<table name="DEPAR_EMPLOYEES1">
<column name="EMPLOYEES_JDOID" type="decimal" size="22"/>
<column name="EMPLOYEES_ORDER" type="decimal" size="22"/>
<column name="JDOID" type="decimal" size="22"/>
<index name="I_DPR_YS1_EMPLOYEES" column="JDOID"/>
<index name="I_DPR_YS1_EMPLOYEES1" column="EMPLOYEES_JDOID"/>
</table>
<table name="EMPLOYEE1">
<pk name="P_EMPLOYEE1" column="JDOID"/>
<column name="JDOCLASS" type="varchar" size="255"/>
<column name="JDOID" type="decimal" not-null="true" size="22"/>
<column name="JDOVERSION" type="decimal" size="22"/>
<column name="NAME0" type="varchar" size="255"/>
<column name="NUMBER_JDOID" type="decimal" size="22"/>
<index name="I_MPLOYE1_JDOCLASS" column="JDOCLASS"/>
<index name="I_MPLOYE1_NUMBER" column="NUMBER_JDOID"/>
<index name="P_EMPLOYEE1" unique="true" column="JDOID"/>
</table>
<table name="PHONE1">
<pk name="P_PHONE1" column="JDOID"/>
<column name="JDOCLASS" type="varchar" size="255"/>
<column name="JDOID" type="decimal" not-null="true" size="22"/>
<column name="JDOVERSION" type="decimal" size="22"/>
<column name="NUMBER0" type="varchar" size="255"/>
<index name="I_PHONE1_JDOCLASS" column="JDOCLASS"/>
<index name="P_PHONE1" unique="true" column="JDOID"/>
</table>
</schema>
</schemas>
begin 666 package.mapping
M/#]X;6P@=F5R<VEO;CTB,2XP(B!E;F-O9&EN9STB551&+3@B/SX-"@T*/&UA
M<'!I;F<^#0H@(" @/'!A8VMA9V4@;F%M93TB8G5S:6YE<W-T:65R960B/@T*
M(" @(" @(" \8VQA<W,@;F%M93TB1&5P87)T;65N="(^#0H@(" @(" @(" @
M(" \:F1B8RUC;&%S<RUM87 @='EP93TB8F%S92(@<&LM8V]L=6UN/2)*1$])
M1"(@=&%B;&4](E-#3U14+D1%4$%25$U%3E0Q(B\^#0H@(" @(" @(" @(" \
M:F1B8RUV97)S:6]N+6EN9"!T>7!E/2)V97)S:6]N+6YU;6)E<B(@8V]L=6UN
M/2)*1$]615)324].(B\^#0H@(" @(" @(" @(" \:F1B8RUC;&%S<RUI;F0@
M='EP93TB:6XM8VQA<W,M;F%M92(@8V]L=6UN/2)*1$]#3$%34R(O/@T*(" @
M(" @(" @(" @/&9I96QD(&YA;64](F5M<&QO>65E<R(^#0H@(" @(" @(" @
M(" @(" @/&ID8F,M9FEE;&0M;6%P('1Y<&4](FUA;GDM;6%N>2(@96QE;65N
M="UC;VQU;6XN2D1/240](D5-4$Q/645%4U]*1$])1"(@;W)D97(M8V]L=6UN
M/2)%35!,3UE%15-?3U)$15(B(')E9BUC;VQU;6XN2D1/240](DI$3TE$(B!T
M86)L93TB4T-/5%0N1$5005)?14U03$]91453,2(O/@T*(" @(" @(" @(" @
M/"]F:65L9#X-"B @(" @(" @(" @(#QF:65L9"!N86UE/2)N86UE(CX-"B @
M(" @(" @(" @(" @(" \:F1B8RUF:65L9"UM87 @='EP93TB=F%L=64B(&-O
M;'5M;CTB3D%-13 B+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @
M(#PO8VQA<W,^#0H@(" @(" @(#QC;&%S<R!N86UE/2)%;7!L;WEE92(^#0H@
M(" @(" @(" @(" \:F1B8RUC;&%S<RUM87 @='EP93TB8F%S92(@<&LM8V]L
M=6UN/2)*1$])1"(@=&%B;&4](E-#3U14+D5-4$Q/645%,2(O/@T*(" @(" @
M(" @(" @/&ID8F,M=F5R<VEO;BUI;F0@='EP93TB=F5R<VEO;BUN=6UB97(B
M(&-O;'5M;CTB2D1/5D524TE/3B(O/@T*(" @(" @(" @(" @/&ID8F,M8VQA
M<W,M:6YD('1Y<&4](FEN+6-L87-S+6YA;64B(&-O;'5M;CTB2D1/0TQ!4U,B
M+SX-"B @(" @(" @(" @(#QF:65L9"!N86UE/2)N86UE(CX-"B @(" @(" @
M(" @(" @(" \:F1B8RUF:65L9"UM87 @='EP93TB=F%L=64B(&-O;'5M;CTB
M3D%-13 B+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(" @(" \
M9FEE;&0@;F%M93TB;G5M8F5R(CX-"B @(" @(" @(" @(" @(" \:F1B8RUF
M:65L9"UM87 @='EP93TB;VYE+6]N92(@8V]L=6UN+DI$3TE$/2).54U"15)?
M2D1/240B+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(#PO8VQA
M<W,^#0H@(" @(" @(#QC;&%S<R!N86UE/2)0:&]N92(^#0H@(" @(" @(" @
M(" \:F1B8RUC;&%S<RUM87 @='EP93TB8F%S92(@<&LM8V]L=6UN/2)*1$])
M1"(@=&%B;&4](E-#3U14+E!(3TY%,2(O/@T*(" @(" @(" @(" @/&ID8F,M
M=F5R<VEO;BUI;F0@='EP93TB=F5R<VEO;BUN=6UB97(B(&-O;'5M;CTB2D1/
M5D524TE/3B(O/@T*(" @(" @(" @(" @/&ID8F,M8VQA<W,M:6YD('1Y<&4]
M(FEN+6-L87-S+6YA;64B(&-O;'5M;CTB2D1/0TQ!4U,B+SX-"B @(" @(" @
M(" @(#QF:65L9"!N86UE/2)N=6UB97(B/@T*(" @(" @(" @(" @(" @(#QJ
M9&)C+69I96QD+6UA<"!T>7!E/2)V86QU92(@8V]L=6UN/2).54U"15(P(B\^
M#0H@(" @(" @(" @(" \+V9I96QD/@T*(" @(" @(" \+V-L87-S/@T*(" @
7(#PO<&%C:V%G93X-"CPO;6%P<&EN9SX`
`
end

Hi Marc & Ben ;-)
Thanks for the tips.
Yes, a few days back I turned debugging on but did not see anything
revealing.
I started suspecting that this was related to how Mapping information and
Schema information was being read and validated. I was previously using
"file" mapping/schema factories so I tried switch them to "db". I then
began getting the exact same error as I was getting in the application
server when simply trying to run the mapping tool from within JBuilder.....
I was excited because I thought I was on to something ;-) When looking into
it, I found that even though "db" was specified for the Mapping factory, the
JDO_MAPPING table was not getting generated. So, I went to the command line
and ran the tool which did the right thing and created the JDO_MAPPING
table. This fixed the problem. However, when I went back to the application
server it still failed with the same messages.
I am multi-tasking these days so ......I finally came back to this today and
thought the first thing I would do is upgrade from RC1 to RC2 just in case
something was fixed. I then rebuilt my .rar file with the new RC2 libs
and reinstalled .........now everything works fine!
Cheers,
-Robert
"Marc Prud'hommeaux" <[email protected]> wrote in message
news:[email protected]...
Robert-
The first step is to enable TRACE level JDBC and SQL logging and take a
look at the output. Also, have you tried to run this in a stand-alone
environment to see if you get the same problem?
In article <[email protected]>, Robert Greene wrote:
Hi Guys,
I am getting the following error when trying to create a persistent
object
through Weblogic/JCA under a SessionBean.
The error is pretty self explanitory, but still I am struggling to fix
this.
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping for type "businesstiered.Department" does not exist.
The package.mapping file is in my application .ear that was deployedthrough
JBuilder. Additionally, within the SessionBean, I have asked the
ConnectionFactory to getSchemas( ) and found that they are being scopedto
the default Oracle user (SCOTT) which is how I had configured the ra.xml
file. You can see this at the bottom of the application server stacktrace
below. So, it seems that the JCA adapter is loading well and I ampicking
up the factory settings just fine from the ra.xml file. I have lookedin
the Oracle database under Schema>>SCOTT>>Tables and find the exact table
names as those found in my package.mapping file.
Attached is the mapping file that is in the .ear Also, at the bottomof
the e-mail is an output from schemagen
Any suggestions?
java.rmi.RemoteException: EJB Exception: ; nested exception is:
kodo.util.UserException: kodo.util.UserException:
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping for type "businesstiered.Department" does not exist.
at
weblogic.rjvm.BasicOutboundRequest.sendReceive(BasicOutboundRequest.java:108
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:284)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:244)
at
businesstiered.Business_2fy0z4_EOImpl_810_WLStub.createDepartment(Unknown
Source)
atbusinesstiered.BusinessClient.createDepartment(BusinessClient.java:81)
at businesstiered.BusinessClient.main(BusinessClient.java:38)
Caused by: kodo.util.UserException: kodo.util.UserException:
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping for type "businesstiered.Department" does not exist.
at kodo.util.UserException.writeReplace(UserException.java:74)
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)
atjava.io.ObjectStreamClass.invokeWriteReplace(ObjectStreamClass.java:882)
atjava.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1011)
at
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
atjava.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
at
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
atjava.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at
weblogic.common.internal.ChunkedObjectOutputStream.writeObject(ChunkedObject
OutputStream.java:106)
at
weblogic.rjvm.MsgAbbrevOutputStream.sendThrowable(MsgAbbrevOutputStream.java
:358)
at
weblogic.rmi.internal.BasicServerRef.handleThrowable(BasicServerRef.java:524
atweblogic.rmi.internal.BasicServerRef.postInvoke(BasicServerRef.java:479)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:371)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
Here is the application server stack:
Getting Initial Context
Getting factory for connector named eis/kodoJCARDB
Got the factory
I am in the init method
I got the PersistenceManager
Oct 17, 2003 3:44:37 PM com.solarmetric.meta.XMLMetaDataParser parse
INFO: Parsing metadata resource
"zip:C:/DATA/WEBLOGIC81/vsntdomain/./myserver/up
load/BusinessBeans/BusinessBeans.jar!/businesstiered/package.jdo".
I got a JDO exception
kodo.jdbc.meta.MappingInfoNotFoundException: The table specified in the
mapping
for type "businesstiered.Department" does not exist.
at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:89)
at kodo.jdbc.meta.Mappings.invalidMapping(Mappings.java:75)
at
kodo.jdbc.meta.BaseClassMapping.fromMappingInfo(BaseClassMapping.java:150)
at
kodo.jdbc.meta.RuntimeMappingProvider.getMapping(RuntimeMappingProvider.java
:56)
at
kodo.jdbc.meta.MappingRepository.getMappingInternal(MappingRepository.java:3
42)
at
kodo.jdbc.meta.MappingRepository.getMapping(MappingRepository.java:297)
at
kodo.jdbc.meta.MappingRepository.getMappings(MappingRepository.java:272)
at
kodo.jdbc.meta.MappingRepository.getMetaDatas(MappingRepository.java:256)
at kodo.runtime.ExtentImpl.iterator(ExtentImpl.java:96)
at businesstiered.BusinessBean.init(BusinessBean.java:390)
at
businesstiered.BusinessBean.setSessionContext(BusinessBean.java:45)
at
businesstiered.Business_2fy0z4_Impl.setSessionContext(Business_2fy0z4_Impl.j
ava:111)
at
weblogic.ejb20.manager.StatelessManager.createBean(StatelessManager.java:267
at
weblogic.ejb20.pool.StatelessSessionPool.createBean(StatelessSessionPool.jav
a:157)
at
weblogic.ejb20.pool.StatelessSessionPool.getBean(StatelessSessionPool.java:1
09)
at
weblogic.ejb20.manager.StatelessManager.preInvoke(StatelessManager.java:140)
at
weblogic.ejb20.internal.BaseEJBObject.preInvoke(BaseEJBObject.java:130)
at
weblogic.ejb20.internal.StatelessEJBObject.preInvoke(StatelessEJBObject.java
:70)
at
businesstiered.Business_2fy0z4_EOImpl.createDepartment(Business_2fy0z4_EOImp
l.java:339)
at businesstiered.Business_2fy0z4_EOImpl_WLSkel.invoke(Unknown
Source)
at
weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:407)
at
weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java
:108)
at
weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:356)
at
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:353)
at
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:123)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:351)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:3
0)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:178)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:151)
SCHEMAS: SCOTT
Here is the output of schemagen
C:\DATA\WEBLOGIC>schemagen -propertiesC:\KODOPROP\Oracle_kodo.properties
0 [main] INFO jdbc.JDBC - Waited 641 milliseconds for connection conn
15277917. This might indicate that you need to increase your connection
pool size.
250 [main] INFO jdbc.JDBC - Using dictionary class
"kodo.jdbc.sql.OracleDictionary" (Oracle Oracle9i Enterprise EditionRelease
9.2.0.1.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.1.0 - Production ,Oracle JDBC driver 9.2.0.1.0).
280 [main] INFO kodo.Tool - Schema generating running on schemas"SCOTT".
This process may take some time. Enable the kodo.jdbc.Schema logging
category to se
e messages about the collection of schema data.
290 [main] INFO jdbc.Schema - Generating tables for schema name"SCOTT",
table name "null".
361 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.DEPARTMENT1".
361 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.DEPAR_EMPLOYEES1".
371 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.EMPLOYEE1".
381 [main] INFO jdbc.Schema - Generating column information for table
"SCOTT.PHONE1".
391 [main] INFO jdbc.Schema - Generating primary keys for schema name
"SCOTT", table name "null".
411 [main] INFO jdbc.Schema - Generating indexes keys for schema name
"SCOTT", table name "null".
421 [main] INFO jdbc.Schema - Generating foreign keys keys for schemaname
"SCOTT", table name "null".
431 [main] INFO kodo.Tool - Writing XML schema.
<?xml version="1.0" encoding="UTF-8"?>
<schemas>
<schema name="SCOTT">
<table name="DEPARTMENT1">
<pk name="P_DEPARTMENT1" column="JDOID"/>
<column name="JDOCLASS" type="varchar" size="255"/>
<column name="JDOID" type="decimal" not-null="true"size="22"/>
<column name="JDOVERSION" type="decimal" size="22"/>
<column name="NAME0" type="varchar" size="255"/>
<index name="I_DPRTNT1_JDOCLASS" column="JDOCLASS"/>
<index name="P_DEPARTMENT1" unique="true" column="JDOID"/>
</table>
<table name="DEPAR_EMPLOYEES1">
<column name="EMPLOYEES_JDOID" type="decimal" size="22"/>
<column name="EMPLOYEES_ORDER" type="decimal" size="22"/>
<column name="JDOID" type="decimal" size="22"/>
<index name="I_DPR_YS1_EMPLOYEES" column="JDOID"/>
<index name="I_DPR_YS1_EMPLOYEES1"column="EMPLOYEES_JDOID"/>
</table>
<table name="EMPLOYEE1">
<pk name="P_EMPLOYEE1" column="JDOID"/>
<column name="JDOCLASS" type="varchar" size="255"/>
<column name="JDOID" type="decimal" not-null="true"size="22"/>
<column name="JDOVERSION" type="decimal" size="22"/>
<column name="NAME0" type="varchar" size="255"/>
<column name="NUMBER_JDOID" type="decimal" size="22"/>
<index name="I_MPLOYE1_JDOCLASS" column="JDOCLASS"/>
<index name="I_MPLOYE1_NUMBER" column="NUMBER_JDOID"/>
<index name="P_EMPLOYEE1" unique="true" column="JDOID"/>
</table>
<table name="PHONE1">
<pk name="P_PHONE1" column="JDOID"/>
<column name="JDOCLASS" type="varchar" size="255"/>
<column name="JDOID" type="decimal" not-null="true"size="22"/>
<column name="JDOVERSION" type="decimal" size="22"/>
<column name="NUMBER0" type="varchar" size="255"/>
<index name="I_PHONE1_JDOCLASS" column="JDOCLASS"/>
<index name="P_PHONE1" unique="true" column="JDOID"/>
</table>
</schema>
</schemas>
begin 666 package.mapping
M/#]X;6P@=F5R<VEO;CTB,2XP(B!E;F-O9&EN9STB551&+3@B/SX-"@T*/&UA
M<'!I;F<^#0H@(" @/'!A8VMA9V4@;F%M93TB8G5S:6YE<W-T:65R960B/@T*
M(" @(" @(" \8VQA<W,@;F%M93TB1&5P87)T;65N="(^#0H@(" @(" @(" @
M(" \:F1B8RUC;&%S<RUM87 @='EP93TB8F%S92(@<&LM8V]L=6UN/2)*1$])
M1"(@=&%B;&4](E-#3U14+D1%4$%25$U%3E0Q(B\^#0H@(" @(" @(" @(" \
M:F1B8RUV97)S:6]N+6EN9"!T>7!E/2)V97)S:6]N+6YU;6)E<B(@8V]L=6UN
M/2)*1$]615)324].(B\^#0H@(" @(" @(" @(" \:F1B8RUC;&%S<RUI;F0@
M='EP93TB:6XM8VQA<W,M;F%M92(@8V]L=6UN/2)*1$]#3$%34R(O/@T*(" @
M(" @(" @(" @/&9I96QD(&YA;64](F5M<&QO>65E<R(^#0H@(" @(" @(" @
M(" @(" @/&ID8F,M9FEE;&0M;6%P('1Y<&4](FUA;GDM;6%N>2(@96QE;65N
M="UC;VQU;6XN2D1/240](D5-4$Q/645%4U]*1$])1"(@;W)D97(M8V]L=6UN
M/2)%35!,3UE%15-?3U)$15(B(')E9BUC;VQU;6XN2D1/240](DI$3TE$(B!T
M86)L93TB4T-/5%0N1$5005)?14U03$]91453,2(O/@T*(" @(" @(" @(" @
M/"]F:65L9#X-"B @(" @(" @(" @(#QF:65L9"!N86UE/2)N86UE(CX-"B @
M(" @(" @(" @(" @(" \:F1B8RUF:65L9"UM87 @='EP93TB=F%L=64B(&-O
M;'5M;CTB3D%-13 B+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @
M(#PO8VQA<W,^#0H@(" @(" @(#QC;&%S<R!N86UE/2)%;7!L;WEE92(^#0H@
M(" @(" @(" @(" \:F1B8RUC;&%S<RUM87 @='EP93TB8F%S92(@<&LM8V]L
M=6UN/2)*1$])1"(@=&%B;&4](E-#3U14+D5-4$Q/645%,2(O/@T*(" @(" @
M(" @(" @/&ID8F,M=F5R<VEO;BUI;F0@='EP93TB=F5R<VEO;BUN=6UB97(B
M(&-O;'5M;CTB2D1/5D524TE/3B(O/@T*(" @(" @(" @(" @/&ID8F,M8VQA
M<W,M:6YD('1Y<&4](FEN+6-L87-S+6YA;64B(&-O;'5M;CTB2D1/0TQ!4U,B
M+SX-"B @(" @(" @(" @(#QF:65L9"!N86UE/2)N86UE(CX-"B @(" @(" @
M(" @(" @(" \:F1B8RUF:65L9"UM87 @='EP93TB=F%L=64B(&-O;'5M;CTB
M3D%-13 B+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(" @(" \
M9FEE;&0@;F%M93TB;G5M8F5R(CX-"B @(" @(" @(" @(" @(" \:F1B8RUF
M:65L9"UM87 @='EP93TB;VYE+6]N92(@8V]L=6UN+DI$3TE$/2).54U"15)?
M2D1/240B+SX-"B @(" @(" @(" @(#PO9FEE;&0^#0H@(" @(" @(#PO8VQA
M<W,^#0H@(" @(" @(#QC;&%S<R!N86UE/2)0:&]N92(^#0H@(" @(" @(" @
M(" \:F1B8RUC;&%S<RUM87 @='EP93TB8F%S92(@<&LM8V]L=6UN/2)*1$])
M1"(@=&%B;&4](E-#3U14+E!(3TY%,2(O/@T*(" @(" @(" @(" @/&ID8F,M
M=F5R<VEO;BUI;F0@='EP93TB=F5R<VEO;BUN=6UB97(B(&-O;'5M;CTB2D1/
M5D524TE/3B(O/@T*(" @(" @(" @(" @/&ID8F,M8VQA<W,M:6YD('1Y<&4]
M(FEN+6-L87-S+6YA;64B(&-O;'5M;CTB2D1/0TQ!4U,B+SX-"B @(" @(" @
M(" @(#QF:65L9"!N86UE/2)N=6UB97(B/@T*(" @(" @(" @(" @(" @(#QJ
M9&)C+69I96QD+6UA<"!T>7!E/2)V86QU92(@8V]L=6UN/2).54U"15(P(B\^
M#0H@(" @(" @(" @(" \+V9I96QD/@T*(" @(" @(" \+V-L87-S/@T*(" @
7(#PO<&%C:V%G93X-"CPO;6%P<&EN9SX`
`
end
Marc Prud'hommeaux [email protected]
SolarMetric Inc. http://www.solarmetric.com

Similar Messages

  • Migrating applciation from weblogic to oracle 9i application server(OC4J)??????

    Hi,
    I am migrating my ejb application from weblogic to oracle 9i application server.What changes are needed to be made in code and what configuration changes are required.
    In my application i use a couple of session beans wherin a session bean calls the method of the other session bean which acceses the database.I am using a jdbc thin driver for the database connection. is it possible for a session bean to call a method of another session bean which access the database??This concept works well in weblogic where the current application is running.
    The problem is that while migrating the application to the orion server, it gives an OrionCMTException ...
    memory leak..etc.
    Could any one clarify.
    Thanks in advance!!!

    Hi Avi and Harrison,
    Cease Fire avi!!!!.First of all let me clear the issue of posting the same problem twice.Well, when i mentioned the problem the first time , i found the title session bean deployment was not right and few people would look into it as it was a common problem so i thought it would be appropriate if i mentioned the title correctly , so i posted the query again with the change in title.
    Now coming to the answer for ur questions.
    The platform used is MS Windows NT.
    The (OC4J) version is 1.0.2.2.1.
    I am not using JDeveloper.
    The database is oracle 8i and i am using the thin driver.
    The beans to be deployed are stateless session beans.
    The client involved is a web client i.e a jsp application.
    The first session bean is as follows.
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import java.sql.SQLException;
    import java.util.Vector;
    import java.sql.Timestamp;
    import java.rmi.RemoteException;
    import java.util.Date;
    import javax.ejb.*;
    import javax.naming.*;
    import initcontext;
    import PrintMessage;
    import JB_B2B_ERROR_PARSER;
    * @stereotype SessionBean
    * @homeInterface DB_UTILITYHome
    * @remoteInterface DB_UTILITYRemote
    public class DB_UTILITY implements SessionBean
         private SessionContext context;
    private ResultSet rs = null;
    private Statement stmt = null;
    private Connection con = null;
    private PrintMessage print = null;
    public DB_UTILITY()
    rs = null;
    stmt = null;
    con = null;
    print = new PrintMessage();
         public Connection getConnection()throws RemoteException
              InitialContext initctx = null;
              Connection con = null;
              try
                   initctx = initcontext.getContext();
                   javax.sql.DataSource ds =
    (javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
                   con = ds.getConnection();
    //(javax.sql.DataSource)initctx.lookup("java:comp/env/jdbc/ePool");
    catch(NamingException namingexception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", namingexception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("AppError",
    "Epool-10001", "DB_UTILITY.getConnection"));
    catch(SQLException sqlexception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", sqlexception);
    throw new
    epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
    JB_B2B_ERROR_PARSER.getSQLCode(sqlexception),
    "DB_UTILITY.getConnection"));
    catch(Exception exception)
    print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", exception);
    throw new
    epoolException(JB_B2B_ERROR_PARSER.getErrorMessage("EpoolError",
    "Epool10005", "DB_UTILITY.getConnection"));
              return con;
         public String getDate()throws RemoteException
              String Date=null;
              try
                   con=getConnection();
                   stmt=con.createStatement();
                   rs=stmt.executeQuery("SELECT
    TO_CHAR(SYSDATE,'YYYY-MM-DD HH:MI:SS') FROM DUAL");
                   while(rs.next())
                        Date=rs.getString(1);
                   stmt.close();
                   con.close();
    catch(SQLException sqlexception)
         print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", sqlexception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("DBError",
    JB_B2B_ERROR_PARSER.getSQLCode(sqlexception), "DB_UTILITY.getDate"));
    catch(Exception exception)
         print.printUserMessage("DB_UTILITY", (new
    Date()).toString(), "", exception);
    throw new
    EpoolException(JB_B2B_ERROR_PARSER.getErrorMessage("epoolError",
    "Epool10005", "DB_UTILITY.getDate"));
    finally
    try
    if(con != null && !con.isClosed())
    con.close();
    catch(Exception exception2)
    stmt = null;
    con = null;
              return Date;
         public void setSessionContext(SessionContext context)
              this.context = context;
         public void ejbActivate()
         public void ejbPassivate()
         public void ejbCreate()
         public void ejbRemove()
    Also the xml files are as follows.
    web.xml
    <?xml version="1.0"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems,
    Inc.//DTD Web Application 2.2//EN"
    "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
    <web-app>
    <!-- A friendly name for this web application, this name can be used in visual development environments, for instance -->
    <display-name>AddressBook Web Application</display-name>
    <!-- A human-readable description of this web application -->
    <description>Web module that contains an HTML welcome page, and 4 JSP's.</description>
    <!-- The file(s) to show when no file is specified, i.e. only the directory is specified. -->
    <welcome-file-list>
    <welcome-file>B2B_COUNTRY_CODE.jsp</welcome-file>
    </welcome-file-list>
    <ejb-ref>
    <ejb-ref-name>SB_B2B_COUNTRY_CODEHome</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <home>SB_B2B_COUNTRY_CODEHome</home
    <remote>SB_B2B_COUNTRY_CODERemote</remote>
    </ejb-ref></web-app>
    Application.xml
    <?xml version="1.0"?>
    <!DOCTYPE application PUBLIC "-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN" "http://java.sun.com/j2ee/dtds/application_1_2.dtd">
    <application>
    <display-name>Country Code</display-name>
    <module>
    <ejb>epool_CountryCode-ejb.jar</ejb>
    </module>
    <module>
    <web>
    <web-uri>epool_CountryCode-web.war</web-uri>
    <context-root>/epool_CountryCode-web</context-root>
    </web>
    </module>
    </application>
    ejb-jar.xml:
    <?xml version="1.0"?>
    <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 1.1//EN" "http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd">
    <ejb-jar>
    <description>epool_CountryCode</description>
    <enterprise-beans>
    <session>
    <display-name>CountryCode Session
    Bean</display-name>
    <ejb-name>SB_B2B_COUNTRY_CODERemote</ejb-name>
    <home>SB_B2B_COUNTRY_CODEHome</home>
    <remote>SB_B2B_COUNTRY_CODERemote</remote>
    <ejb-class>SB_B2B_COUNTRY_CODE</ejb-class>
    <session-type>Stateless</session-type>
    <ejb-ref>
    <description>EJB Epool DButility</description>
         <ejb-ref-name>DB_UTILITYRemote</ejb-ref-name>
                   <ejb-ref-type>Session</ejb-ref-type>
                   <home>DB_UTILITYHome</home>
                   <remote>DB_UTILITYRemote</remote>
              </ejb-ref>
              <ejb-ref>
              <description>EJB Entity Bean</description>
    <ejb-ref-name>EB_B2B_COUNTRY_CODERemote</ejb-ref-name>
                   <ejb-ref-type>Entity</ejb-ref-type>
                   <home>EB_B2B_COUNTRY_CODEHome</home>
              <remote>EB_B2B_COUNTRY_CODERemote</remote>
              </ejb-ref>
    </session>
    <session>
    <display-name>DbUtility Session Bean</display-name>
    <ejb-name>DB_UTILITYRemote</ejb-name>
    <home>DB_UTILITYHome</home>
    <remote>DB_UTILITYRemote</remote>
    <ejb-class>DB_UTILITY</ejb-class>
    <session-type>Stateless</session-type>
    </session>
    <entity>
    <ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
         <home>EB_B2B_COUNTRY_CODEHome</home>
         <remote>EB_B2B_COUNTRY_CODERemote</remote>
         <ejb-class>EB_B2B_COUNTRY_CODE</ejb-class>
         <persistence-type>Container</persistence-type>
         <prim-key-class>EB_B2B_COUNTRY_CODEPK</prim-key-class>
         <reentrant>False</reentrant>
         <cmp-field>
         <field-name>country_code_desc</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>phone_format_flag</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_code</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>active_date</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>date_created</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>active_flag</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_phone_code</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>country_tax_percent</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>sort_order</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>date_modified</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>user_created</field-name>
         </cmp-field>
         <cmp-field>
         <field-name>user_modified</field-name>
         </cmp-field>
         <resource-ref>
         <description></description>
         <res-ref-name>jdbc/ePool</res-ref-name>
         <res-type>javax.sql.DataSource</res-type>
         <res-auth>Container</res-auth>
         </resource-ref>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
         <container-transaction>
              <method>
                   <ejb-name>EB_B2B_COUNTRY_CODERemote</ejb-name>
                   <method-name>*</method-name>
              </method>
              <trans-attribute>Required</trans-attribute>
    </container-transaction>
    <security-role>
    <description>Users</description>
    <role-name>users</role-name>
    </security-role>
    </assembly-descriptor>
    </ejb-jar>
    The session bean which uses the above session bean is as follows.
    import javax.ejb.SessionContext;
    import javax.ejb.SessionBean;
    import java.sql.*;
    import javax.naming.Context;
    import java.sql.Timestamp;
    import java.util.Vector;
    import initcontext;
    import DB_UTILITYHome;
    import DB_UTILITYRemote;
    import EB_B2B_COUNTRY_CODEHome;
    import EB_B2B_COUNTRY_CODERemote;
    import EB_B2B_COUNTRY_CODEPK;
    * @stereotype SessionBean
    * @homeInterface SB_B2B_COUNTRY_CODEHome
    * @remoteInterface SB_B2B_COUNTRY_CODERemote
    public class SB_B2B_COUNTRY_CODE implements SessionBean
         private SessionContext context;
         * Sets the context of the bean
         * @param context The Bean's Context
         public Vector selectCountryCode(String query,String
    countquery, String pagenos) throws Exception
              Context ctx = initcontext.getContext();
              Connection con=null;
              Vector records=new Vector();
              int pageno=Integer.parseInt(pagenos);
              int min=(pageno-1)*10;
              int max=pageno*10;
              int counter=0;
              boolean recordsfound=false;     
              try
                   DB_UTILITYHome home =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
                   DB_UTILITYRemote remote =
    (DB_UTILITYRemote)home.create();
                   con=remote.getConnection();
                   Statement stmt = con.createStatement();
                   ResultSet rscount =
    stmt.executeQuery(countquery);
                   while(rscount.next())
                        int temp=rscount.getInt(1);
                        int pagecount=temp;
                        pagecount=pagecount/10;
                        if((temp%10)>0)
                        pagecount=pagecount+1;               
                        records.addElement(""+pagecount);
                   ResultSet rs = stmt.executeQuery(query);
                   while(rs.next())
                        counter++;
                        if(counter>min && counter<=max)
                             String row[]=new String[8];     
                             recordsfound=true;
                             row[0]=rs.getString(1);
                             row[1]=rs.getString(2);
                             row[2]=rs.getString(3);
                             row[3]=rs.getString(4);
                             row[4]=rs.getString(5);
                             row[5]=rs.getString(6);
                             row[6]=rs.getString(7);
                             row[7]=rs.getString(8);          
                             records.addElement(row);
              con.close();               
              catch(Exception e)
                   System.out.println("Error in selecting Country
    Code "+e);
                   throw new Exception("Error in selecting Country
    Code "+e);
              return(records);     
         public void insertCountryCode(String country_code, String
    country_code_desc, String country_phone_code, String
    phone_format_flag,String active_flag, String sort_order,String
    country_tax_percent)throws Exception
              Context ctx = initcontext.getContext();
              Double Sort_Order=null;
              Double cntry_tax_prct=null;
              if(sort_order!=null && sort_order.length()>0)          
              Sort_Order=new Double(sort_order);          
              if(country_tax_percent!=null &&
    country_tax_percent.length()>0)          
              cntry_tax_prct=new Double(country_tax_percent);
              String user_created=null;
              Timestamp date_created=null;
              Timestamp active_date=null;
              String user_modified=null;
              Timestamp date_modified=null;          
              try
                   DB_UTILITYHome dbhome =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
                   DB_UTILITYRemote dbremote =
    (DB_UTILITYRemote)dbhome.create();
                   user_created=dbremote.getUser();
    date_created=Timestamp.valueOf(dbremote.getDate());
                   active_date=date_created;
                   EB_B2B_COUNTRY_CODEHome home =
    (EB_B2B_COUNTRY_CODEHome)ctx.lookup("java:comp/env/EB_B2B_COUNTRY_CODER
    emote");
                   EB_B2B_COUNTRY_CODERemote remote =
    (EB_B2B_COUNTRY_CODERemote)home.create(country_code, country_code_desc,
    country_phone_code,active_flag, phone_format_flag,user_created,
    date_created, active_date, Sort_Order, user_modified,
    date_modified,cntry_tax_prct);                              
              catch(Exception e)
                   System.out.println("Error in Creating COUNTRY
    Code "+e);
                   throw new Exception("Error in Creating COUNTRY
    Code "+e);
         public void setSessionContext(SessionContext context)
              this.context = context;
         public void ejbActivate()
         public void ejbPassivate()
         public void ejbCreate()
         public void ejbRemove()
    The jsp client which acces the beans is as follows.
    <BODY >
    <%@ page language="java" %>
    <%@ page import="java.sql.*" %>
    <%@ page import="initcontext" %>
    <%@ page import = "java.util.*" %>
    <%@ page import="DB_UTILITYHome"%>
    <%@ page import="DB_UTILITYRemote"%>
    <%@ page import="javax.naming.*"%>
    <%Connection con=null; %>
    <script src="search_getvalues.js">
    </script>
    <form name=frm1>
    <%! int intCount,intI,intRowCount,intJ;
    String strtname=new String();
    String strhidden=new String("txthdn");
         Statement st;
         ResultSet rs;
         ResultSetMetaData rmeta;
    ....%>
    <%
    try
         Context ctx = initcontext.getContext();
         DB_UTILITYHome dbhome =
    (DB_UTILITYHome)ctx.lookup("java:comp/env/DB_UTILITYRemote");
         DB_UTILITYRemote dbremote = (DB_UTILITYRemote)dbhome.create();
         con=dbremote.getConnection();
         st=con.createStatement();
         rs=st.executeQuery(strsqlquery);
         rmeta=rs.getMetaData();
    intCount=rmeta.getColumnCount();
    ....... %>
    </form>
    </BODY>
    </HTML>
    The resulting exception generated is as follows:
    D:\oc4j\j2ee\home>java -jar orion.jar
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e.ear... done.
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e\epool_CountryCode-web.war... done.
    Auto-deploying epool_CountryCode (New server version detected)...
    Auto-deploying epool_CountryCode-ejb.jar (No previous deployment
    found)... done.
    Error deploying
    file:/D:/oc4j/j2ee/home/demo/messagelogger/messagelogger-ejb.jar homes:
    No javax.jms.Destination found a
    t the specified destination-location (jms/theTopic) for
    MessageDrivenBean com.evermind.logger.MessageLogger
    Oracle9iAS (1.0.2.2.1) Containers for J2EE initialized
    Auto-deploying epool countryCode example (New server version
    detected)...
    ************************1
    ************************2
    COUNT QUERY :SELECT COUNT(COUNTRY_CODE) FROM BAP_COUNTRY_CODE
    QUERY :SELECT
    COUNTRY_CODE,COUNTRY_CODE_DESC,COUNTRY_PHONE_CODE,PHONE_FORMAT_FLAG,COU
    NTRY_TAX_PERCENT ,SORT_ORDER,ACTIVE
    FLAG,ACTIVEDATE FROM BAP_COUNTRY_CODE order by COUNTRY_CODE
    Error in selecting Country Code java.rmi.RemoteException: Error
    (de-)serializing object: com.evermind.sql.OrionCMTConnec
    tion; nested exception is:
    java.io.NotSerializableException:
    com.evermind.sql.OrionCMTConnection
    JB:Error in selecting country cd java.lang.Exception: Error in
    selecting Country Code java.rmi.RemoteException: Error (d
    e-)serializing object: com.evermind.sql.OrionCMTConnection; nested
    exception is:
    java.io.NotSerializableException:
    com.evermind.sql.OrionCMTConnection
    Error in Selecting Records
    OrionCMTConnection not closed, check your code!
    LogicalDriverManagerXAConnection not closed, check your code!
    (Use -Djdbc.connection.debug=true to find out where the leaked
    connection was created)
    Auto-unpacking
    D:\oc4j\j2ee\home\applications\epool_CountryCode\build\epool_CountryCod
    e.ear... Error unpacking: IO Error:
    The system cannot find the path specified
    Error updating application epool_CountryCode: Unable to find/read
    assembly info for D:\oc4j\j2ee\home\applications\epool_C
    ountryCode\build\epool_CountryCode (META-INF/application.xml)
    But if the DBUTILITY session bean is changed to a simple bean and accessed the code works fine and i am able to retrieve the data.Is the problem there because u one session bean cannot access a database connection method from another one or could it be because of the driver???
    I hope i am clear.Please revert back in case any more references are needed.
    Thanks in advance!!!!!!

  • /JOB/ DC - Java , J2EE **  Weblogic**, Sybase/oracle, Swing, Solaris/Unix, NT.

    All,
    Let me know if you're interested, I'll supply contact details
    =============================================
    A major financial services company in the D.C. area that
    is looking for Java developers with 5 + years experience
    in web dev/ internet technologies (Java 2 Certification
    strongly preferred ) and one or more of the following:
    Java , J2EE ** Weblogic**, Sybase/oracle, Swing, Solaris/Unix, NT.
    You will be responsible for defining and documenting
    requirements and developing solutions to business problems.
    Design Develop, upgrade, test, implement and document software
    components of client/server applications and/or internet/web
    based systems. Contribute to all phases of the software
    development cycle.
    =============================================
    Slava

    You have to create a datasource on WebLogicb with the JNDI name: jdbc/ADFDBDS
    The steps involved to create a datasource can be found here: http://download.oracle.com/docs/cd/E17904_01/apirefs.1111/e13952/taskhelp/jdbc/jdbc_datasources/CreateDataSources.html

  • Weblogic and Oracle VM

    Hi all,
    Is Weblogic certified to run on an operating system such as Oracle Enterprise Linux (OEL 5.x) that is running on an Oracle VM? Metalink note "Oracle VM General Policy Description [ID 466538.1]" makes me hesitant about Weblogic on Oracle VM. Also the metalink note "Certified Software on Oracle VM [ID 464754.1]" did not seem to give a clear indication about Weblogic.
    Thanks,

    See these two points (http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html):
    # If an Oracle product has been certified against and is supported on a version of Red Hat Enterprise Linux (RHEL),
    it is automatically certified and supported on the corresponding version of Oracle Linux . (e.g., RHEL4->Oracle Linux 4, RHEL5->Oracle Linux 5).
    # If a product is supported and certified on Oracle Linux or RHEL, it is also certified and supported in the virtualized
    installation of the same version of Oracle Linux or RHEL running on Oracle VM. (e.g. Oracle Linux 4 -> Oracle Linux 4 on Oracle VM,
    Oracle Linux 5 -> Oracle Linux 5 on Oracle VM, RHEL4 -> RHEL4 on Oracle VM, RHEL 5 -> RHEL5 on Oracle VM).
    Oracle recommends using latest updates levels and Oracle VM versions available.
    Looks like Oracle Enterprise Linux (OEL 5.x) that is running on an Oracle VM is certified.

  • WebLogic versus Oracle Application Server

    Probably a stupid question but what is the difference between WebLogic and Oracle Application Server or are they the same thing?

    Hi,
    Please see below link..it might clear some of your doubts:-
    http://orachat.com/oracle-application-server-oracle-weblogic-server/
    Thanks,
    JD

  • Hibernate OR EclipseLink...Which is best with Weblogic and Oracle DB?

    Hi All,
    In my company, we are using Oracle DB and Weblogic application server. So in the process to upgrade or switch to new ORM, we shortlisted two options - Hibernate and EclipseLink.
    I gathered following summary regarding both ORMs -
    Hibernate:
    1.     When you need to train people, like we are going to do next week – most of the companies have Hibernate experts.
    2.     When you hire new developers, most of them come with specific Hibernate experience.
    3.     When you need to consult with experts, both in the internet or consultants, you have LOTS of options. Endless forums and communities all regarding Hibernate.
    4.     Hibernate is an open source which has a huge community. This means that it will be improved all the time and will push the ORM market forward.
    5.     Hibernate is an open source which means you have the code to handle, and in case needed, fit it to your needs.
    6.     There are lots of plugins to Hibernate, such as validations tool, audit tools, etc. These becomes standard as well and dismiss you from impl. things yourself.
    7.     One most important thing with ORM tool, is to configure it according to your application’s needs. Usually the default setting doesn’t fit to your needs.
    For that sake, when the market has a huge experience with the tool’s configuration, and lots of experts (see point 1 and 3) – most of chances you will find similar cases and
    lots of knowledge about how to configure the tool and thus – your application.
    EclipseLink:
    1. Fully supported by Oracle. Hibernate no. In case of pb, it could be cumbersome to prove that it is a pure Weblogic one. Concretely, we will have to prove it (waste of time and complexity).
    2. Eclipse link is developed by Oracle and the preferred ORM in the Weblogic /Oracle DB world.
    3. Even if at a certain time EclipseLink was a bit late compared to Hibernate (feature), EclipseLink evolved very fast and we can consider now that they close the gap.
    4. No additional fee as soon as you have Weblogic license. You will need to pays additional fee if you want some professional support on Hibernate.
    5. We are currently relying on Hibernate for our legacy offer and are facing pb in second level cache (JGroups). Today, we are riding off this part!. Consequences are limitation in clustering approach (perf)
    6. On EclipseLink side we do succeed to manage first and second level cache in a clustering approach.
    7. Indeed Hibernate is open source, so you can imagine handling it. In reality, the code is so complex that it is nearly impossible to modify it. Moreover as it is LGPL, you need to feedback all the modified sources to the community systematically.
    8. All tests performed by Oracle concerning Weblogic are using EclipseLink. Moreover, Oracle says that some specific optimizations are done to manage Oracle DB.
    9. Hibernate comes from JBoss community.
    Right now we are preferring Hibernate but there are concerns/reasons like EclipseLink developed by Oracle and preferred ORM in Webogic/ Oracle DB world (compatibility of ORM with DB and App. server), support comparison with both ORM, which are preventing to finalize the decision.
    Please help me with you views and opinions and share you experience with us so that we can make a perfect decision.
    If you want you can also reply to me @ [email protected].
    Thanks.

    The way the ORMs are designed, integration with application servers are relatively simple, and all provides the same features. Also since WebLogic have been around for a while, all ORMs are all well tested in this configuration.
    Hibernate has lot more users, and is likely very often used with Oracle DB, so you can expect not much bug against Oracle DB, maybe even less bug than EclipseLink, which is not much used. EclipseLink does provide support for some esoteric Oracle DB features like hierarchical and flashback queries.
    OpenJPA and DataNucleus are also JPA compliant. It’s likely that Open JPA has a higher user base than EclipseLink, so less unknown bugs.
    Oracle paying support is well known to be a bad joke. It’s a negative return to use this channel, even if they would be free. So in reality, you end up to use the open (free) forum to get support.
    What’s was lacking with Hibernate before is Dynamic Fetch Planning, but they now have some support, see http://opensource.atlassian.com/projects/hibernate/browse/HHH-3414. OpenJPA was the first to implement this must have.
    EclipseLink has query in memory, which can be used, but the API do not help to leverage it, and EclipseLink’s leadership made it clear that they are not going to make it better, instead they want to push Coherence cache.
    Hibernate has an open API for second level cache, which mean you can get out of problem by using another implementation, for example, EHCache seems to be professionally tested, so I would be surprise you find obvious bugs.
    I cannot comment on Hibernate source code quality, but I can tell you that locking mechanism in EclipseLink is used to be very fragile, and many concepts are dispersed over the code base.
    The runtime monitoring of Hibernate have always been great due to the fact that JBoss have always been strong on JMX, EclipseLink has not much usable features on this.
    If I would be you, I would consider OpenJPA or Hibernate instead of EclipseLink, the main reason is that because EclipseLink has a so low user base, I have found lot of obvious bugs in production, like if I was the only user of it. Then, when I submitted bugs to the small development team, which do not encourage user base contribution, they were too busy trying to keep up adding the JPA interfaces on top of their existing proprietary APIs.

  • Oracle WebLogic Server - Oracle Spatial NDM-LOD Implementation

    Hi,
    I have a Network Data Model using Load on Demand approach implementation in Oracle WebLogic Server. Upon uploading of the java web service to my WebLogic Server, everything works fine and I can do network analysis functions using the LOD API.
    My problem is, whenever I add additional data to my Nodes and Links table, or I totally deleted all records in my Nodes and Links and repopulated the table with new data, I encounter the error Start node cannot be found.
    This are my sample screenshots for your reference.
    Initial Uploading of Java Web Service (Network Analysis Functions are working):
    http://sdrv.ms/1i3Gw6s
    After I Deleted all Nodes and Links data and repopulate new Network Data, I encounter Start node cannot be found:
    http://sdrv.ms/1i3FDuM
    But if you are going to look at my Node Table below, the node is existing in the database.
    http://sdrv.ms/1i3G8F4
    The only solution that I found to resolve this error is to update or redeploy the Java Web Service that have my Network Analysis functions. But this solution is basically not acceptable since my network data is constantly changing and more nodes and links are being added everyday.
    Does anyone have any Idea on how to resolve this without updating or redeploying my Java Web Service?

    Hi,
    I would like to follow-up with my inquiry above.

  • Error when tyring to create ArrayDescriptors in Weblogic for Oracle

    Has anyone every tried to pass arrays to a oracle callable statement within weblogic and recieved the following error?
    java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection
    at oracle.sql.ArrayDescriptor.createDescriptor(ArrayDescriptor.java:87)
    Or has anyone ever gotten this error when trying to use the setObject method - (SQLException Cannot bind object type:) and if so what does it mean.

    Hi Anver
    I am getting this error when I am trying to create ArrayDescriptor using JNDI WL server connection.
    Env :
    Oracle : 8.1.7
    WL Server : 6.1
    JDK : 1.3.1
    JDBC: 2.0 - classes12.zip
    Error Message :
    java.lang.ClassCastException: weblogic.jdbc.rmi.SerialConnection
    Please let me know if you had find any solution for this error.
    This is my code :
         public void testArray()
              Connection conn = null;
              ArrayList serialNumbers=new ArrayList();
              serialNumbers.add("296300");
              serialNumbers.add("296281");
              try
    ArrayDescriptor desc = ArrayDescriptor.createDescriptor("SERIALNUMS",conn.getMetaData().getConnection());
    ARRAY newArray = new ARRAY(desc, conn, serialNumbers.toArray());
    oracle.jdbc.driver.OracleCallableStatement cstmt =(oracle.jdbc.driver.OracleCallableStatement)conn.prepareCall("{call TRIP_WIZARD.GetTripCount(?,?,?)}");
                   cstmt.setARRAY(1,newArray);
                   cstmt.registerOutParameter(2,Types.NUMERIC);
                   cstmt.registerOutParameter(3,Types.VARCHAR);
                   String errDesc=cstmt.getString(3);
                   cstmt.execute();
                   cstmt.close();
              }catch(Exception e)
              System.out.println("Exception Occured :"+e.toString());
    Thanks a lot in advance.
    Rama.

  • Porting j2ee application from Weblogic to Oracle 10g AS

    What are the common guidelines/consideration when we port a J2EE application on Oracle Application server 10g. from WebLogic 8.1. If you have some inputs on pin points/guidelines/Architecture decisions that we might need to consider when we port a J2EE application on different J2EE application server
    I got the link for app server migration but it is broken :
    http://www.oracle.com/consulting/technology/appserver_migration_ds.pdf
    Our application uses the following J2EE components
    1. JDBC 2.0
    2. JNDI
    3. DAO
    4. EJB
    5. JMS
    6. JAAS
    7. JAVA Mails.
    8. Servlets, JSP’s
    I can think following point that needs to take care while porting
    1. Its deployment configuration vis-a-vis the apps on top
    2. The APIs it exposes (actually the information it allows the apps to pass in to the framework
    3. The data it encapsulates (in order to be app-server agnostic; does it need to be now exposed to apps?)
    Some J2EE specific areas
    1. JNDI usage and exposure to apps 2. Properties files/XML files
    2. Location specification 3. Resource bundle location specification
    4. EJB deployment descriptors
    5. Class/jar references between wars and ears
    6. Jar sharing model across ears
    7. Class loader differences across app-servers
    8. JMS settings (queues, topics, factories, durability etc)
    9. UI tags 10. Startup services
    11. Managed services (JMX)
    12. Security context passing
    13. Clustered configurations if any and how they port across app-servers
    Thanks
    Santosh Maskar

    This document is very old.
    Take a look at the recent migration guide in the Oracle AS 10.1.3.1 documentation
    http://download-uk.oracle.com/docs/cd/B31017_01/migrate.1013/b31269/toc.htm

  • Help Connecting Weblogic to Oracle.

    Hello,
    We are encountering some error to connect weblogic at start up to
    oracle 8i on a Solaris box. I have attached an error log file for the
    same. The Error is something to do with ORA-24327.
    The Fact is I am able to connect to oracle from NT Weblogic server,
    NT SQL, SVRMGRL . But when I try to connect to oracle from Solaris
    WebLogic I get this Error.
    Thanks in advance for the help.
    [weblogic.log]

    According to our jdbc engineer:
    ORA-24327 ("need explicit attach before authenticating a user")
    First, this is not one of our error codes. Its one of OCI's many ways of telling you it
    could not connect for some unknown reason. Unfortunately, this generally doesn't help
    solve the problem. Currently, I'm aware of
    two things that might cause this problem:
    1. Oracle client DLL/SO is not compatable with Oracle server or Oracle client
    installation. The former is a limitation of oracle that we can't do anything about.
    The latter often implies an installation problem or conflict with some other installed
    software. For example, some Oracle applications will install the OCI DLL in your path
    (most
    often in the windows system directory), thinking that its being helpful.
    Unfortunately, if your ORACLE_HOME is pointing to a different version of oracle, this
    will screw you. So if you get this error, one thing to check whether you have an old
    version of OCI (OCI.DLL and/or OCIW32.dll) somewhere in your path.
    2. More recently, I've learned that this error can also occur if your tnsnames.ora
    does not have a reference to the service you are trying to access.
    Hope this helps
    --Kumar
    Sheshadri Yagati wrote:
    Hello,
    We are encountering some error to connect weblogic at start up to
    oracle 8i on a Solaris box. I have attached an error log file for the
    same. The Error is something to do with ORA-24327.
    The Fact is I am able to connect to oracle from NT Weblogic server,
    NT SQL, SVRMGRL . But when I try to connect to oracle from Solaris
    WebLogic I get this Error.
    Thanks in advance for the help.
    Name: weblogic.log
    weblogic.log Type: Text Document (application/x-unknown-content-type-txtfile)
    Encoding: base64

  • Weblogic Portal + Oracle UCM

    Hi,
    Is there any way to connect Oracle UCM content repository to Weblogic Portal 9.2 or 10.2? Is it through Virtual Content Repository? If so, how to add a new repository to the virtual content repository. It is asking for the SPI class, username and password. It will be great if anyone elaborate on this.
    Let me tell you the scenario I am working on. I am implementing federated search (first source is HTTPFetch, second source is FileSystemFetch and the last source is Oracle content server). I have tried and tested the first 2 sources. They are working perfect. I am stuck with the third source. I do not know how to use Oracle content server as a connector to IDOL server. Is there any way for this? Also, I would like to know the purpose of BEACMRepoFetch.

    Hi,
    there seems to be a JCR repository adapter available for UCM: [http://download-east.oracle.com/docs/cd/E10316_01/ouc.htm|http://download-east.oracle.com/docs/cd/E10316_01/ouc.htm]
    I have no hands-on experience with it, though so maybe someone can share some practical experiences.
    There are quite a few ways to hook UCM and WLP together. JSR-170 is the standard way, I believe the above adapter is based on that. Additionally, you could have a [Service Provider Interface implementation|http://download.oracle.com/docs/cd/E13155_01/wlp/docs103/cmspi/index.html] that plugs UCM to WLP's Virtual Content Repository interface through UCM api.
    Yet another option is to use UCM API directly from portal app. This way you're obviously losing all the nice content related features in WLP such as content selectors, campaigns, content queries, tags, etc.
    Cheers,
    Petri

  • Problem setting up APEX 4 with WebLogic and Oracle XE

    I'm am trying to install and test Application Express 4 (latest version) on a brand new installation of Oracle WebLogic Server and Oracle XE.
    I have followed the Installation Guide for APEX and have successfully installed all tables and scripts into my Oracle XE schema and am able to connect to the Application Express Workspace login page (http://localhost:8080/apex) but am not able to log in. All styles and images are missing.
    I have followed the steps in the Application Express Listener Guide to install the Listener to my WebLogic deployments and have my i.war and apex.war files deployed but these apparently are not working. When I go to my WebLogic server and view the /apex/ListenerConfigure page I can see the page but get an HTTP 404 "Page Not Found" error and appears to be looking for the WLS's apex/apex directory.
    Note: My Oracle XE / APEX setup is on a separate server than my WebLogic server.
    Also, I see the APEX Listener file (apex-confix.xml) from the install zip file but I don't believe it is being used anywhere, as the documentation never told me what to do with it.
    Any help would be awesome. Let me know what I can provide that I haven't. Thanks!

    Thank you, I was able to use what you said as well as this information here: Installing Apex 4 on Oracle XE:  Almost there, but no cigar yet!
    Thank you for the help :)

  • Weblogic running oracle down

    We have a client appliication making remote calls to weblogic (ejb, jms, etc.). When oracle goes down however, the client locks up, stuck in the remote ejb call. The ejb is likely stuck timing out on the sql connection.
    Anyhow, this timeout is excessive. How can the client be made to take control again, if a remote ejb call is not 'answered' within x seconds?
    BTW, it's not as though the first timeout is long and thereafter it times out quickly. Every time you look up the ejb, it is found, however the ejb method call takes very long to timeout, when discovering oracle is not available.
    This has to be a common problem, and there must be a common solution.

    We have a client appliication making remote calls to weblogic (ejb, jms, etc.). When oracle goes down however, the client locks up, stuck in the remote ejb call. The ejb is likely stuck timing out on the sql connection.
    Anyhow, this timeout is excessive. How can the client be made to take control again, if a remote ejb call is not 'answered' within x seconds?
    BTW, it's not as though the first timeout is long and thereafter it times out quickly. Every time you look up the ejb, it is found, however the ejb method call takes very long to timeout, when discovering oracle is not available.
    This has to be a common problem, and there must be a common solution.

  • TopLink on WebLogic or oracle.toplink.PersistenceProvider

    Hy.
    I have applied patch 5KXF to add toplink 11g on WebLogic 10.3.
    Now, in BEA_HOME\patch_wls1030\patch_jars\ there is toplink.jar.
    But how can I use it?
    Inside toplink.jar there is file META-INF\services\META-INF\services\javax.persistence.spi.PersistenceProvider.
    I assume that content of this file is the name of the implementation class.
    It is "oracle.toplink.PersistenceProvider".
    But when I put this name in persistence.xml and try to deploy my EAR, this message appears
    =====================================================================================================
    weblogic.deployment.EnvironmentException: Error processing persitence unit toplink of module toplink.jar: Error instantiating the Persistenc
    e Provider class oracle.toplink.essentials.PersistenceProvider of the PersistenceUnit toplink: java.lang.ClassNotFoundException: oracle.topl
    ink.essentials.PersistenceProvider
    at weblogic.deployment.PersistenceUnitInfoImpl.createEntityManagerFactory(PersistenceUnitInfoImpl.java:322)
    at weblogic.deployment.PersistenceUnitInfoImpl.<init>(PersistenceUnitInfoImpl.java:123)
    at weblogic.deployment.AbstractPersistenceUnitRegistry.storeDescriptors(AbstractPersistenceUnitRegistry.java:331)
    at weblogic.deployment.AbstractPersistenceUnitRegistry.loadPersistenceDescriptor(AbstractPersistenceUnitRegistry.java:245)
    at weblogic.deployment.ModulePersistenceUnitRegistry.<init>(ModulePersistenceUnitRegistry.java:63)
    =====================================================================================================
    The persistence.xml file looks like
    =====================================================================================================
    <persistence-unit name="toplink">
    <provider>
    oracle.toplink.essentials.PersistenceProvider
    </provider>
    <jta-data-source>jdbc/miroslav_rehirDS</jta-data-source>
    </persistence-unit>
    =====================================================================================================
    One thing more .... In the filesistem I can't find class oracle.toplink.PersistenceProvider.
    On the other hand it is OK to put
    <provider>
    org.eclipse.persistence.jpa.PersistenceProvider
    </provider>
    Thanks four your replies,
    Miroslav

    Miroslav,
    You may be interested in the latest release of Oracle WebLogic Server.
    See the recent OTN post from 20110115 detailing the latest release of Oracle WebLogic Server and some retesting of the previous issues related to JSR-317 JPA 2.0 support below.
    11g Release 1 Patch Set 3 (WLS 10.3.4)
    The latest release of Oracle WebLogic Server has been available on OTN at the following location since 20110115.
    http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
    This release provides support for JSR-317 JPA 2.0 container managed applications using the QWG8 patch or a manual prepending classpath change.
    In 10.3.3.0 you were required to use the FilteringClassLoader via the *<wls:prefer-application-packages>* addition to your application managed persistence unit - this workaround as well as the persistence.xml renaming one is now fully deprecated and not required in 10.3.4.0 for both application and container managed persistence contexts.
    As of 20110115 the 5 outstanding issues below look to be fixed by applying the http://download.oracle.com/docs/cd/E17904_01/web.1111/e13720/using_toplink.htm#EJBAD1309 patch for QWG8 or manually prepending to the WebLogic 10.3.4.0 server classpath.
    commEnv.cmd: line 67
    @rem Set BEA Home
    set BEA_HOME=C:\opt\wls1034r20110115
    @rem Enable JPA 2.0 functionality on WebLogic Server 10.3.4 with the following patch line for commEnv.cmd:67
    set PRE_CLASSPATH=%BEA_HOME%\modules\javax.persistence_1.0.0.0_2-0-0.jar;%BEA_HOME%\modules\com.oracle.jpa2support_1.0.0.0_2-0.jar
    A JPA 2.0 EE application using EclipseLink as the JPA2 persistence provider on WebLogic is detailed in the analysis section below1) JPA 2.0 XSD parsing - verified
    2) New JPA 2.0 schema elements like <shared-cache-mode>NONE</shared-cache-mode> - verified
    3) JPA 2.0 runtime API like a entityManager.getMetamodel(); call on the Servlet or Stateless session bean - verified
    4) JPA 2.0 weaving/instrumentation - this will require a more detailed lazy model and more debugging to fully verify
    5) Dependency Injection of a container managed JPA 2.0 entityManager on a EJB component like a stateless session bean - verified
    http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#Enabling_JPA2_support
    OTN downloadhttp://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html
    Patching
    http://download.oracle.com/docs/cd/E18476_01/doc.220/e18480/weblogicchap.htm
    Documentationhttp://download.oracle.com/docs/cd/E17904_01/web.1111/e13852/toc.htm
    Supported Oracle WebLogic Server Versionshttp://download.oracle.com/docs/cd/E15315_06/help/oracle.eclipse.tools.weblogic.doc/html/SupportedServerVersions.html
    TopLink JPA 2.0 Specific documentation/patchinghttp://download.oracle.com/docs/cd/E17904_01/web.1111/e13720/using_toplink.htm#EJBAD1309
    EclipseLink Wiki: JPA 2.0 using EclipseLink on WebLogic analysis (XSD, Weaving, DI of @PersistenceContext)http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#Enabling_JPA2_support
    thank you
    /Michael O'Brien
    http://www.eclipselink.org

  • Java.io.StreamCorruptedException: Type code out of range, is 0, BLOB, Weblogic 7, Oracle 8i

    Test message

    Nagaraju wrote:
    Hi
    I am trying to insert a Java Object ( Serialized Bean) into Oracle BLOB. I am getting the following exception when reading back from Blob. Following is the code and the Exception stack is pasted below. I am using weblogic 7.0 Applcation server/Oracle 8.i
    If any body have an idea please let me know.
    Thanks is advance..
    Nagaraju.
    java.io.StreamCorruptedException: Type code out of range, is 0
    at java.io.ObjectInputStream.peekCode(ObjectInputStream.java:1551)
    at java.io.ObjectInputStream.refill(ObjectInputStream.java:1679)
    at java.io.ObjectInputStream.read(ObjectInputStream.java:1655)
    at java.io.DataInputStream.readInt(DataInputStream.java:333)
    at java.io.ObjectInputStream.readInt(ObjectInputStream.java:1975)
    at java.util.SimpleTimeZone.readObject(SimpleTimeZone.java:1437)Hi. Unless you post the whole stacktrace, or at least enough of it to show
    some weblogic or even jdbc classes, we can have no clue what this is about...
    Joe

Maybe you are looking for

  • Using calculation view in excel with input parameters

    Hello I have a calculation view which receives 2 input parameters for a range of dates, when i create the connecction with Excel i get the error "sql processing error: Hierarchy source query: SQL: column store error: search table error: [34092] searc

  • The most useful GPOs in Windows Server 2012R2

    What are in your opinion the most useful GPOs in Server 2012 R2 that improving the work of the administrator and raising level of network security. Cloud you share your opinion. please? This topic first appeared in the Spiceworks Community

  • HT4623 how to unlock disabled Ipad

    My Ipad disabled after loading IOS7 .First it offered a screen asking for password to unlock it ( I had never set up a password before) after several attempts to escape from this password window, unit became disabled.

  • Passing Parameters to reports - Help needed

    Dear All, I want to send multiple values in a sigle parameters(eg. PSerialNo) to report and use it in report. I have succeded upto constructing the values at form level as: '1','3','7','15' I want to use these values in reports like: Select x,y,z,a,b

  • LOGIN_USERNAME_COOKIE Explained

    I've been trying to discover what APEX uses the cookie named LOGIN_USERNAME_COOKIE for. I've searched the forums, and while the cookie is talked about often, I haven't seen a clear explanation of what APEX does with it. I've also searched the "2 Day