Migrate Java to 10g
Hi
We have the following java code that runs with 9i in the database.
Connection conn = DriverManager.getConnection("jdbc:default:connection:");
PreparedStatement pstmt = conn.prepareStatement("select version_number from version");
try
ResultSet rset = pstmt.executeQuery();
try
while (rset.next())
String theString = rset.getString(1);
System.out.println(theString);
finally
rset.close();
finally
pstmt.close();
We load the same code to 10g (with loadjava) we get the error:
ORA-29532: Java-Aufruf durch nicht abgefangene Java-Exception beendet:
java.sql.SQLException: Ungültiger Spaltenindex
at ResultSet.getString(1);
Are there any known problem with 10g?
Philipp
Does "totally different schema" mean "totally different data model"? If so, there is no automatic way for any tool to ensure that the data in two different data models matches-- you would have to write custom scripts for that sort of thing since only you know how the data is supposed to be translated from one data model to another.
Justin
Similar Messages
-
Challenge question and password migration from oimm 10g to 11g r2
hi all,
can you please tell me how do i do the migration of oim 10g user's password and challenge questions to oim 11g r2. Do we have any api to do it. these values are in encrypted format in oim db.
thanksRun your sql query to output the encrypted fields to a flatfile or csv, and include the usr_login field so you know which user to assign the values to.
Copy your config folder from your oim server and create a patch like c:\xellerate\config. In your code, when you connect to OIM, use this:
System.setProperty("XL.HomeDir", "c:/xellerate");
System.setProperty("java.security.auth.login.config", "c:/xellerate/config/authwl.conf");
Now, when you read the file and have the encrypted field, use this code:
String decryptValue= tcCryptoUtil.decrypt(encryptValue, "DBSecretKey");
Now that you have the unencrypted value from your 9x instance, you can use the APIs to set challenge questions, and set user passwords with the 11g APIs.
-Kevin -
Migrating to Forms 10g - text out of sync
Hi guys
Newbie so please be gentle ....
Have recently joined a new company and, having last touched Oracle forms 12 years ago, have been designated the label of 'Forms Expert' !!
Which is fine, I enjoy a challenge! But .....
Have been tasked with moving some forms from an old to new server, at the same time migrating them to 10g.
On the new server, when the forms are compiled, some of the text appears to be in a bigger font and / or out of sync with the data items on some forms.
Any ideas??
I've had a quick browse through various forums and have checked the registry.dat file against it's equivalent on the old server, what is sensible etc and there don't appear to be any problems there.
Thanks in advance for any help.
IanIan,
The default.fontMap.appFontnames determines the applications font list and the default.fontMap.javaFontnames determines the Java fonts.
Each entry in the appFontnames must have its mapping in the JavaFontnames, so just add your font name on the first line and add it's corresponding font onto the second.
Restart your server and test.
If you have metalink access also read Note: 434250.1 Note: 1016006.4 and Note: 386954.1
Tony -
Catalog Migration Problem from 10g to 11g
Hi,
When i am trying to migrate catalog of 10g to 11g. They have some problems
1. In obiee 10g (under root folder) it shows only around 5 dashboards. But actually when i am seeing in the I catalog manager of obiee 10g it shows 12 dashboards and pages.
Can some please help me on this how to see the other dashboards and page in obiee 10g ( under root folder ).
2. When i am trying to migrate the catalog folder in obiee 11g it also shows around 5 dashboards. And other dashboards are not seeing after migration.
Can someone please help me on this how to see the other dashboards and pages in obiee 11g as well.Hi,
In Webcat, there can be some contents that are inconsistent/invalid. And such contents have 0 byte size. Please check if dashboards files that are not visible and their corresponding .atr files have 0 byte size.
Other possibility can be dashboards are hidden for the user-id you are using for login.
Please mark as helpful/correct if this reply helps.
Thanks,
Vijay
Edited by: user5814724 on Apr 8, 2013 4:58 AM -
Query Regarding Updation/Migration of ODI 10g To ODI 11g.
Hi All,
Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.
2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.
3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?
ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
Thanks
Edited by: neeraj_singh on May 15, 2013 9:58 PMneeraj_singh wrote:
Hi All,
Currently I am using ODI 10g Version & Repositories ( Work & Master) have been installed on Oracle database version "Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi"
We are thinking to migrate from ODI 10g to ODI 11g Version 11.1.1.5 & i have some queries which are metioned below.
1. Can we install ODI 11g Version 11.1.1.5 version with Repositories ( Work & Master) on Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi" or do i need to upgrade my database version to 11G?.You can install ODI 11.1.1.5 but you have to upgrade your repositories using upgrade assistant
refer http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/tasklist.htm#CIHGIDFG
2. If yes then, Can i upgrade or use exting Repositoires ( 10g one) for ODI 11g OR i have to create new Repositoires & move/migrate the objects of 10G repositories as mentioned in the Oracle installation doc.No need to create new repositories. You just upgrade them. But you need to takecare of certain things as you are a 10g user. Refer below link for the prerequisite
http://docs.oracle.com/cd/E23943_01/upgrade.1111/e12642/prevusers.htm
3. Currently I am using OBIEE 10g for reposrting purpose & if i switch to ODI 11g , Do i need to use OBIEE 11g?Not clear about the question ?
>
ODI gurus, I need your reponse ASAP & i have to share it on urgent basis.
Thanks
Edited by: neeraj_singh on May 15, 2013 9:58 PM -
Migrating portal from 10g to 11g
Hi,
We are in the process of upgrading oracle mid tier from 10gAS to OFMW 11g and also migrating it from Solaris to Linux.
With regard the portal migration from OAS 10g to OFMW 11g
1) Is it possible to migrate portal objects from 10g (solaris) to a new install of OFMW portal 11g(linux) directly OR do we have to upgrade the existing OAS 10g to OFMW portal 11g (on Solaris) and then migrate the portal objects to OFMW Portal 11g (on Linux)
I am new to portal migration. Any suggestions and additional details would be appreciated.
Thanks
RBMigration + upgrade in one shot is do-able, because upgrade will require a sequence of processes but they will be mostly based on repository upgrade, and hence will be transparent to the OS you are using.
However, in practice, the standard rule-of-thumb is that you avoid dealing with multiple layers of complications in a single shot. That means, you break complications in such steps where you could recognize the sources of any later errors/problems you encounter.
hope that helps!
AMN -
How to Migrate Oracle Forms 10g 9.0.4 to 10.1.2
Hi I would like to find information on what is necessary to do in order to migrate Forms 10g 9.0.4 to 10.1.2.
Do I need to use Oracle Migration assistant ?
Is it enough only compile forms ?
Where I find documentation on how to execute this migration. I am only find documentatio to migrate from 6i to 10g, but I need documentation to migrate from Forms 10g 9.0.4 to 10.1.2.Hi,
Thank you for the answer about Oracle forms.
Now I would like ask another question but this time for Oracle Application Server. As we have Oracle forms 10g 9.0.4 we also use the Application Server with this same version.
Do you have any recommendations on how to Migrate the Oracle Application Server from 10g 9.0.4 to 10.1.2 ?
Thank you . -
OWB 9.0.3 migration to OWB 10G R2
Hi All,
I am in the process of doing the Migration of OWB 9.0.3 migration to OWB 10G R2, I am doing it for the first time.
is there any manual or can any one help me with the steps to achieve the migration.
thanks.Hi there. I am currently going from 9.03 to 10.1.0.5.
You cant go 9.03 to 10.2.03 (paris or 11G) the leap is too large. However you can go straight from 9.03 to 10.1.0.5.
I exported 9.03 mdl's and imported them into 10.1.0.5 the mdl updater kicked in and upgraded the 9.03 mdls which i then imported into 10.1.0.5.
then after adjusting the repos to use the locations (they dont exist in 9.03). register the locations in the runtimes etc. then you can generate and deploy and it all should work just fine.
Now I am unable to go straight to 10.2 (due to the testing i have to complete) but I did test the mdl files that were created by the upgrade process from 9.03 to get into 10.1 and they in turn can be imported upgraded into 10.2 so you can hop versions if it makes sense for you.
It does involve some setup. I tend to export import OWB when doing upgrades. So installing seperate OWB repositories is what I do (as in owb design repos 9.03 in one database instance and 10.1 in another ) that way you dont break /loose your 9.03.
if you can clone your target 9.03 target runtime database and simply use the target installer in 10.1 to install the 10.1 runtime into your current target schema's. plus you can do some parallel testing. Be prepared 9.03 is faster than 10.xx its runtime engine is simply faster. there is overhead in all the extra runtime logging.
Plus the way you release code will most likely change (ok it has too) you cant run/release/deploy 10.xx maps without using the OWB deployment framework either UI or scripting via OMB Plus.
Have Fun
Richard. -
Hi,
I am working on forms migration 6i to 10g.Now I am facing issue with .ogd files(graph files in 6i).I was able to convert simple ogd file(based on sql query) to rdf but I dont know how to convert ogd files(based on custom query) to rdf(10g).As far as I have tried I could not figure out any method in reports10g to draw graph without
query.So ,can anyone can help how could I convert ogd file based on custom query(procedure) to rdf(10g).Thanks a tonne!I have a .ogd file based on following custom query.kindly help me how to convert it to 10g graph.
Custom Query is as below:
PROCEDURE set_chart_type(chart_obj og_object) IS
template og_template;
frame_num number;
i number;
ftemp og_ftemp;
ft_num number;
axis og_axis;
plot_type number;
BEGIN
null;
template := og_get_template(chart_obj);
frame_num := og_get_frametype(template);
if frame_num = og_axis_frametype then
begin
i := 0;
loop
ftemp := og_get_ftemp(template, i);
i := i + 1;
end loop;
exception
when og_invalid_ftemp_index then
ft_num := i + 1;
end;
if ft_num = 1 then
-- Column/bar chart
plot_type := og_get_plottype(ftemp);
axis := og_get_axis(template, og_x_axis);
if plot_type = og_bar_plottype or
plot_type = og_bar_plottype + og_line_plottype then
if og_get_position(axis) = og_left_position then
og_set_param('ge_chart_type','column');
elsif og_get_position(axis) = og_bottom_position then
og_set_param('ge_chart_type','bar');
end if;
end if;
null;
elsif ft_num = 2 then
null;
elsif ft_num = 3 then
null;
end if;
elsif frame_num = og_pie_frametype then
og_set_param('ge_chart_type','pie');
elsif frame_num = og_table_frametype then
og_set_param('ge_chart_type','table');
end if;
if og_get_shadowsize(template) != og_none_shadowsize then
og_set_param('ge_chart_subtype', 'shadow');
elsif og_get_depthsize(template) != og_none_depthsize then
og_set_param('ge_chart_subtype', 'depth');
elsif plot_type = og_bar_plottype + og_line_plottype then
og_set_param('ge_chart_subtype', 'connecting-lines');
elsif plot_type = og_bar_plottype and
og_get_plotpos(ftemp) = og_stacked_plotpos then
og_set_param('ge_chart_subtype', 'stacked');
elsif plot_type = og_bar_plottype and
og_get_overlap(ftemp) > 0 then
og_set_param('ge_chart_subtype', 'overlapping');
elsif plot_type = og_bar_plottype and
og_get_scale(axis) = og_pct_scale then
og_set_param('ge_chart_subtype', 'percent-scaling');
elsif plot_type = og_bar_plottype then
og_set_param('ge_chart_subtype', 'plain');
end if;
END;
kindly help me how to migrate such graphs in 6i to 10g.Thanks in advance ! -
Hello friends,
I am a new on this topic. I want to migrate Oracle portal pages on 10g to Oracle webcenter portal 11g (platform is also different linux to windows)
Action i have already taken--- On new box i have installed Oracle webcenter 11g (Weblogic+Oracle Forms +Oracle Reports). Oracle Forms and Oracle Reports are also customer requirement. Thease stuffs are working fine.
Need to be done-- I need to migrate production portal pages to 11g new environment for testing
Please give me the suggestion, how to procced on this.
Regards,
VivekHello Vinay,
Thanks for the update. Actually my scenario is ---
1) Oracle Portal 10.1.2 is running in prod. (Prod is linux environment and new environment is windows)
2) Customer requirement is they want to run this oracle portal on Portal 11g (Webcenter)
3) Database migration is not required, they will connect to prod database from new new Oracle 11g Portal.
4) They want only migrate the Oracle 10g portal pages to Oracle 11g Portal
As i am new on that, so please suggest me solution, how to do this. How i can put oracle 10g pages to Oracle 11g Portal (As tnsentry will work to connect prod database)
Please suggest me solution step be step if you have.
Thanks in advance
Regards,
Vivek -
Problems with Java AQ interface migrating 9i to 10g
Hi!
I've got problems with Java AQ Interface migrating from 9i DB, JDBC, AQ to 10g rel.2 DB, JDBC, AQ
First, i started to occasionally receive NullPointerException in Oracle JDBC 9.2.0.8
java.lang.NullPointerException
at oracle.jdbc.driver.OracleStatement.describe(OracleStatement.java:6439)
at oracle.jdbc.driver.OracleStatement.get_column_index(OracleStatement.java:6203)
at oracle.jdbc.driver.OracleResultSetImpl.findColumn(OracleResultSetImpl.java:1557)
at oracle.jdbc.driver.OracleResultSet.getString(OracleResultSet.java:1543)
at gpnic.messaging.LDAPMessenger.messageFromRS(Unknown Source)
We were using 9.2.0.8 JDBC and 9i and 10g databases.
We decided to go up for 10g r2 JDBC Drivers, and 10.2 AQ but started to get the following errors:
oracle.AQ.AQOracleSQLException: ORA-25216: invalid recipient, either NAME or ADDRESS must be specified
ORA-06512: на "SYS.DBMS_AQIN", line 454
ORA-06512: на line 1
at oracle.AQ.AQOracleQueue.enqueue(AQOracleQueue.java:1267)
at gpnic.comm.messaging.transport.AQTransportAdapter$AQDestanation.send(AQTransportAdapter.java:607)
at gpnic.comm.messaging.transport.OutboundThread.run(OutboundThread.java:83)
I'm specifying address of an agent, but oracle says I am not.
I tried both native AQ and JMS interfaces, bot got the same error. I specify recipient the following way:
'consumer' var contains name of AQ agent and is not null
native AQ interface:
aqSess = AQDriverManager.createAQSession(db_conn);
AQQueue destQ = aqSess.getQueue(schema, queue);
dequeueOptionsOut = new AQDequeueOption();
dequeueOptionsOut.setWaitTime(AQDequeueOption.WAIT_NONE);
dequeueOptionsOut.setConsumerName(consumer);
dequeueOptionsOut.setDequeueMode(AQDequeueOption.DEQUEUE_REMOVE);
dequeueOptionsOut.setNavigationMode(AQDequeueOption.NAVIGATION_FIRST_MESSAGE);
AQMessageProperty mpOut = new AQMessageProperty();
Vector vRecpt = new Vector();
vRecpt.add(new AQAgent(consumer, null, 0));
mpOut.setRecipientList(vRecpt);
AQMessage aqMsg = null;
AQEnqueueOption eOpt = null;
//prepare message
aqMsg = destQ.createMessage();
CLOB chMsg = CLOB.createTemporary(db_conn, true, CLOB.DURATION_SESSION);
chMsg.open(CLOB.MODE_READWRITE);
chMsg.putString(1,msg);
//creating oracle type message
gpnic.db.SDSTypes.SdsMsgT oraMsg = new gpnic.db.SDSTypes.SdsMsgT(chMsg);
AQObjectPayload payload = aqMsg.getObjectPayload();
payload.setPayloadData(oraMsg);
//setting properties
aqMsg.setMessageProperty(mpOut);
//do enqueueOut
eOpt = new AQEnqueueOption();
destQ.enqueue(eOpt, aqMsg); //<- here AQOracleSQLException is thrown
JMS interface to Oracle AQ:
TopicSession session;
TopicConnection connection;
TopicPublisher publisher;
AQjmsAgent[] recipientList;
connection = AQjmsTopicConnectionFactory.createTopicConnection(db_conn);
session = connection.createTopicSession(true, Session.CLIENT_ACKNOWLEDGE);
connection.start();
Topic topic = ((AQjmsSession) session).getTopic(schema, queue);
publisher = session.createPublisher(topic);
recipientList = new AQjmsAgent[1];
recipientList[0] = new AQjmsAgent(consumer, null);
CLOB chMsg = CLOB.createTemporary(db_conn, true, CLOB.DURATION_SESSION);
chMsg.open(CLOB.MODE_READWRITE);
chMsg.putString(1,msg);
//creating oracle type message
gpnic.db.SDSTypes.SdsMsgT oraMsg = new gpnic.db.SDSTypes.SdsMsgT(chMsg);
AdtMessage adtMessage = ((AQjmsSession)session).createAdtMessage();
adtMessage.setAdtPayload(oraMsg);
((AQjmsTopicPublisher) publisher).publish(adtMessage, recipientList); <- here Exception is thrown
We tried the following combinations
9i DB, 9i jdbc, 9i aq - enqueue ok
10g DB, 9i jdbc, 9i aq - enqueue ok
10g DB, 10g jdbc, 10g aq - exception is thrown
Can anyone help?Duplicate post, please check Upgrade 9i to 10g
-
Migration from OAS 10g to Weblogic 10.3
Hello,
I migrate large app from OAS 10g to Weblogic 10.3.
1.
The main part of the job was to prepare descriptors for Weblogic. Unfortunatelly I don't find any tool that could do the job:( There are some problems with descriptors namespaces. This schema and namespaces given in 10.3 docs are not working (not available):
http://edocs.bea.com/wls/docs103/ejb/DD_defs_reference.html
So I use the one from 10 release in weblogic-ejb-jar.xml:
weblogic-ejb-jar xmlns="http://www.bea.com/ns/weblogic/10.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/10.0 http://www.bea.com/ns/weblogic/10.0/weblogic-ejb-jar.xsd">
and form 9 release in weblogic-cmp-rdbms-jar.xml:
<weblogic-rdbms-jar xmlns="http://www.bea.com/ns/weblogic/90" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/90 http://www.bea.com/ns/weblogic/90/weblogic-rdbms20-persistence.xsd">
There are also some bugs in docs about ejb relations.
After fixing some schema compliance exc this step success.
2. Next the EJBComplianceChecker - its much more restrictive than OAS verification. So updates in ejb interfaces are necessary. It is not a problem with small app but when there ale a lot of code/branches to migrate it's become a problem. I have been looking for some switch that could help with this but with no result/
EJBComplianceChecker - Spec veryfication level
3. Now after EJB compliance checker done its job with success I have an exception that I do not understand:
An error occurred during activation of changes, please see the log for details.
Exception
preparing module: EJBModule(corpo_ejb.jar)
Unable to deploy EJB: corpo_ejb.jar from corpo_ejb.jar:
There are 1 nested errors:
java.io.IOException: JDT compilation error! at
weblogic.ejb.container.ejbc.CompilerForJDT.compile(CompilerForJDT.java:66)
at
weblogic.ejb.container.ejbc.EJBCompiler.doCompile(EJBCompiler.java:357)
at
JDT compilation error!
Could you please give me some point where the problem could be? I don't have any idea where to start looking for..
What are your experiences with migrations from OAS to Weblogic 10?
Thanks in advance!
Edited by: Stoigniew Sztank on Oct 10, 2008 4:00 AM
Edited by: Stoigniew Sztank on Oct 10, 2008 4:01 AM
Edited by: Stoigniew Sztank on Oct 10, 2008 4:02 AM
Edited by: Stoigniew Sztank on Oct 10, 2008 4:04 AM
Edited by: Stoigniew Sztank on Oct 10, 2008 8:05 AMHi Stoigniew Sztank,
I am working on migrating Enterpirse application developed using Struts, Ejb2.0, JMS. Its been deployed on OAS 10G and Websphere, but I need to deploy the application on Weblogic 10.3. It seems you have migrated a J2ee application from OAS 10G to Weblogic 10.3. Please can you list me the steps that you followed to migrate the application.
As per my understanding follwing things needsto be taken care of:-
1) Weblogic Descriptor files:
1.1 Weblogic.xml:- we added security roles and ejb-reference-description for the ejbs.
1.2 Weblogic-ejb-jar.xml for all the ejbs used in the application.
1.3 Weblogic-application.xml
1.4 Resource Adapter
2) JMS queue set up
3) JDBC set up
It would be a great help if you can let me know what are the steps to migrate the application.
Thanks and Regards
Deepak Dani -
Migration of ADF 10g application to ADF 11g(Portlet Customization Error)
Hi,
Currently we are doing a migration of ADF/Webcenter 10g appication to 11g(11.1.1.6) and in the current 10g application portlet is used which contains the file based content and can be customized using a specific role say(admin).
We have almost done the migration using the Jdeveloper 11.1.1.6 and most of the pages along with the portlet content are coming similar to the 10g look and feel but whenever we want to do portlet customization using the specific role we are getting the below exception. The content is file based system and the details of the versions are as below
10g Environment:
OC4J version. Oracle Containers for J2EE 10g (10.1.3.5.0)
JDK version- java version "1.5.0_06"
Webcenter and it’s version : Webcenter 10g(10.1.3.5.0)
ADF version. Oracle ADF 10g
Jdeveloper 10.1.3.3.0
11g Environment: Currently I am using Jdeveloper 11.1.1.6 with Integrated weblogic server
webcenter extension used: oracle.webcenter.framework_bundle/oracle.webcenter.customization_bundle
Error which I am getting during portlet customization:
[2013-02-20T14:47:42.162+05:30] [DefaultServer] [ERROR] [] [oracle.portlet.binding] [tid: [ACTIVE].ExecuteThread: '14' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: portaladmin] [ecid: 39e706a46ad531be:31f43ddc:13cf6ad5231:-8000-0000000000000386,0] [APP:TEST_DEV#V2.0] An error has occured for Portlet Binding portlet3.[[
java.lang.NullPointerException
at oracle.adfinternal.model.portlet.binding.PortletModelImpl.getRequireIframe(PortletModelImpl.java:907)
at oracle.adfinternal.model.portlet.binding.ActivityPortletModelWrapper.getRequireIframe(ActivityPortletModelWrapper.java:71)
at oracle.adf.model.portlet.binding.PortletBinding.prepareRenderPhase(PortletBinding.java:455)
at oracle.adf.model.portlet.binding.PortletBinding._refresh(PortletBinding.java:377)
at oracle.adf.model.portlet.binding.PortletBinding.refresh(PortletBinding.java:969)
at oracle.adf.model.binding.DCBindingContainer.internalRefreshControl(DCBindingContainer.java:3273)
at oracle.adf.model.binding.DCBindingContainer.refresh(DCBindingContainer.java:2876)
at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.prepareRender(PageLifecycleImpl.java:561)
at oracle.adf.controller.faces.lifecycle.FacesPageLifecycle.prepareRender(FacesPageLifecycle.java:82)
at oracle.adf.controller.v2.lifecycle.Lifecycle$9.execute(Lifecycle.java:224)
at oracle.adfinternal.controller.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:197)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.access$1000(ADFPhaseListener.java:23)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener$5.before(ADFPhaseListener.java:402)
at oracle.adfinternal.controller.faces.lifecycle.ADFPhaseListener.beforePhase(ADFPhaseListener.java:64)
at oracle.adfinternal.controller.faces.lifecycle.ADFLifecyclePhaseListener.beforePhase(ADFLifecyclePhaseListener.java:44)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:352)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.framework.events.dispatcher.EventDispatcherFilter.doFilter(EventDispatcherFilter.java:44)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.wcps.client.PersonalizationFilter.doFilter(PersonalizationFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.content.integration.servlets.ContentServletFilter.doFilter(ContentServletFilter.java:168)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.webcenter.lifecycle.filter.LifecycleLockFilter.doFilter(LifecycleLockFilter.java:151)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
at java.security.AccessController.doPrivileged(Native Method)
at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Any hellp or suggestion will be helpful for me to resolve this issue.
Thanks in Advance
ChetanHi,
given its a WebCenter question, you want to post it to the Webcenter forum: WebCenter Portal
Frank -
Manually Migrating from Oracle 10g to 11g
Hello, I'm currently a student in an Oracle DBA class. I'm totally new to the Oracle world.
One of our final assignments concerns upgrading Oracle instances without the use of DBUA.
I've currently got Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 and am trying to upgrade to 11.1.0.7.0
This is all inside of VirtualBox, running Windows Server 2008. I've been using 10g with absolutely no issues for the duration of this class.
I successfully installed 11g, choosing to install the software only and not use dbua.
I changed my environment variables to point towards the 10g installation; ORACLE_HOME, ORACLE_SID, PATH, and LD_LIBRARY_PATH.
Then logged into 10g's SQLPlus and ran utlu111i.sql, which ran successfully. I issued a shutdown immediate and exited SQLPlus.
Changed my environment variables to point towards the 11g home and set ORACLE_SID as the 10g database name. I was able to log into 11g's SQL plus, was told I was connected to an idle instance, which I expected. I issued a startup upgrade command, and then attempted to run catupgrd.sql, but got an error stating that I had to run the script from 11g.
If I don't set the environment variables then when I try to log into 11g's sqlplus, I get an ORA-12560: TNS:protocol adapter error... I've tried reinstalling 11g from scratch, but to no avail. My instructor and I have been emailing back and forth frequently over the past few days but we have not been able to reach a solution, so I thought I would see if I could pick your brains.
Here's all of the terminal output from the process:
C:\Users\Administrator>sqlplus
SQL*Plus: Release 10.2.0.3.0 - Production on Fri Apr 29 20:15:09 2011
Copyright (c) 1982, 2006, Oracle. All Rights Reserved.
Enter user-name: connect /as sysdba
Enter password:
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
With the Partitioning, OLAP and Data Mining options
SQL> @?
SP2-0310: unable to open file "C:\270Oracle.sql"
SQL> @C:\NewCIS270\product\11.1.0\db_1\rdbms\admin\utlu111i
Oracle Database 11.1 Pre-Upgrade Information Tool 04-29-2011 20:16:16
Database:
--> name: KYLMAN
--> version: 10.2.0.3.0
--> compatible: 10.2.0.3.0
--> blocksize: 8192
--> platform: Microsoft Windows IA (32-bit)
--> timezone file: V4
Tablespaces: [make adjustments in the current environment]
--> SYSTEM tablespace is adequate for the upgrade.
.... minimum required size: 729 MB
.... AUTOEXTEND additional space required: 249 MB
--> UNDOTBS1 tablespace is adequate for the upgrade.
.... minimum required size: 417 MB
.... AUTOEXTEND additional space required: 352 MB
--> SYSAUX tablespace is adequate for the upgrade.
.... minimum required size: 455 MB
.... AUTOEXTEND additional space required: 215 MB
--> TEMP tablespace is adequate for the upgrade.
.... minimum required size: 61 MB
.... AUTOEXTEND additional space required: 33 MB
--> EXAMPLE tablespace is adequate for the upgrade.
.... minimum required size: 78 MB
Update Parameters: [Update Oracle Database 11.1 init.ora or spfile]
-- No update parameter changes are required.
Renamed Parameters: [Update Oracle Database 11.1 init.ora or spfile]
-- No renamed parameters found. No changes are required.
Obsolete/Deprecated Parameters: [Update Oracle Database 11.1 init.ora or spfile]
--> "background_dump_dest" replaced by "diagnostic_dest"
--> "user_dump_dest" replaced by "diagnostic_dest"
--> "core_dump_dest" replaced by "diagnostic_dest"
Components: [The following database components will be upgraded or installed]
--> Oracle Catalog Views [upgrade] VALID
--> Oracle Packages and Types [upgrade] VALID
--> JServer JAVA Virtual Machine [upgrade] VALID
--> Oracle XDK for Java [upgrade] VALID
--> Oracle Workspace Manager [upgrade] VALID
--> OLAP Analytic Workspace [upgrade] VALID
--> OLAP Catalog [upgrade] VALID
--> EM Repository [upgrade] VALID
--> Oracle Text [upgrade] VALID
--> Oracle XML Database [upgrade] VALID
--> Oracle Java Packages [upgrade] VALID
--> Oracle interMedia [upgrade] VALID
--> Spatial [upgrade] VALID
--> Data Mining [upgrade] VALID
--> Expression Filter [upgrade] VALID
--> Rule Manager [upgrade] VALID
--> Oracle OLAP API [upgrade] VALID
Miscellaneous Warnings
WARNING: --> Database contains stale optimizer statistics.
.... Refer to the 11g Upgrade Guide for instructions to update
.... statistics prior to upgrading the database.
.... Component Schemas with stale statistics:
.... SYS
.... OLAPSYS
.... SYSMAN
.... CTXSYS
.... XDB
WARNING: --> Database contains schemas with objects dependent on network
packages.
.... Refer to the 11g Upgrade Guide for instructions to configure Network ACLs.
WARNING: --> EM Database Control Repository exists in the database.
.... Direct downgrade of EM Database Control is not supported. Refer to the
.... 11g Upgrade Guide for instructions to save the EM data prior to upgrade.
PL/SQL procedure successfully completed.
SQL> shutdown immediate;
Database closed.
Database dismounted.
ORACLE instance shut down.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Users\Administrator>set ORACLE_HOME=C:\NewCIS270\product\11.1.0\db_1
C:\Users\Administrator>set ORACLE_SID=KYLMAN
C:\Users\Administrator>set PATH=%ORACLE_HOME%\bin
C:\Users\Administrator>sqlplus "/as sysdba"
SQL*Plus: Release 11.1.0.7.0 - Production on Fri Apr 29 20:22:49 2011
Copyright (c) 1982, 2008, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup upgrade;
ORACLE instance started.
Total System Global Area 440401920 bytes
Fixed Size 1291072 bytes
Variable Size 146803904 bytes
Database Buffers 289406976 bytes
Redo Buffers 2899968 bytes
Database mounted.
Database opened.
SQL> @?
SP2-0310: unable to open file "C:\NewCIS270\product\11.1.0\db_1.sql"
SQL> @?/rdbms/admin/catupgrd
DOC>#######################################################################
DOC>#######################################################################
DOC>
DOC> The first time this script is run, there should be no error messages
DOC> generated; all normal upgrade error messages are suppressed.
DOC>
DOC> If this script is being re-run after correcting some problem, then
DOC> expect the following error which is not automatically suppressed:
DOC>
DOC> ORA-00001: unique constraint (<constraint_name>) violated
DOC> possibly in conjunction with
DOC> ORA-06512: at "<procedure/function name>", line NN
DOC>
DOC> These errors will automatically be suppressed by the Database Upgrade
DOC> Assistant (DBUA) when it re-runs an upgrade.
DOC>
DOC>#######################################################################
DOC>#######################################################################
DOC>#
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the user running this script is not SYS. Disconnect
DOC> and reconnect with AS SYSDBA.
DOC>######################################################################
DOC>######################################################################
DOC>#
no rows selected
DOC>######################################################################
DOC>######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the database server version is not correct for this script.
DOC> Shutdown ABORT and use a different script or a different server.
DOC>######################################################################
DOC>######################################################################
DOC>#
SELECT TO_NUMBER('MUST_BE_11_1') FROM v$instance
ERROR at line 1:
ORA-01722: invalid number
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
C:\Users\Administrator>
Edited by: 855732 on Apr 29, 2011 6:59 PMHi,
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Pr
oduction
With the Partitioning, OLAP and Data Mining options
Your instance is started from the 10g ORACLE_HOME. You mentioned you started it from the 11g ORACLE_HOME but it's not the case.
Here is an example with a 10gR2 database started from a 11gR2 ORACLE_HOME :
SQL> startup upgrade pfile =/u01/app/oracle/product/10.2.0/db_1/dbs/initP102.ora
ORA-32006: BACKGROUND_DUMP_DEST initialization parameter has been deprecated
ORA-32006: USER_DUMP_DEST initialization parameter has been deprecated
ORACLE instance started.
Total System Global Area 167387136 bytes
Fixed Size 1335248 bytes
Variable Size 88080432 bytes
Database Buffers 75497472 bytes
Redo Buffers 2473984 bytes
Database mounted.
Database opened.
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing optionsNotice the Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 part.
In your case it was Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.3.0
To solve the issue follow the official documentation, you have specific actions with oradim etc. to do (it's always a bit more complicated than with Unix/Linux but it's documented) :
http://download.oracle.com/docs/cd/B28359_01/server.111/b28300/upgrade.htm#insertedID8
Best regards
Phil -
EPMMaster.rpd Fusion Pack migration from OBIEE 10g to 11g
We have successfully installed OBIEE 10g and 11g on Windows 2008 32bit servers. On the 10g Installation, we have applied the Fusion Pack EPMMaster RPD file and it connects successfully to our EPM warehouse. We want to migrate the Fusion pack to 11g which is also setup on the same platform. Per the instructions in the documentation, we have copied the files (RPD file and Webcat folder) to the 11g server. We run the UA.bat file and it proceeds to start copying the files over fom the RPD and WebCatalog to the new system. It completes this process, but then hangs on starting the Oracle BI server - it never gets beyond that.
We will be purchasing the EPMMaster RPD and know it is not available yet for 11g – however we’re trying to get ahead of the curve a bit and manually fix the items in the presentation layer that will not render correctly in 11g
upgrade exception occurred
Unable to start process: instance1: coreapplication_obis1
One thing that I noticed – Since the UA tool does not completely finish --
RPD size on 10g – 42,675KB; 11g – 6,375KB
I manually change the webcat in Enterprise Manager to the EPMMaster catalog -this actually caused additional errors on restart.
Has anyone attempted upgrading a delivered RPD to 11g?
Thanks in advance -This is a known issue that we have worked through with Oracle tech support. The Dimension Deduction.Deduction Sid causes an error that prevents the UA tool from completing the upgrade process. There are a couple of ways around this, but the fastest is to simply delete the Dimension, the two related hierarchies and the fact table that is joined to this dimension. Physical table do not need to be touched however. There are still issues once it’s moved to 11g, but those can be addressed post migration. Thanks much to the Oracle support team for helping us out with this issue!
Maybe you are looking for
-
Not getting saved in the calender
HI, I have changed some work schedule in the calender say for the month of October and it showed "work schedule generated for 10 2011 " once i come out and generate a report its not displaying proper report. and if i go back and see the calender fo
-
Printer not-accepting APP-FND-00500: AFPPRN received a return code of failu
Hi Gurus, skgtag: not-accepting APP-FND-00500: AFPPRN received a return code of failure from routine FDUPRN. Program exited with status 1. This is my error. My same request output is printing to other printers. But it is not printing in particular pr
-
How to dump data in file from inetrnal table.
LOOP AT I_KEYROLEUSERS. READ TABLE I_USERS WITH KEY UNAME = I_KEYROLEUSERS-UNAME INTO WA_USERS. IF sy-datum > WA_USERS-DFROM and sy-datum < WA_USERS-DTO. Concatenate 'SAPP40' '001305900' I_KEYROLEUSERS-UNAME 'GID' WA_USERS-LNAME WA_USERS
-
Synchronous Scenario SOAP to Proxy and Proxy to SOAP
Hi Sdn, I am new to Synchronous Scenario. Third party will send SOAP message requesting some information from SAP. SOAP - > PI -> Proxy SAP they are expecting a response Proxy - > PI -> SOAP. Could you please let me know how to design teh Synchronous
-
Automatically loading a new font in a flash
I was thinking of making my own font for my flash website, but the problem is , the users will not have the font, therefore it will only show the default font for them. There is a flashchat program (web driven) that has new fonts on it, that when cho