Problem migrating from Discoverer to OBIEE
We are migrating from Discoverer to OBIEE 11g and we are finding some problems when creating a measure in Administration Tool that in Discoverer involves the next code:
NVL(SUM("Extractos (con acumulados)".Saldo)
OVER(PARTITION BY "Extractos (con acumulados)".Cod ejerc,
"Extractos (con acumulados)".Cgacampa,
"Extractos (con acumulados)".Cgacocea,
"Extractos (con acumulados)".Tpprodcod,
"Extractos (con acumulados)".Producto,
"Extractos (con acumulados)".Subcuenta1
ORDER BY "Extractos (con acumulados)".Cod ejerc ,
"Extractos (con acumulados)".Cgacampa ,
"Extractos (con acumulados)".Cgacocea ,
"Extractos (con acumulados)".Producto ,
"Extractos (con acumulados)".Subcuenta1 ,
"Extractos (con acumulados)".FechaYYYYMMDD ,
"Extractos (con acumulados)".Contador
ROWS UNBOUNDED PRECEDING ),0)
We are using the function Evaluate because the SUM function doesn't allow to use OVER PARTITION BY. The problem we are having is that it when we use the measure we get an error that says that window fuctions are not allowed. By taking out the ORDER BY it works, however it doesnt do what we want it to do. It doesn't work either if we add the order criteria when creating the report, we get the same error.
Is there any way to make it work?
Thanks
I believe you have the desktop client version. Plus and Viewer are Discoverer versions that are typically loaded on a server so that multiple clients can access them over the web. Discoverer Plus and Viewer are components of the Oracle Application Server.
http://www.oracle.com/technology/software/htdocs/devlic.html?url=/technology/software/products/ias/htdocs/101310.html
http://www.oracle.com/technology/documentation/appserver10132.html
http://www.oracle.com/technology/obe/start/index.html
HTH
Srini
Similar Messages
-
Problem migrating from JSF Mojarra 1.2 to 2.0
As my subject suggests, I am having a problem migrating from JSF 1.2 to JSF 2.0.
As a first step, all that I had done was to replace both 'jsf-api.jar' and 'jsf-impl.jar' with the newer version 2.0 and restart my server.
As expected, server failed to publish with the following error message on the console. Any hint on solving this issue is highly appreciated.
The error message goes as below:
<Jun 30, 2009 10:31:54 AM PDT> <Error> <HTTP> <BEA-101371> <There was a failure when processing annotations for application D:\MalcolmX\web. Please make sure that the annotations are valid. The error is com.sun.faces.taglib.jsf_core.BeanValidatorTag>
<Jun 30, 2009 10:31:54 AM PDT> <Error> <Deployer> <BEA-149205> <Failed to initialize the application '_auto_generated_ear_' due to error weblogic.application.ModuleException: Failed to load webapp: '/'.
weblogic.application.ModuleException: Failed to load webapp: '/'
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:387)
at weblogic.application.internal.flow.ScopedModuleDriver.prepare(ScopedModuleDriver.java:176)
at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(ModuleListenerInvoker.java:93)
at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(DeploymentCallbackFlow.java:387)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: com.sun.faces.taglib.jsf_core.BeanValidatorTag
at weblogic.utils.classloaders.GenericClassLoader.findLocalClass(GenericClassLoader.java:283)
at weblogic.utils.classloaders.GenericClassLoader.findClass(GenericClassLoader.java:256)
at weblogic.utils.classloaders.ChangeAwareClassLoader.findClass(ChangeAwareClassLoader.java:54)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
Truncated. see log file for complete stacktrace
Thanks.SirG wrote:
As expected, server failedWow :P
The error message goes as below:
java.lang.ClassNotFoundException: com.sun.faces.taglib.jsf_core.BeanValidatorTagIs it in classpath? Exception says it is not.
Don't you have some JSF 1.2 libraries around somewhere else in classpath? Appserver/lib? JDK/lib? Etc. You might have a mix of JSF 1.2 and JSF 2.0 in the classpath and the exception is just been caused by this collision. -
Problems migrating from edir 8.7.3 to 8.8
Hi,
I need to do a hardware replace for a Netware 6.5 sp 8 server. This
server has edir 8.7.3.10. I loaded a new Proliant server with NW6.5 sp
8 to migrate to. The new server has edir 8.8 on it. The Migration
Wizzard guide says there can be problems migrating from NW6.5 from an
edir 8.7 to 8.8.
I tried to install the new server using the [INST: spedir] option
specifie in this article
(http://www.novell.com/communities/no...edirectory-873)
but the server keeps crashing.
Can I mirgate my old server edir 8.7.3 to the new one 8.8 using the
Migration Wizzard? If not is there any other way to force an install
of edir 8.7.3?
thanksYou could upgrade your eDir on the "original" server to 8.8
I've done that before without any problems.
(obviously this doesn't guarantee it will go right/well). Always have a complete backup of the .dib set (I use the dsrepair -rc on NetWare) as well as a "snapshot" of teh NetWare server if possible (ours is on the SAN, so I can clone the system disk before I do anything to it). -
Data length problem migrating from sql server 7 to oracle 8i
I just migrated SQL Server 7 database to Oracle 8i db and everything seemed to have ran ok except that in my newly created oracle database, the field size is doubled. For instance a field with nvarchar(4) in sql server would convert to varchar2(8). Has anyone ran into this problem and also does anyone know how to fix it? Thank you so much.
Hi Roberto,
You cannot use Workbench 1.2.2 to migrate from SQL Server 7 to
Oracle 8.
However, the good news is that we have a new verion of the
workbench that will have a plugin that can migrate from SQL
Server 7.0 to Oracle8.
A beta version will be downloadable from this web-site in approx
one week. Eventhough this version is a beta version, it has
undergone some rigourous testing and is very close to production.
Regards
John
Roberto Werneck (guest) wrote:
: I would like to know if it is possible to use the workbench
: 1.2.2 to migrate from SQL Server 7 to Oracle 8. If possible
what
: kinds of problems would i probably have. If not, how can i get
: the Beta version ?
: Thanks,
Oracle Technology Network
http://technet.oracle.com
null -
Migration from Cognos to OBIEE
Hi,
We are in the process of migrating cognos components to OBIEE.
Need ur inputs for building cubes in OBIEE...
How Essbase can be integrated and how a model can be built????
Would like to know the performance issues and other common problems in OBIEE...
Some one please help which would be of great help....
Regards,
Pathyhi Pathy,
How about these links?
http://www.biblogs.com/2007/11/26/essbase-integration-with-obiee-101331/
OBIEE with Essbase as datasource-what I need to know
thanks,
saichand.v -
Migration from discoverer 3.1 to BI 10g
Hi all,
We have embarked on a recent project where the version of discoverer is being migrated from Disc 3.1 to Disc 10g. The one issue that is really bringing the implementation down is that all page settings and printouts need to be reset for every single workbook.
Is there any way Discoverer can retain the print setting, instead of the user having to manually go to each report and preview, reset paper size, margins and then print the workbook?
Please let me know if anyone has any ideas on how to overcome this issue.
thanks
Saliha MohammedHi all
If you were upgrading from Discoverer 4 to Discoverer 10 you would have a chance of retaining at least some of these settings. Unfortunately, Discoverer has no direct upgrade from version 3 for workbooks so I fear you will have to recreate your settings.
When you export / import from 3 you gets the business areas, LOVs and all user access converted however this does not copy any workbooks that may have been saved to the database. This I'm afraid is going to be a manual job for the users to save any workbooks they want to a My Computer and then load and save them to the database inside version 4. You might find that settings are retained if you use Desktop for the transfer of workbooks between 3 and 4.
Going from 4 to 10 you may well have to repeat the process. There are still some anomalies that creep in after the upgrade to 10. One that I know about is the default value for NULL. In older versions Discoverer used to blank the cell but in 10g the default is NULL. I'm afraid no workaround for this is known and if you have any workbooks that make use of spaces for NULL you will have to edit these after the upgrade to remove NULL and replace with spaces.
Best wishes
Michael -
Problems migrating from MacBook Pro to MB Air
I'm migrating from a MacBook Pro to a MB Air. Both run OS X 10.7.5. But Migration Assistants are different versions (4.1.2.vs. 1.0.1), and the machines cannot seem to communicate via ethernet. Must I upgrade the older machine to a newer version of Migration Assisatnt? If so, how? (Cannot find a link to download and software updater says I'm current.)
http://support.apple.com/kb/ht4889 and http://pondini.org/OSX/MigrateLion.html
-
The problem
I am migrating a mail server from 10.5 to 10.6 (as the first step to moving to 10.8).
I'm trying to migrate mail from Cyrus to Dovecot, using the command migrate_mail_data.pl but I keep getting the error:
Error: cvt_cyrusdb does not exist in: .
Background
An example of how to use the command is at:
http://www.opensource.apple.com/source/dovecot/dovecot-239/dovecot.Config/migrat e_mail_data.pl
Example: migrate_mail_data.pl --cyrusBin "/Volumes/Tiger/usr/bin/cyrus/bin" --database "/Volumes/Tiger/var/imap" --sourceSpool "/Volumes/Tiger/var/spool/imap" --targetSpool "/Library/Server/Mail/Data/mail "
So, the syntax is:
sudo [location of migrate_mail_data.pl command] --moveMail 0 --cyrusbin "[location of cvt_cyrusdb binary]" -- database "[location of original mail database] "--sourceSpool "[location of original spool files]" --targetSpool "[location of destination files]"
Locating my files
Locate all of my files:
sudo find / -name migrate_mail_data.pl
/usr/libexec/dovecot/migrate_mail_data.pl
sudo find / -name cvt_cyrusdb
/usr/bin/cyrus/bin/cvt_cyrusdb
--database files are at the default location:
/private/var/imap
--sourceSpool files are at the default location:
/private/var/spool/imap
--targetSpool is set for:
"Volumes/Iomega1TB/121014/121005Dovecot/mail"
What I've tried
So, I've tried the following commands (and many other variations!):
sudo /usr/libexec/dovecot/migrate_mail_data.pl --moveMail 0 --cyrusbin "/usr/bin/cyrus/bin" -- database "/var/imap" --sourceSpool "/var/spool/imap" --targetSpool "Volumes/Iomega1TB/121014/121005Dovecot/mail"
sudo /usr/libexec/dovecot/migrate_mail_data.pl --moveMail 0 --cyrusbin "/usr/bin/cyrus/bin/" -- database "/var/imap/" --sourceSpool "/var/spool/imap/" --targetSpool "Volumes/Iomega1TB/121014/121005Dovecot/mail/"
sudo /usr/libexec/dovecot/migrate_mail_data.pl --moveMail 0 --cyrusbin /usr/bin/cyrus/bin/ -- database /var/imap/ --sourceSpool /var/spool/imap/ --targetSpool "Volumes/Iomega1TB/121014/121005Dovecot/mail/"
sudo /usr/libexec/dovecot/migrate_mail_data.pl --moveMail 0 --cyrusbin /usr/bin/cyrus/bin -- database /var/imap --sourceSpool /var/spool/imap --targetSpool "Volumes/Iomega1TB/121014/121005Dovecot/mail/"
All give me the same error:
Error: cvt_cyrusdb does not exist in: .
Interpretation
The error message tells me (perhaps I'm misunderstanding!) that there is a problem with this part of the command:
--cyrusbin "/usr/bin/cyrus/bin"
because that's what defines the path to cvt_cyrusdb
But 'Find' has told me the location of that cvt_cyrusdb command and I can see it in the GUI, too!
Help!
What am I doing wrong?
With thanks in anticipation,
KevinThanks for your advice, MrHoffman.
I was trying to avoid taking the mail server down for more than a few minutes so wanted to:
a. clone and migrate the server configuration to the new machine
b. take server offline
c. copy data to new machine and convert it from Cyrus to Dovecot
d. take server online
Due to the problem with converting the data, it looks like my only option will be to take the mail server down for some hours while I perform all of those operations.
I was really hoping that there might be a simple answer to invoking the cvt_cyrusdb command!
Can anyone tell me how I might fix that?
Kevin -
Problems - Migrating from jhs10.1.2 to 10.1.3
I have problem when i migrate an application form jhs10.1.2 to 10.1.3
When i invoke the application in jdeveloper10.1.3 it will ask me whether to convert from the previous version after i give yes, it is converting.
Now i reenabled the JHS here and also i have allowed it to overwrite the JHS application definition.
Now if i perform run JHS application generator it is completed with out any errors.
Next,when i compile this it is giving errors like
d:\DevsuiteHome_1\jdev\mywork\testmigrate\ViewController\template\treePage.jut
Error(3,30):<Line 35, Column 30>:XML-20201: (Fatal Error) Expected name instead of $
If i open the treePage.jut there it shows
<start>
<template:$Tree_Name$/>
</start>
If i remove the $ symbol it compiles with out errors and if i run the application it gives error page saying "The Page cant be displayed" It explains saying there is a problem with the page which i am trying to open.
Pls Some one help me.....Steve,
There are no errors in jdeveloper.i had got an error saying there is no super class (i.e impl), I had read in one of forum replys and added v2 after adfbc...then it got compiled with out errors.But i have few warnings
http://192.9.200.113:8990/testur-ViewController-context-root/faces/WEB-INF/page/TultestTable.jspx
06/11/18 10:18:06 Oracle Containers for J2EE 10g (10.1.3.0.0) initialized
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Short,null)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Short)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Byte,null)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Byte)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Integer,null)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Integer)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Long,null)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Long)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Float,null)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Float)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Double,null)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(null,java.lang.Double)
10:18:11 WARN (Digester) -[ValidatorRule]{faces-config/validator} Merge(javax.faces.LongRange)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.DateTime,null)
10:18:11 WARN (Digester) -[ConverterRule]{faces-config/converter} Merge(javax.faces.Number,null)
10:18:13 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
10:18:13 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(*)
10:18:13 WARN (Digester) -[NavigationRuleRule]{faces-config/navigation-rule} Merge(/WEB-INF/page/TultestTable.jspx)
Regards,
Tulacenath -
Context Root problem migrating from WAS 4.0.4 to WAS 5.11
Hi,
Hopefully this is the most appropriate forum, apologies if not.
I have a problem in migrating an application from WAS 4.0.4 to WAS 5.11, whereby the Context Path of the application is not being included within the URL of a servlet.
When a user submits one of the application forms (presented as a JSP) and the application is running on WAS 4.0.4, the Form Action URI is "re-written" to include the Context Path of the application i.e. where the URI is "/xx/list.html", the domain is "www.mydomain.com" and the Context Path is "/myapp", on the 4.0.4 server the form submission is redirected to:
www.mydomain.com/myapp/xx/list.html
However, once deployed on WAS 5.11 and updating the Context Path in the EAR file as required during deployment, the application redirects to:
www.mydomain.com/xx/list.html
...which causes an HTTP 404 error as you might expect.
I have included debugging to display the context path at the point of submission and it is what you would expect i.e. "/myapp". The problem seems to be some kind of disconnect between the servlets or application and the application server container(?), perhaps in that it doesn't understand the context in which it exists at the point when the URL is being constructed.
Can anyone give me some pointers as to why the servlet URL isn't being constructed with the Context Path of the application on WAS 5.11 when it is on WAS 4.0.4 please?
Thanks in advance
Jon SumpsterI found the problem.
The default value of the 'com.ibm.websphere.sendredirect.compatibility' variable changed from True in WAS 4.0.4 to False in WAS 5.11. Changing this resolved the problem.
Regards
Jon -
Can't load class problems migrating from PE 8.1 to PE 8.2
Hi. I'm in the process of migrating an application from an old server that runs PE 8.1_02 to a new server that runs PE 8.2.
The application is coded and built in Creator 2.0; the resulting .war file deploys alright into both servers, and operates correctly on the 8.1 server, but throws various "Can't load class" errors on my 8.2 server. One of them looks like this:
exception
javax.servlet.ServletException: Missing Class: Can't load class 'com.talentmap.talentexitadmintool.fields.TextBoxField'.
javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
java.security.AccessController.doPrivileged(Native Method)
com.talentmap.talentexitadmintool.utils.security.SecurityCheckFilter.doFilter(SecurityCheckFilter.java:91)
root cause
javax.faces.FacesException: Missing Class: Can't load class 'com.talentmap.talentexitadmintool.fields.TextBoxField'.
com.sun.faces.util.TreeStructure.createComponent(TreeStructure.java:130)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateManagerImpl.java:464)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateManagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateManagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateManagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateManagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateManagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreComponentTreeStructure(StateManagerImpl.java:466)
com.sun.faces.application.StateManagerImpl.restoreView(StateManagerImpl.java:314)
com.sun.faces.application.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:230)
com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:337)
com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:157)
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:225)
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:193)
sun.reflect.GeneratedMethodAccessor157.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
java.lang.reflect.Method.invoke(Method.java:585)
org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
java.security.AccessController.doPrivileged(Native Method)
javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
java.security.AccessController.doPrivileged(Native Method)
com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
java.security.AccessController.doPrivileged(Native Method)
com.talentmap.talentexitadmintool.utils.security.SecurityCheckFilter.doFilter(SecurityCheckFilter.java:91)
The class that is "missing" (TextBoxField) is very definitely there in the usual place under WEB-INF/classes. I can't figure out why it can't be loaded. The weird part is that a lot of the code still works, but these errrors have broken many of the major functions of our software.
On a hunch I realized that perhaps Creator 2.0 was using some 8.1 specific libraries to build, so I replaced the following libraries with versions found in my appserv tree:
activation.jar
appserv-jstl.jar
appserv-tags.jar
commons-logging.jar
j2ee.jar
jax-qname.jar
jaxr-api.jar
jaxr-impl.jar
jaxrpc-api.jar
jaxrpc-impl.jar
jsf-api.jar
jsf-impl.jar
mail.jar
saaj-api.jar
saaj-impl.jar
Rebuilding with those copied libraries made no difference.
Anyone know what could be causing this? Is there a workaround or fix? Do I need to update Creator with something? Should I revert to 8.1? Should I try moving to 9.0?I solve this problem by doing a remote deployment via creator2 remote deployment server.. first you must take care of JNDI stuff..
I hope this help.. give me feedback -
Problems migrating from iMac to new MacBook Pro
I just bought a MacBook Pro and am trying to use MA to migrate stuff from my iMac (Intel, OSX 10.4.11) to my MacBook Pro (Intel, OSX 10.6.3).
Problem is, every time I try ("from" iMac "to" MacBook Pro), my iMac IDs my MacBook Pro and asks for the passcode, I give it, it then asks for the passcode again, I give it again, then it churns away with the message that it's "looking for other computers". On and on and on and gets stuck in this mode.
I'm using ethernet between the two. Tried wireless also. Same issue. Downloaded the Migration & DVD/CD Sharing Update onto the iMac; it's already on the MacBook Pro. Same problem persists.
Any suggestions? (among the ten zillion firewire cables I have, none fits the MacBook Pro, so haven't tried firewire yet).
Thanks.See:
Mac OS X 10.3, 10.4- Transferring data with Setup Assistant/Migration Assistant FAQ
OS X 10.4- Issues migrating to Mac OS X 10.5 via network connection and Migration Assistant
OS X 10.4- Issues migrating to Mac OS X 10.5 via network connection and Migration Assistant
And, selecting Mac Help from the Finder's Help menu and searching for "migrate" should find additional help.
The 10.5 document may still be useful to you since it specifically deals with the dialog you reported. Obviously it is a known problem if Apple has published a knowledge base article dealing with it. -
Problem - Migration from OAS 4 to 9ias
We have upgraded the application server from 4 to 9ias and are
now running into problems with calling stored PLSQL procedures.
Here is a code snippet of an example stored proc:
PROCEDURE Test (
num_entries in NUMBER,
name_array in OWA.vc_arr,
value_array in OWA.vc_arr,
reserved in OWA.vc_arr
Basically if I call this procedure (w/o any paramaters) using
the old application server and associated plsql cartridge, it
runs no problem loading the webpage and such. Now when I try to
call the same procedure using the new 9ias mod_plsql, it says
there is an error.
Error output (when connecting using browser)
Test: SIGNATURE (parameter names) MISMATCH
VARIABLES IN FORM NOT IN PROCEDURE:
NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
NUM_ENTRIES,NAME_ARRAY,VALUE_ARRAY,RESERVED
We have found that if you do not set a default values for any of
the parameters that it comes up with this error. Is this in fact
the case? Do default values have to exist for procedure
variables when using 9ias? If so how would I set the default
values for this test procedure if Number is integer, and the
rest are arrays.
Does anyone know of a migration tool specifially for this
purpose as we are going to update multiple procedures?
Any help would be beneficial.
DaleGurus,
I figured it out. I should read the documentation more closely.
Found it in...
For questions about backwards compatibility with OAS, refer
to "Using Flexible Parameters and the Exclamation Mark".
I just have to put a exclamation mark in front of the procedure.
Easy fix
Dale -
Problems migrating from weblogic 8.1 to 9.2
Hello All,
I am in the process of migrating a J2EE/EJB application from weblogic 8.1 to 9.2. I am able to deploy the application but could not run it. The application was working fine in 8.1.
weblogic 9.2 throws the following error...
<Error> <HTTP> <AQ1647> <AdminServer> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> <1257288283875> <BEA-101017> <[weblogic.servlet.internal.WebAppServletContext@1e5d16d - appName: 'portal', name: '/', context-path: ''] Root cause of ServletException.
javax.servlet.jsp.JspException: ServletException in '/common/layouts/column.jsp': Can't insert page '/phonebook/favouritePeople.do' : null
at org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:921)
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
at jsp_servlet._common._layouts.__portal._jsp__tag11(__portal.java:663)
at jsp_servlet._common._layouts.__portal._jspService(__portal.java:205)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
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:283)
at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:530)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:266)
at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)
at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:261)
at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:237)
at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:300)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:231)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
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:283)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at com.planetj.servlet.filter.compression.CompressingFilter.handleDoFilter(CompressingFilter.java:191)
at com.planetj.servlet.filter.compression.CompressingFilter.doFilter(CompressingFilter.java:175)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3242)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
>
I understand 9.2 is strict with standards, does this have to do something with the standards?
Thank you in advance.This was an issue with flushing in tiles. I set flush="false" and all is working fine.
Thank you. -
I have used a tool to convert my sql 2000 stored procedure to Oracle 10g PL/SQL, here is an example
SQL 2000 Stored Procedure
CREATE PROCEDURE [GetEmployees]
AS
Select * from EMPMST ORDER BY emp_name
GO
After Transformation i got 2 files, one was a procedure and other a package
CREATE OR REPLACE PACKAGE GLOBALPKG
AS
TYPE RCT1 IS REF CURSOR;
TRANCOUNT INTEGER := 0;
IDENTITY INTEGER;
END;
CREATE OR REPLACE PROCEDURE GetEmployees
RCT1 IN OUT GLOBALPKG.RCT1
AS
BEGIN
OPEN RCT1 FOR
SELECT *
FROM EMPMST
ORDER BY emp_name;
END;
When i execute the procedure GetEmployees i got this error :
SQL> execute GetEmployees;
BEGIN GetEmployees; END;
ERROR at line 1:
ORA-06550: line 1, column 7:
PLS-00306: wrong number or types of arguments in call to 'GETEMPLOYEES'
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored
Please Help me in debugging this error. Thanks in advance.As the poster above mentioned you cannot call "GetEmployees" without a parameter.
Note that the procedure declaration has the following line
RCT1 IN OUT GLOBALPKG.RCT1
This means that whenever you want to call the procedure you must pass it a variable of type GLOBALPKG.RCT1
However unless this is merely a homework or learning exercise (i.e. you are not porting the code of a production application) i would strongly recommend that you do not attempt to simply convert the code to PL/SQL.
The reasoning behind this is that Oracle's architecture will be completely different to the source of the original code and if you attempt to simply port the code (especially using an automatic tool) you will almost certainly hit problems.
For example the SQL Server's 2000 code may (should be) be written based on SQL Server's locking strategy. Oracle's locking strategy is completly different if you try to use the same techniques as you do in SQL Server the performance will suffer.
Porting a code or a database schema from one platform to another involves a lot of analysis in order to take advantage of the features of the destination platform.
As I said this may not be important to you depending on why you are attempting a port.
Good Luck.
Maybe you are looking for
-
IPod with AppleCare: problems registering APP
Hello, I have the following issue: I purchased an iPod video with AppleCare Protection Plan - APP (May 2007). When I am trying to register the APP through the web process (apple.com/support/register), I get stuck on the "What is your extended service
-
SAP GRC 3.0 Custom workflow
Hi, We are implementing GRC3.0 with portal intergration. The standard workflow appears to be working fine. I have a requirement of either customizing the standard workflow or creating a custom workflow to allow exceptions and remediation notification
-
Best way to put system and apps (home directory?) on new SSD?
I just installed a new 115 GB SSD in slot 2 of my MacPro (early 2008). I have not initialized yet. I want to make that my Boot Drive. I have Carbon Cloner and have cloned my entire old HD onto an external so far. What is the best way to get my sys
-
Display list for Vendor search in SC tcode in SRM 7
Hi all, We are on SRM 7.1 ECS. THe vendor search help display list in SRM 7 in the SHOP in 1 STEP tcode displays number of columns like VENDOR ID,name,street,city etc...IN SRM 5,there were only limited number of clumns(around 6) displayed like vendor
-
When I open a pdf document there is just a gray box where there is supposed to be a picture, do I have something besides my brain turned off? I open all these documents ok and print etc ok but for pictures just a plain old gray box. Help! and thank y