CMP support for Weblogic 8 in Oracle 10g?
Is the CMP support for Weblogic 8 included in Oracle Toplink 10g?
I am using 10g and have problem compiling CMP EJB for WL 8.1. I got the following exception:
Exception in thread "main" java.lang.NoSuchMethodError: weblogic.ejb20.persistence.spi.RoleSource.getName()Ljava/lang/String;
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.getEjbNameForRoleSource(WlsDescriptorBuilder.java:219)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.buildRelationshipRoleDescriptor(WlsDescriptorBuilder.java:206)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.buildRelationshipDescriptors(WlsDescriptorBuilder.java:177)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.buildRelationships(WlsDescriptorBuilder.java:157)
at oracle.toplink.internal.ejb.cmp.api.impl.DescriptorBuilder.buildDescriptor(DescriptorBuilder.java:153)
at oracle.toplink.internal.ejb.cmp.wls.WlsDescriptorBuilder.addOldDescriptors(WlsDescriptorBuilder.java:33)
at oracle.toplink.internal.ejb.cmp.wls.WlsProjectDeployment.convertOldEntityDescriptors(WlsProjectDeployment.java:65)
at oracle.toplink.internal.ejb.cmp.PersistenceManagerBase.initialize(PersistenceManagerBase.java:72)
at oracle.toplink.internal.ejb.cmp.wls.WlsCMPDeployer.initializePersistenceManager(WlsCMPDeployer.java:135)
at weblogic.ejb20.deployer.CMPInfoImpl.setup(CMPInfoImpl.java:112)
at weblogic.ejb20.ejbc.EJB20CMPCompiler.generatePersistenceSources(EJB20CMPCompiler.java:64)
at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:245)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
at weblogic.ejbc20.runBody(ejbc20.java:519)
at weblogic.utils.compiler.Tool.run(Tool.java:146)
at weblogic.utils.compiler.Tool.run(Tool.java:103)
at weblogic.ejbc.main(ejbc.java:29)
I looked in the weblogic.ejb20.persistence.spi.RoleSource class and see the method getEjbName, but no method getName found. What am I missing ? Thanks
-Tuan
Similar Messages
-
Oracle support for Weblogic 7 under LINUX
Hi,
Does anyone know what happened to oracle support in weblogic 7.0 for linux platform,
as it seems that the drivers are not included? Are there any discussions on that
topic anywhere?
thanks.
ZlatkoIt DOES appear that there is support for WebLogic jDriver for Oracle on Linux:
see http://e-docs.bea.com/wls/certifications/certifications/redhat_linux.html#39532
The strange thing here is that, apparently, the Oracle drivers located @ lib/linux/i686/oci817_8/libweblogicoci38.so
and lib/linux/i686/oci817_8/libweblogicoxa38.so are "Type 2" ODBC drivers which
require an Oracle client to be installed on the WebLogic machine, but Oracle doesn't
support installation of the client on RedHat 7.2, which is required (according
BEA's doc) for installation of WebLogic 7.0. Can someone reconcile this apparent
conflict?
Laurent Goldsztejn <[email protected]> wrote:
Hi,
There is currently no support for WebLogic jDriver for Oracle on Linux
with WLS 7.0. Please check the following page for update on this topic.
http://www.weblogic.com/platforms/index.html#jdbc
Zlatko Mesaros wrote:
Hi,
Does anyone know what happened to oracle support in weblogic 7.0 forlinux platform,
as it seems that the drivers are not included? Are there any discussionson that
topic anywhere?
thanks.
Zlatko
Thank you,
Laurent Goldsztejn
Developer Relations Engineer
BEA Support -
Toplink support for weblogic 9
Hi ,
Is toplink supported with weblogic 9?If yes,which version?
There is a thread(on OTN) that speaks about toplink support for weblogic 9.
Weblogic 9 -TopLink CMP
Thanks,
RajbharatRajbharat,
We have completed our testing of POJO architectures and the WebLogic Support Matrix now reflects this:
Doug -
Can cold backup be taken for ASM managed oracle 10g databases
Can cold backup be taken for ASM managed oracle 10g databases
Pls helpdo we still need to take cold backupYou need to take backup. Hot or cold depends on how your DB is running (archivelog or not).
Will we have file permisions for copyng Use RMAN and don't worry about that. -
Chinese Enabled Support for Weblogic 4.5.1 ???
Hello!
I tried to show Chinese words by modifying HelloWorld.jsp
<%out.print("<p><b>HellollWorld!</b>");%>
^^^^^^ -> Chinese Words
but it couldnot show those Chinese Words correctly while viewing it.
Hello$H$HWorld! --> the results
I wonder whether Weblogic 4.5.1 supports Chinese?
If yes, can anyone tell me how to do it?
thanks !
Allen
Allen,
I do not know 4.5.1, but this works for 5.1: Did you set the proper
content type? Try to add something like <jsp:directive.page
contentType="text/html; charset=UTF-8"/>, adjusted to the encoding you
actually use.
Daniel
-----Original Message-----
From: Allen [mailto:[email protected]]
Posted At: Monday, October 16, 2000 8:32 AM
Posted To: jsp
Conversation: Chinese Enabled Support for Weblogic 4.5.1 ???
Subject: Chinese Enabled Support for Weblogic 4.5.1 ???
Hello!
I tried to show Chinese words by modifying HelloWorld.jsp
<%out.print("<p><b>HellollWorld!</b>");%>
^^^^^^ -> Chinese Words
but it couldnot show those Chinese Words correctly while viewing it.
Hello$H$HWorld! --> the results
I wonder whether Weblogic 4.5.1 supports Chinese?
If yes, can anyone tell me how to do it?
thanks !
Allen
-
Weblogic 81sp5 Oracle 10G server crash windows xp
I was using weblogic 81sp5 hibernate 3 and Oracle 9i and everythign was fine. I upgraded to Oracle 10G, and now with the execution of the second SQL statement my server is crashing with the following error. Any help would be appreciated.
An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x61D4894C
Function=xaolog+0x6294
Library=c:\ora10g\bin\OraClient10.Dll
Current Java thread:
at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1037)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3316)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3361)
- locked <0x101ae1d8> (a oracle.jdbc.driver.T2CPreparedStatement)
- locked <0x113fe928> (a oracle.jdbc.driver.T2CConnection)
at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:124)
at org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:139)
at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.loadEntity(Loader.java:1785)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:93)
at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:81)
at org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730)
at org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365)
at org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346)
at org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123)
at org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82)
at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:891)
at org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:849)
at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62)
at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98)
at org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158)
at com.erac.vaa.vincent.domain.poc.Manufacturer$$EnhancerByCGLIB$$bbc19d25.toString(<generated>)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:461)
at org.springframework.beans.BeanUtils.copyProperties(BeanUtils.java:399)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.toManufacturerDto(ManufacturerServiceImpl.java:75)
at com.erac.vaa.vincent.services.poc.ManufacturerServiceImpl.load(ManufacturerServiceImpl.java:35)
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 org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:287)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:181)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:148)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:170)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:176)
at $Proxy9.load(Unknown Source)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.displayOne(ManufacturerController.java:107)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.handleGet(ManufacturerController.java:144)
at com.erac.vaa.vincent.view.controllers.poc.ManufacturerController.execute(ManufacturerController.java:63)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.processInvoke(AbstractBindingAction.java:861)
at com.erac.riskmgmt.arch.struts.action.AbstractBindingAction.execute(AbstractBindingAction.java:484)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:104)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at com.erac.vaa.vincent.view.filters.AuthenticationFilter.doFilterInternal(AuthenticationFilter.java:92)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:77)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
Dynamic libraries:
0x00400000 - 0x0040B000 C:\bea81sp5\jdk142_08\bin\javaw.exe
0x7C900000 - 0x7C9B0000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F4000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F01000 C:\WINDOWS\system32\RPCRT4.dll
0x7E410000 - 0x7E4A0000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F57000 C:\WINDOWS\system32\GDI32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x08000000 - 0x08138000 C:\bea81sp5\jdk142_08\jre\bin\client\jvm.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x10000000 - 0x10007000 C:\bea81sp5\jdk142_08\jre\bin\hpi.dll
0x00830000 - 0x0083E000 C:\bea81sp5\jdk142_08\jre\bin\verify.dll
0x00840000 - 0x00859000 C:\bea81sp5\jdk142_08\jre\bin\java.dll
0x00860000 - 0x0086E000 C:\bea81sp5\jdk142_08\jre\bin\zip.dll
0x02B60000 - 0x02B7C000 C:\bea81sp5\jdk142_08\jre\bin\jdwp.dll
0x00940000 - 0x00945000 C:\bea81sp5\jdk142_08\jre\bin\dt_socket.dll
0x71AB0000 - 0x71AC7000 C:\WINDOWS\system32\ws2_32.dll
0x71AA0000 - 0x71AA8000 C:\WINDOWS\system32\WS2HELP.dll
0x55600000 - 0x55631000 C:\Program Files\Microsoft Firewall Client 2004\FwcWsp.dll
0x77120000 - 0x771AC000 C:\WINDOWS\system32\OLEAUT32.dll
0x774E0000 - 0x7761D000 C:\WINDOWS\system32\ole32.dll
0x71A50000 - 0x71A8F000 C:\WINDOWS\System32\mswsock.dll
0x76F20000 - 0x76F47000 C:\WINDOWS\system32\DNSAPI.dll
0x76FB0000 - 0x76FB8000 C:\WINDOWS\System32\winrnr.dll
0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll
0x662B0000 - 0x66308000 C:\WINDOWS\system32\hnetcfg.dll
0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll
0x77F60000 - 0x77FD6000 C:\WINDOWS\system32\SHLWAPI.dll
0x773D0000 - 0x774D3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
0x5D090000 - 0x5D12A000 C:\WINDOWS\system32\comctl32.dll
0x76FC0000 - 0x76FC6000 C:\WINDOWS\system32\rasadhlp.dll
0x071A0000 - 0x071AF000 C:\bea81sp5\jdk142_08\jre\bin\net.dll
0x07540000 - 0x07548000 C:\bea81sp5\jdk142_08\jre\bin\nio.dll
0x07550000 - 0x07556000 C:\bea81sp5\jdk142_08\jre\bin\ioser12.dll
0x62F00000 - 0x62F13000 C:\ora10g\BIN\ocijdbc10.dll
0x07D30000 - 0x07D88000 c:\ora10g\bin\OCI.dll
0x7C340000 - 0x7C396000 C:\WINDOWS\system32\MSVCR71.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
0x61C20000 - 0x61E76000 c:\ora10g\bin\OraClient10.Dll
0x60870000 - 0x60957000 c:\ora10g\bin\oracore10.dll
0x60A80000 - 0x60B46000 c:\ora10g\bin\oranls10.dll
0x63690000 - 0x636A8000 c:\ora10g\bin\oraunls10.dll
0x60EB0000 - 0x60EB7000 c:\ora10g\bin\orauts.dll
0x636B0000 - 0x636B6000 c:\ora10g\bin\oravsn10.dll
0x60FA0000 - 0x61092000 c:\ora10g\bin\oracommon10.dll
0x08940000 - 0x08FA2000 c:\ora10g\bin\orageneric10.dll
0x63430000 - 0x63457000 c:\ora10g\bin\orasnls10.dll
0x63750000 - 0x638BF000 c:\ora10g\bin\oraxml10.dll
0x07DA0000 - 0x07DB1000 C:\WINDOWS\system32\MSVCIRT.dll
0x60960000 - 0x60A7E000 c:\ora10g\bin\oran10.dll
0x62740000 - 0x6277D000 c:\ora10g\bin\oranl10.dll
0x62790000 - 0x627A6000 c:\ora10g\bin\oranldap10.dll
0x627F0000 - 0x628FC000 c:\ora10g\bin\orannzsbb10.dll
0x62530000 - 0x625A3000 c:\ora10g\bin\oraldapclnt10.dll
0x62670000 - 0x6268B000 c:\ora10g\bin\orancrypt10.dll
0x71AD0000 - 0x71AD9000 C:\WINDOWS\system32\WSOCK32.dll
0x76D60000 - 0x76D79000 C:\WINDOWS\system32\iphlpapi.dll
0x62920000 - 0x6296D000 c:\ora10g\bin\oranro10.dll
0x626B0000 - 0x626B7000 c:\ora10g\bin\oranhost10.dll
0x62660000 - 0x62666000 c:\ora10g\bin\orancds10.dll
0x629C0000 - 0x629C8000 c:\ora10g\bin\orantns10.dll
0x60B50000 - 0x60EA8000 c:\ora10g\bin\orapls10.dll
0x07DC0000 - 0x07DC9000 c:\ora10g\bin\oraslax10.dll
0x63080000 - 0x63284000 c:\ora10g\bin\oraplp10.dll
0x61ED0000 - 0x61F67000 c:\ora10g\bin\orahasgen10.dll
0x62AB0000 - 0x62B1E000 c:\ora10g\bin\oraocr10.dll
0x62B20000 - 0x62B63000 c:\ora10g\bin\oraocrb10.dll
0x5B860000 - 0x5B8B4000 C:\WINDOWS\system32\NETAPI32.dll
0x62980000 - 0x62990000 c:\ora10g\bin\orantcp10.dll
0x63520000 - 0x635BA000 c:\ora10g\bin\orasql10.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x5AD70000 - 0x5ADA8000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476B000 C:\WINDOWS\system32\MSCTF.dll
0x09300000 - 0x09305000 C:\bea81sp5\weblogic81\server\bin\stackdump.dll
0x09310000 - 0x09315000 C:\bea81sp5\weblogic81\server\bin\wlntio.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll
Heap at VM Abort:
Heap
def new generation total 2496K, used 1836K [0x10010000, 0x102c0000, 0x104f0000)
eden space 2240K, 74% used [0x10010000, 0x101b1d48, 0x10240000)
from space 256K, 64% used [0x10240000, 0x10269300, 0x10280000)
to space 256K, 0% used [0x10280000, 0x10280000, 0x102c0000)
tenured generation total 32188K, used 18578K [0x104f0000, 0x1245f000, 0x14010000)
the space 32188K, 57% used [0x104f0000, 0x11714890, 0x11714a00, 0x1245f000)
compacting perm gen total 31744K, used 31580K [0x14010000, 0x15f10000, 0x18010000)
the space 31744K, 99% used [0x14010000, 0x15ee7008, 0x15ee7200, 0x15f10000)
Local Time = Fri Apr 20 12:43:16 2007
Elapsed Time = 941
# The exception above was detected in native code outside the VM
# Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode)
# An error report file has been saved as hs_err_pid3592.log.
# Please refer to the file for further information.What happends if you try to issue your query from a SQL prompt? Does it work? Now, what is it written at the alert.log at the time this error arises? Is this version certified against 10g?
There are some issues when connecting the jdbc driver with Oracle 10g (http://edocs.bea.com/wls/docs81/notes/issues.html#129571) some patches may need to be applied. -
OEPE support for Weblogic Portal 10.3.0?
Hi,
I was referred to this forum by Konstantin:
replace Oracle Workshop for Weblogic with OEPE?
Does anyone know if Oracle Enterprise Pack for Eclipse has tooling support for developing portlets/portals for Weblogic Portal 10.3.0?
KevinThanks for your reply, Brad. It is WLP 10.3.
Unfortunately, since other components of the Oracle stack that we use are unsupported by OEPE, OEPE isn't going to be an option for us:
OEPE support for ODSI 10gR3?
OEPE support for OSB 10gR3? -
Supported graph types in oracle 10g using bi beans
hi.. since the scatter type didn't work with me i need to know what types of graphs are supported in oracle 10g using bi beans and if u can show an example of how to use it with pictures i would be thankful.
you can email me in [email protected]
thanks alot..
regards
Eyad BasheerHi,
What version of Oracle Forms are you using? If it is 10.1.2.0.2 (10g R2 Phase 2) then the BI Beans version should be 10.1.2.1 (3.2.2.0.24.2).
When you run a Graph, do you see any version numbers?
Regardless of the version, scatter graph should work. What kind of errors are you getting?
When you install BI Beans in JDeveloper, you get access to BI Beans Help. Go to the following topic for setting up data for a scatter graph:
Help -> Building Applications with BI Beans -> Presenting Data in Graphs -> Specifying Data for Graphs
Did you try posting your question on the Oracle Forms forum?
BI Beans PM -
Problems using Quick Migrate in SQL Developer 1.5 for MySQL to Oracle 10g
Hi all,
I am trying to use SQL Developer 1.5 migration tools (Quick Migrate) to perform online capture and build source model to migrate from MySQL 5.x to Oracle 10g on Windows platform. I get these errors and the Quick Migrate process fails:
oracle.dbtools.metadata.persistence.PersistableObject.doInsert(PersistableObject.java:238)
I did a search and used the sqldeveloper.cmd script but still fails. Then I created a new database and truncated the repository. I now get the above error plus two new ones listed below:
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
Error loading nls:OALL8 is in an inconsistent state
Error occurred during capture: Protocol violation
It fails during the capture process for MySQL 5.1 database
when it begins to capture the tables from MySQL.
Does anyone know how to resolve these issues when migrating from MySQL to Oracle 10g using Quick Migrate with SQL Developer 1.5 release?
Regards,
Ben Prusinski
Message was edited by:
benprusinski
Message was edited by:
benprusinskiHi all,
I put the following in my sqldeveloper.cmd file:
SET ORACLE_HOME=%CD%
What is very confusing is that with SQL Developer 1.5, there are several levels and several SQL Developer executables! I am really not sure which of these to use:
I created the SQLDeveloper 1.5 directory called SQLDeveloper1_5 on Windows:
1) cd C:\sqldeveloper1_5\sqldeveloper-5338
there exists a sqldeveloper.exe
2) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper.exe
3) cd c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloer\bin\sqldeveloper.exe
Which SQLDeveloper 1.5 executable should I be using and where should I place the
sqldeveloper.cmd file?
Also I did try to use a different database and schema for the repository with Quick Migrate but it appears a bug exists in SQL Developer 1.5 version that causes errors with Quick Migrate for MySQL to Oracle? Is this correct?
As an update, I ran the following commands:
cd to
c:\sqldeveloper1_5\sqldeveloper-5338\sqldeveloper\sqldeveloper\bin
sqldeveloper.cmd sqldeveloper.exe
Start sqldeveloper.exe
Perform standard capture for MySQL using the new mig2 schema as the new repository
It starts the capture but fails on the errors below:
Error loading nls:OALL8 is in an inconsistent state
UPDATE
============================
I tried this again and it worked with the exception of one error message listed below:
Here are the steps that I followed:
1. Create a Windows cmd script
Put the following entries in the script:
SET ORACLE_HOME=%CD%
save the command windows script as sqldeveloper.cmd
Copy this script to the base installation directory for SQLDeveloper
Example:
1. cd c:\SQLDeveloper1_5\sqldeveloper-5338\sqldeveloper
2. Start SQLDeveloper with the command script that you created earlier
Example:
Open a Windows shell prompt window and execute the following scripts:
a) sqldeveloper.cmd sqldeveloper.exe
b) sqldeveloper.exe
3) In SQL Developer 1.5
From the Migrate menu,
a) Delete current repository and create a new schema in Oracle target database call it mig2.
b) Then create a new repository in SQL Developer 1.5
c) Right mouse click on the MySQL 5.x database and choose capture
It worked with the exception of one error message:
o.jdbc.driver.OracleDriver
Error while registering Oracle JDBC Diagnosability MBean.
So it looks like something is screwed up with my JDBC drivers and configuration for MySQL. How do I diagnose the JDBC driver issue for MySQL?
Thanks!!!
Ben
Thanks
Ben -
Can I disable logging for session in Oracle 10g?
I use a procedure to delete a lot of row for an application repeatedly. Because the DELETE statement is time consuming and the data don't need to be archived, I decide to use the nologging option.
How to do it?
What is the best choice? Can I disable logging from session in Oracle 10g?
Thank you
Edited by: jetq on Jul 23, 2009 9:46 AMHi,
"Delete" without generating redo-log is not possible.
If you are on 10g, one way of making this thing efficiant is partition the table, with range-list partitioning. Partitioning existing table will be an excercise in itself, but that will be one time activity.
In partitioned (or sub-partitioned) tables, you can truncate a partition (or subpartition). That won't generate any redo log (or very very less redo log) and that runs in seconds.
In your case if you range partition INCOMING table by datetime (1 partition per day) and list sub-partition it by STATUS, that would help.
Another approach is, if you are deleteing, say 80% records every day and leaving 20% (or very less) records. What you can do is, partition the table only by range on datetime. Then, every time you want to delete data, copy the rows you want to keep in some other table (or temporary table), truncate partition for that day and insert rows back (which you want to keep).
I have done a similar thing and it works very quickly and generates very less redo log. Redo log generated in case of truncating partition or creating new partitions is just for Oracle internal commands (like data dictionary update etc).
Have fun. -
PCTFREE setting for index in Oracle 10g R2
Is PCTFREE parameter obsolete in oracle 10g R2? I don't see any reference to this paramerer in oracle documentation:
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231.pdf
But 10g R 1 does mention about this setting.
http://support.cs.nott.ac.uk/help/docs/databases/oracle/standard/server.101/b10739.pdf
We are still using Dictionary Managed tablespaces on 10.2.0.3. Can we ignore this parameter on 10g R2 ?
Thank YouPCTFREE is still relevent even in ASSM. (that you are using DMT means that you are not using ASSM, but LMT could be MSSM !)
I couldn't find PCTFREE in the Administrator's Guide but it is still very much present in the SQL Reference
http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/clauses007.htm#g1058547
and a couple of references in the Performance Tuning Guide. -
Does BC4J works as ORM (eg: Toplink) to support for MSQL Server / Oracle DB
Hi,
My current product is running on Struts 1.1, Apache Cocoon(for reports generation), JDBC & MS SQL Server environment.
To provide the more flexibility & user friendliness to the application I have a proposal for the re-development of the application with ADF 11g.
But the main concern here is, the current product is running on MS Sql Server DB, now the product team has a future plan to migrate it to Oracle Database. In view of this DB migration, the frame work/environment that I choose for the re-development must support for very less code changes (at least from the Application Business logic/Queries prospective)
Here I have two options for the re-development
1. ADF 11g + Top-link (ORM) + MS Sql Server / Oracle DB
2. ADF 11g + BC4J + MS Sql Server / Oracle DB
Plz suggest me, out of these two options which one suits for my requirement & better in performance tooCheck this out:
http://www.oracle.com/technology/products/jdev/collateral/papers/11/certification/index.html#Databases
Also
http://www.oracle.com/technology/products/jdev/11/how-tos/multidatabaseapp.html
Have a nice day -
Best Practices for deployment of Oracle 10g database.
Hello ,
Is anyone aware of a whitepaper/ document that talks about best pratices in deploying a database on Oracle 10g and configuration of the database to utilize all the features available in 10g ( eg. ADDM , reports setup etc )
Thanking you in Advance.
Cheers..rCubeAppreciate the input Jaffer. Thanks.
However I was referring to a Best Practices whitepaper like the one existing for Data Guard & MAA available at the follwogng url : - http://www.oracle.com/technology/deploy/availability/htdocs/maa.htm
Is there something available along the same lines ?
Cheers..rCube -
Web Service Support for WebLogic
Add Support for Web Services to WebLogic using IONA's XMLBus
For anyone interested in Web services, IONA has just released a free
technology preview of iPortal XMLBus, with support for BEA WebLogic 6.0
patch 1. You can download it today from www.xmlbus.com, a Web site entirely
dedicated to Web services.
The iPortal XMLBus Technology Preview enables Java Developers to turn
existing EJBs and Java Applications into Web services. XMLBus is 100% pure
Java and installs seamlessly on top of the
WebLogic. It implements the W3C v1.1 draft specifications of SOAP and WSDL.
SOAP is the communication protocol used by Web services to traverse over
HTTP, SNMP, and FTP. WSDL has become the standard for describing Web service
interfaces in XML.
XMLBus automates the process of turning Java classes into Web services,
ensuring that Java developers do not need to learn a whole new programming
language to turn existing applications into Web services.
Wizards guide the developer through the identification of interfaces and
methods the developer wants to become a Web service. The wizard deploys a
SOAP Listener and a WSDL interface for that Java Class, as well as Java
client proxy applications. The client proxy can easily be incorporated into
any Java Application to invoke the corresponding methods described in the
WSDL.
Download a free copy of the iPortal XMLBus Technology Preview from:
http://www.xmlbus.com/work/
Post Questions to the XMLBus Newsgroup:
news://inews.iona.com/iona.products.xmlbus
For more information on SOAP or WSDL, reference: http://www.xmlbus.com/learn
thanks
becky
Rebecca Dias
Technical Product Manager
IONA Technologies
http://www.iona.com
http://www.xmlbus.com
Mailto:[email protected]This is fixed now. Someone had defined a Servlet for the web service in web.xml that was preventing the EJB container to kick in.
Edited by: user572625 on Aug 25, 2011 11:54 PM -
Support for Weblogic 8.1
Hi,
Is there any plugin for Weblogic 8.1 for Sun Java Studio enterprise 8 ?
Thanks,
KumarveOnly BEA Weblogic Server 9.0 is supported by JSE8
http://docs.sun.com/source/819-2808/relnotes8.html#bundled
Maybe you are looking for
-
How can I send a mapping based CFC object?
I got an exception on sending a CFC object through EventGateway for Flex Messaging. The result of SendGatewayMessage says FALSE: Error on server: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFound
-
Hi Everyone, I have a question regarding printing of a flash chart region. I created flash charts using several chart series of pl/sql code that are functions returning SQL queries (generates my dynamic SQL query). We have our printing configured to
-
Exchange calendar (but not email) -- Receive invites?
I have MobileMe set up for email on my iphone, but I don't use MobileMe's calendar because it can't accept meeting invites. I use mail2Web's hosted Exchange calendar for my calendar, because it can accept invites. So I have those two accounts both se
-
SuperFrench is found but this font can not display any text
"SuperFrench" font comes from Autodesk. this fonts's real file name is supef__.ttf If it is placed in C:\Windows\Fonts folder then it is available for Windows native apps such as MS Excel. Java GraphicsEnvironment finds "SuperFrench" font but this fo
-
How can I download the App store?
Some how I erased the App store from my computer. How can I get it again?