Found Error in Documentation
In the Oracle Administrator Guide 10G on the create database statement found here
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/create.htm#i1008985
DEFAULT TABLESPACE tbs_1
Should have a datafile associated with it. It has been corrected on the Admin guide for version 11, just not for version 10.2.
Hello James. I'll pass this information alone to the writer responsible for this book, in case that earlier release is updated. Unfortunately we are not always able to correct earlier releases of the documentation.
Regards,
Diana
Similar Messages
-
ERROR[WSDL Parser] Attribute 'name' not found at: wsdl:documentation
Hello,
I'm currently having a problem generating the Java source code from a WSDL, because the WSDL2Service ant class bundled with the WLS install (in the /server/lib/webservices.jar library) does not comply with the WSDL XSD.
Check http://schemas.xmlsoap.org/wsdl/
Especially if you add a <wsdl:documentation> in your <wsdl:portType> you end up with a WSDLParser error, while the file perfectly validates through Eclipse:
<wsdl:portType name="ImportPortType">
<wsdl:documentation>
Definitions of available operations through the webservice
</wsdl:documentation>
<wsdl:operation name="importData">
<wsdl:input message="tns:ImportInput" />
<wsdl:output message="tns:ImportOutput" />
</wsdl:operation>
</wsdl:portType> The error is:
[wsdl2Service] Generating web service from wsdl C:\Java\Workspaces\MyWorkspace/WebServices/wsdl/Import.wsdl
[wsdl2Service] weblogic.webservice.wsdl.WSDLParseException: ERROR[WSDL Parser] Attribute 'name' not found at:<wsdl:documentation>Definitions of available operations through the webservice
[wsdl2Service] </wsdl:documentation>
[wsdl2Service] at weblogic.webservice.wsdl.WSDLParser.getMustAttribute(WSDLParser.java:263)
[wsdl2Service] at weblogic.webservice.wsdl.WsdlPortType.parsePortType(WsdlPortType.java:29)
[wsdl2Service] at weblogic.webservice.wsdl.WsdlBinding.parseBinding(WsdlBinding.java:45)
[wsdl2Service] at weblogic.webservice.wsdl.WsdlPort.parsePort(WsdlPort.java:46)
[wsdl2Service] at weblogic.webservice.wsdl.WsdlService.parseService(WsdlService.java:37)
[wsdl2Service] at weblogic.webservice.wsdl.WsdlDefinitions.parseDefinition(WsdlDefinitions.java:38)
[wsdl2Service] at weblogic.webservice.wsdl.WSDLParser.visit(WSDLParser.java:71)
[wsdl2Service] at weblogic.webservice.WebServiceFactory.createFromWSDL(WebServiceFactory.java:111)
[wsdl2Service] at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.runClassgen(WSDL2JavaServiceImpl.java:210)
[wsdl2Service] at weblogic.webservice.tools.build.internal.WSDL2JavaServiceImpl.run(WSDL2JavaServiceImpl.java:147)
[wsdl2Service] at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.doWSDL2JavaService(WSDL2Service.java:211)
[wsdl2Service] at weblogic.ant.taskdefs.webservices.wsdl2service.WSDL2Service.execute(WSDL2Service.java:131)
[wsdl2Service] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wsdl2Service] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
[wsdl2Service] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[wsdl2Service] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wsdl2Service] at java.lang.reflect.Method.invoke(Method.java:585)
[wsdl2Service] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wsdl2Service] at org.apache.tools.ant.Task.perform(Task.java:348)
[wsdl2Service] at org.apache.tools.ant.Target.execute(Target.java:357)
[wsdl2Service] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wsdl2Service] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[wsdl2Service] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[wsdl2Service] at org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
[wsdl2Service] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[wsdl2Service] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[wsdl2Service] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[wsdl2Service] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wsdl2Service] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[wsdl2Service] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wsdl2Service] at java.lang.reflect.Method.invoke(Method.java:585)
[wsdl2Service] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wsdl2Service] at org.apache.tools.ant.Task.perform(Task.java:348)
[wsdl2Service] at org.apache.tools.ant.Target.execute(Target.java:357)
[wsdl2Service] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wsdl2Service] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[wsdl2Service] at org.apache.tools.ant.helper.SingleCheckExecutor.executeTargets(SingleCheckExecutor.java:38)
[wsdl2Service] at org.eclipse.ant.internal.ui.antsupport.EclipseSingleCheckExecutor.executeTargets(EclipseSingleCheckExecutor.java:30)
[wsdl2Service] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[wsdl2Service] at org.apache.tools.ant.taskdefs.Ant.execute(Ant.java:416)
[wsdl2Service] at org.apache.tools.ant.taskdefs.CallTarget.execute(CallTarget.java:105)
[wsdl2Service] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
[wsdl2Service] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[wsdl2Service] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[wsdl2Service] at java.lang.reflect.Method.invoke(Method.java:585)
[wsdl2Service] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:105)
[wsdl2Service] at org.apache.tools.ant.Task.perform(Task.java:348)
[wsdl2Service] at org.apache.tools.ant.Target.execute(Target.java:357)
[wsdl2Service] at org.apache.tools.ant.Target.performTasks(Target.java:385)
[wsdl2Service] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1329)
[wsdl2Service] at org.apache.tools.ant.Project.executeTarget(Project.java:1298)
[wsdl2Service] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
[wsdl2Service] at org.eclipse.ant.internal.ui.antsupport.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
[wsdl2Service] at org.apache.tools.ant.Project.executeTargets(Project.java:1181)
[wsdl2Service] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:423)
[wsdl2Service] at org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)
BUILD FAILED
C:\Java\Workspaces\MyWorkspace\EAR\ant\build.xml:22: The following error occurred while executing this line:
C:\Java\Workspaces\MyWorkspace\EAR\ant\build.xml:26: The following error occurred while executing this line:
C:\Java\Workspaces\MyWorkspace\EAR\ant\build_config.xml:65: weblogic.webservice.tools.build.WSBuildException: weblogic.webservice.wsdl.WSDLParseException: ERROR[WSDL Parser] Attribute 'name' not found at:<wsdl:documentation>Definitions of available operations through the webservice
</wsdl:documentation> Digging through the WSDLPortType class (package weblogic.webservice.wsdl ) decompiled code, I clearly saw this kind of parsing does not respect the WSDL XSD:
public class WsdlPortType {
public WsdlPortType() {
operations = new ArrayList();
void parsePortType(WSDLParser wsdlparser, XMLNode xmlnode, Port port) throws WSDLParseException {
Iterator iterator = xmlnode.getChildren();
do {
if(!iterator.hasNext())
break;
XMLNode xmlnode1 = (XMLNode)iterator.next(); // THE NEXT XML NODE IS NOT COMPULSORILY THE <wsdl:operation> ONE!!!
String s = wsdlparser.getMustAttribute("name", xmlnode1);
if(wsdlparser.canHandleMethod(xmlnode1)) {
weblogic.webservice.Operation operation = port.addOperation(s);
WsdlOperation wsdloperation = new WsdlOperation();
wsdloperation.parseOperation(wsdlparser, operation, xmlnode1);
operations.add(wsdloperation);
} while(true);
private ArrayList operations;
} X-(
Edited by maxxyme at 03/13/2008 10:34 AMI created a new project and tried to repeat the steps to import. Still getting the same error.
This is my Message type definition if that helps
<message name="Composite_Weather_ServiceRequestMessage">
<part name="payload" type="tns1:NDFDgenRequest"/>
</message>
<message name="Composite_Weather_ServiceResponseMessage">
<part name="payload" type="tns1:NDFDgenResponse"/>
</message> -
ORA-01403: no data found Error in PLSQL code raised during plug-in processing.
Hello OTN community,
We are having the access to APEX problem. a New user was setup to access the APEX application. When I test to login as a new user, I get the message "ORA-01403: no data found Error in PLSQL code raised during plug-in processing.". When click OK to the disply message, the application will take me out of the sstem. I need help to even understand what is happening. I didn't develop the application, there is no documentation for this application, I am just supporting the application whenever there is a problem and I am new to APEX. As you can see I need help to figure this thing out. Your help is dearly appreciated.
Thank you OTNTry to check the query that is executed and check if there is data or not
-
On : Apache 2.0 , Weblogic 7.0, Win 2000
I installed the Apache plug-in for as described in WL docs, but when I try to
access a URL /weblogic/ ( supposed to be configured automatically ) on apache,
I get '404 : file not found' error.
As per the docs, I did following config in Apache:
1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory to the
APACHE_HOME\modules directory
2. Added to httpd.conf :
LoadModule weblogic_module modules/mod_wl_20.so
3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
-t '
4. Restarted WL & Apache.
Now, the weblogic documentation says,
"Test the Apache plug-in by opening a browser and setting the URL to the Apache
Server + "/weblogic/", which should bring up the default WebLogic Server HTML
page, welcome file, or default servlet, as defined for the default Web Application
on WebLogic Server. For example:
http://myApacheserver.com/weblogic/".
For my server, 'http://localhost/weblogic/' - I get a "404 : file not found" error.
What other configuration is needed ? Do I have to specify '/weblogic/' name anywhere
else in Apache configuration file ?
Any pointers will be appreciated.
Thanks,
SForgot to mention , I've also added following configuration in httpd.conf :
LoadModule weblogic_module modules\mod_wl_20.so
<IfModule mod_weblogic.c>
WebLogicHost localhost
WebLogicPort 7501
</IfModule>
<Location /weblogic>
SetHandler weblogic-handler
PathTrim /weblogic
</Location>
"S" <[email protected]> wrote:
>
On : Apache 2.0 , Weblogic 7.0, Win 2000
I installed the Apache plug-in for as described in WL docs, but when
I try to
access a URL /weblogic/ ( supposed to be configured automatically ) on
apache,
I get '404 : file not found' error.
As per the docs, I did following config in Apache:
1. Copied the 'mod_wl_20.so' file found in WLHOME\server\bin directory
to the
APACHE_HOME\modules directory
2. Added to httpd.conf :
LoadModule weblogic_module modules/mod_wl_20.so
3. Apache httpd.conf syntax correct : checked by running ' APACHE_HOME\bin\Apache
-t '
4. Restarted WL & Apache.
Now, the weblogic documentation says,
"Test the Apache plug-in by opening a browser and setting the URL to
the Apache
Server + "/weblogic/", which should bring up the default WebLogic Server
HTML
page, welcome file, or default servlet, as defined for the default Web
Application
on WebLogic Server. For example:
http://myApacheserver.com/weblogic/".
For my server, 'http://localhost/weblogic/' - I get a "404 : file not
found" error.
What other configuration is needed ? Do I have to specify '/weblogic/'
name anywhere
else in Apache configuration file ?
Any pointers will be appreciated.
Thanks,
S -
"javadoc not found" error for javax package in netbeans.
I am using jmf api on windows under netbeans. But problem is that netbeans do not display documentation for jmf methods . Instead it shows "javadoc not found"
error. Can someone plz help me how to configure the javadoc for jmf.I am using jmf api on windows under netbeans. But problem is that netbeans do not display documentation for jmf methods . Instead it shows "javadoc not found"
error. Can someone plz help me how to configure the javadoc for jmf.Download api docs from [http://java.sun.com/javase/technologies/desktop/media/jmf/2.1.1/specdownload.html] ....
Then in NetBeans:
Tools > Java Platforms > "JDK 1.x (Default)" > "Javadoc" tab > "Add zip/folder" button.....
Add the path of the jmf javadoc zip (or you may have to extract the zip)
You may not see the changes immediately, try restarting NetBeans....
Thanks! -
Overview of Leave --- CREATE OBJECT: The class was not found., error key:
Dear Gurus,
Iam facing this problem that, when i try to open the Leave Overview from the leave request screen. it gives the dump with message
CREATE OBJECT: The class was not found., error key: RFC_ERROR_SYSTEM_FAILURE
this also creates a dump in the back end.
The same dump is appearing when i try to view the Check Documents for the same employee from PTARQ.
Thanks in advance
RamnathHi ,
please find the following solution .it will definitely work .
If you leave configuration is done.
There was an incorrect data in your system. To do these please follow following process.
delete this request using
PTARQ> Delete documents (RPTARQDBDEl)
Please read the report documentation before
deleting the request but it should be safe as it is
a development system.
Please delete this with the above information or delete all
the records for the approver.
After this,, there will be some incorrect workitem in approver inbox.
You need to clear that also by Tcode - SWWL.
ALSO check the leave request workflow of that employee and if there is any error workflow lying in the workflow delete the leave request (which was created with error) Note down the id initiater ( which had error) and in the Test Environment for Leave request (PTARQ) gave the PERNR and delete the documents ( give the id iniater in the document status ).
To check the error work flow go to SWIA and check for that Workflow (Leave) raised by the PERNR at that duration ( check in IT2001 for the duration) and give it here.
After deleting it check in the portal for the leave request if any error is occuring when trying to apply for leave. -
Found Error FRM-13008 Cannot find JaveBean with name oracle.forms.webutil.o
Create new form attached libraies WEBUTIL and Open webutil.old
drag WEBUTILCONFIG and WEBUTIL then create datablock,canvas WEBUTIL_CANVAS I double click canvas alert Found Error FRM-13008 Cannot find JaveBean with name oracle.forms.webutil.o
How to solve problem
Please Urgent
Thank youformsweb.cfg
ific, named configuration (see below)
[default]
# System parameter: default base HTML file
baseHTML=webutilbase.htm
baseHTML=base.htm
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
workingDirectory=
envFile=default.env
escapeparams=true
# System parameter: base HTML file for use with JInitiator client
baseHTMLjinitiator=basejini.htm
# System parameter: base HTML file for use with Sun's Java Plug-In
baseHTMLjpi=basejpi.htm
# System parameter: delimiter for parameters in the base HTML files
HTMLdelimiter=%
# System parameter: working directory for Forms runtime processes
# WorkingDirectory defaults to <oracle_home>/forms if unset.
# System parameter: file setting environment variables for the Forms runtime processes
envFile=default.env
# Forms runtime argument: whether to escape certain special characters
# in values extracted from the URL for other runtime arguments
# Forms runtime argument: which form module to run
form=test.fmx
# Forms runtime argument: database connection details
userid=
# Forms runtime argument: whether to run in debug mode
debug=no
# Forms runtime argument: host for debugging
host=
# Forms runtime argument: port for debugging
port=
# Other Forms runtime arguments: grouped together as one parameter.
# These settings support running and debugging a form from the Builder:
otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% obr=%obr% query_only=%query_only% quiet=%quiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log% term=%term%
# Sub argument for otherparams
buffer=no
# Sub argument for otherparams
debug_messages=no
# Sub argument for otherparams
array=no
# Sub argument for otherparams
obr=no
# Sub argument for otherparams
query_only=no
# Sub argument for otherparams
quiet=yes
# Sub argument for otherparams
render=no
# Sub argument for otherparams
record=
# Sub argument for otherparams
tracegroup=
# Sub argument for otherparams
log=
# Sub argument for otherparams
term=
# HTML page title
pageTitle=Oracle Application Server Forms Services
# HTML attributes for the BODY tag
HTMLbodyAttrs=
# HTML to add before the form
HTMLbeforeForm=
# HTML to add after the form
HTMLafterForm=
# Forms applet parameter: URL path to Forms ListenerServlet
serverURL=/forms/lservlet
# Forms applet parameter
codebase=/forms/java
# Forms applet parameter
imageBase=DocumentBase
# Forms applet parameter
width=2000
# Forms applet parameter
height=800
# Forms applet parameter
separateFrame=false
# Forms applet parameter
splashScreen=
# Forms applet parameter
background=
# Forms applet parameter
lookAndFeel=Oracle
# Forms applet parameter
colorScheme=teal
# Forms applet parameter
logo=no
# Forms applet parameter
restrictedURLparams=HTMLbodyAttrs,HTMLbeforeForm,pageTitle,HTMLafterForm,log,allow_debug,allowNewConnections
# Forms applet parameter
formsMessageListener=
# Forms applet parameter
recordFileName=
# Forms applet parameter
serverApp=default
# Forms applet archive setting for JInitiator
archive_jini=frmall_jinit.jar
# Forms applet archive setting for other clients (Sun Java Plugin, Appletviewer, etc)
archive=frmall.jar
# Number of times client should retry if a network failure occurs. You should
# only change this after reading the documentation.
networkRetries=0
# Page displayed to Netscape users to allow them to download Oracle JInitiator.
# Oracle JInitiator is used with Windows clients.
# If you create your own page, you should set this parameter to point to it.
jinit_download_page=/forms/jinit/us/jinit_download.htm
# Parameter related to the version of JInitiator
jinit_classid=clsid:CAFECAFE-0013-0001-0022-ABCDEFABCDEF
jinit_exename=jinit.exe#Version=1,3,1,22
# Parameter related to the version of JInitiator
jinit_mimetype=application/x-jinit-applet;version=1.3.1.22
# Page displayed to users to allow them to download Sun's Java Plugin.
jpi_download_page=http://java.sun.com/products/archive/j2se/1.4.2_06/index.html
# Parameter related to the version of the Java Plugin
jpi_classid=clsid:CAFEEFAC-0014-0002-0006-ABCDEFFEDCBA
# Parameter related to the version of the Java Plugin
jpi_codebase=http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab#Version=1,4,2,06
# Parameter related to the version of the Java Plugin
jpi_mimetype=application/x-java-applet;jpi-version=1.4.2_06
# EM config parameter
# Set this to "1" to enable Enterprise Manager to track Forms processes
em_mode=0
# Single Sign-On OID configuration parameter
oid_formsid=%OID_FORMSID%
# Single Sign-On OID configuration parameter
oracle_home=C:\DevSuiteHome_1
# Single Sign-On OID configuration parameter
formsid_group_dn=%GROUP_DN%
# Single Sign-On OID configuration parameter: indicates whether we allow
# dynamic resource creation if the resource is not yet created in the OID.
ssoDynamicResourceCreate=true
# Single Sign-On parameter: URL to redirect to if ssoDynamicResourceCreate=false
ssoErrorUrl=
# Single Sign-On parameter: Cancel URL for the dynamic resource creation DAS page.
ssoCancelUrl=
# Single Sign-On parameter: indicates whether the url is protected in which
# case mod_osso will be given control for authentication or continue in
# the FormsServlet if not. It is false by default. Set it to true in an
# application-specific section to enable Single Sign-On for that application.
ssoMode=false
# The parameter allow_debug determines whether debugging is permitted.
# Administrators should set allow_debug to "true" if servlet
# debugging is required, or to provide access to the Forms Trace Xlate utility.
# Otherwise these activities will not be allowed (for security reasons).
allow_debug=false
# Parameter which determines whether new Forms sessions are allowed.
# This is also read by the Forms EM Overview page to show the
# current Forms status.
allowNewConnections=true
# EndUserMonitoring
# EndUserMonitoringEnabled parameter
# Indicates whether EUM/Chronos integration is enabled
EndUserMonitoringEnabled=
# EndUserMonitoringURL
# indicates where to record EUM/Chronos data
EndUserMonitoringURL=
[sepwin]
separateFrame=True
lookandfeel=Generic
# Example Named Configuration Section
# Example 2: configuration forcing use of the Java Plugin in all cases (even if
# the client browser is on Windows)
[jpi]
baseHTMLJInitiator=basejpi.htm
# Example Named Configuration Section
# Example 3: configuration running the Forms ListenerServlet in debug mode
# (debug messages will be written to the servlet engine's log file).
[debug]
serverURL=/forms/lservlet/debug
# Sample configuration for deploying WebUtil. Note that WebUtil is shipped with
# DS but not AS and is also available for download from OTN.
[webutil]
#WEBUTIL_CONFIG=C:\DevSuiteHome_1\forms\webutil.cfg
#WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
archive_jini=frmall_jinit.jar
archive=frmall.jar
lookAndFeel=oracle
[webutilie]
IE=native
webUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTML=webutilbase.htm
baseHTMLie=webutilbase.htm
archive=/forms/java/frmall.jar
lookAndFeel=oracle
[webutiljpi]
WebUtilArchive=/forms/java/frmwebutil.jar,/forms/java/jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljpi.htm
baseHTMLjpi=webutiljpi.htm
baseHTMLie=webutiljpi.htm
baseHTML=webutiljpi.htm
archive=/forms/java/frmall.jar
[tutoforms10g]
envFile=tutforms10g.env
archive_jini=frmall_jinit.jar,myIcons.jar,FormsGraph.jar
archive=frmall.jar,myIcons.jar,FormsGraph.jar
pageTitle=Oracle Forms 10g tutorial
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=webutiljini.htm
baseHTMLjpi=webutiljpi.htm
form=tuto_forms.fmx
separateFrame=True
lookandfeel=Oracle
imagebase=codebase
width=2000
height=800
splashScreen=no
background=no
lookAndFeel=Oracle
colorScheme=blaf
logo=no
2 class path,create db packages,generate plx? how to set where? classpath,create public synonym? Please ask me step to set -
Strange "class not found" errors
here's the problem:
i noticed that when you "run" an html page with a java applet in it, jdeveloper (ver 9.0.3) doesn't really process the page but instead it runs your applet in an applet window. the applets i made don't have a problem running this way, but when i force jdeveloper to run them in a browser window (ie, by loading the webpage housing the applet as a frame in another page), i get "class <mypackagename.myclassname> not found" errors and the applet doesnt run. this only started after i installed then uninstalled the latest jdk from sun (since it caused problems with jdeveloper) and reverted to the jdk that came with jdev. i already tried adding to the classpath project settings the paths of both the package and the class itself but still it doesn't work.
even stranger still, another applet that i installed before (a 3rd party applet: mgmapguide viewer) works fine regardless wether its run in the page itself or in an appletviewer.
i'm obviously missing something here, can someone point out what? any help would be appreciated.
thanks in advanceJDeveloper does this intentionally..
Here is more info on how JDev deals with Applets and
HTML pages.
JDeveloper 903's Documentation:
Top Level
Developing Java GUI Clients> Working with Applets -
404 File not Found error trying servlet under https
Hi,
This is the first time that I've had to work with SSL. I have a servlet that worked fine under regular http. I had to implement SSL and run my site over https. When I try to access my servlet under HTTPS, I get the 404 File not found error. Is there something that I need to setup for servlets to run under SSL in apache or server.xml? or Do I need to modify my JSP and Servlet code?
I call my servlet from my JSP on the action method of the form like such:
* JSP call to servlet
<form action="https://www.benefitserver.com:8081/FDFServlet" method="post">
* Servlet code
import javax.servlet.*;
import javax.servlet.http.*;
import javax.net.ssl.*;
import java.io.*;
import java.util.*;
import com.yoursummit.benefitserver.*;
import com.adobe.fdf.*;
import com.adobe.fdf.exceptions.*;
public class FDFServlet extends HttpServlet
private static final String CONTENT_TYPE = "text/html";
private String fileout = "";
//Initialize global variables
public void init() throws ServletException
System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.internal.www.protocol");
java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
//Process the HTTP Get request
public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
doPost( request, response);
//Process the HTTP Post request
public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
String planID = request.getParameter("planID");
String empID = request.getParameter("empID");
HttpSession session = request.getSession();
try {
FDFDoc outputFDF = null;
/* Create a new FDF. */
outputFDF = new FDFDoc();
// Set the form fields with values from the database
if ( planID.equalsIgnoreCase("31") )
formDeltaPopulation formDP = new formDeltaPopulation();
fileout = formDP.populateDeltaForm( outputFDF, planID, empID, request );
if (planID.equalsIgnoreCase("29") )
formUnicarePopulation formUC = new formUnicarePopulation();
fileout = formUC.populateUnicareForm( outputFDF, planID, empID, request );
if (planID.equalsIgnoreCase("30") || planID.equalsIgnoreCase("32") || planID.equalsIgnoreCase("33") || planID.equalsIgnoreCase("34") || planID.equalsIgnoreCase("35"))
formSunLifePopulation formSL = new formSunLifePopulation();
fileout = formSL.populateSunLifeForm( outputFDF, planID, empID, request );
response.sendRedirect(com.yoursummit.utils.urlRewrite.getServletURL(request,"emp_main.jsp?empID=" + empID));
} catch(FDFException fdfe) {
/* We handle an error by emitting an html header */
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("Caught FDF exception");
out.println(fdfe.toString());
fdfe.printStackTrace(out);
IOException e = new IOException ( fdfe.getMessage() );
throw e;
catch(IOException ioe) {
/* We handle an error by emitting an html header */
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("Caught FDF exception");
out.println(ioe.toString());
ioe.printStackTrace(out);
throw ioe;
catch(Exception e) {
/* We handle an error by emitting an html header */
response.setContentType("text/html");
PrintWriter out = response.getWriter();
out.println("Caught tomcatDB exception");
out.println(e.toString());
e.printStackTrace(out);
IOException ioe = new IOException ( e.getMessage() );
throw ioe;
//Clean up resources
public void destroy()
}I have been told that there is problem with my configuration of Tomcat. I have followed the documentation found at
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
and it doesn't work. I have been working on this for a week now and can't seem to get it to work. Can someone please take a look at it and tell me what I am doing wrong? THANKS!
I get "HTTP 404 - File not Found" with the URL https://www.benefitserver.com/FDFServlet
I get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" with the URL https://www.benefitserver.com/servlet/FDFServlet
I've looked at the log files for Apache and I don't see any errors listed. No errors logged in the Tomcat log file either.
* httpd.conf
## Include line for mod_jk.so (Jakarta-Tomcat installation)
#Include /usr/home/summimps/usr/local/jakarta/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
LoadModule jk_module libexec/mod_jk.so
AddModule mod_jk.c
JkWorkersFile /usr/home/summimps/usr/tomcat4.1.24/conf/worker.properties
JkLogFile /usr/home/summimps/var/log/mod_jk.log
JkLogLevel info
#JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
#JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
#JkRequestLogFormat "%w %V %T"
JkMount /*.jsp benefitserver
JkMount /solarc/*.jsp benefitserver
JkMount /servlet/* ajp13
JkMount /solarc/servlet/* ajp13
# Should mod_jk send SSL information to Tomcat (default is On)
#JkExtractSSL On
# What is the indicator for SSL (default is HTTPS)
JkHTTPSIndicator HTTPS
# What is the indicator for SSL session (default is SSL_SESSION_ID)
JkSESSIONIndicator SSL_SESSION_ID
# What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
JkCIPHERIndicator SSL_CIPHER
# What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
JkCERTSIndicator SSL_CLIENT_CERT
<Directory />
AllowOverride None
</Directory>
<Directory "/usr/tomcat4.1.24/webapps/ROOT">
Options Indexes
<IfDefine SSL>
SSLRequireSSL
SSLOptions +StdEnvVars +ExportCertData +StrictRequire
SSLVerifyClient require
SSLVerifyDepth 1
</IfDefine>
</Directory>
<VirtualHost benefitserver.com www.benefitserver.com>
SSLRequireSSL
ServerName benefitserver.com
ServerAdmin [email protected]
DocumentRoot /usr/local/etc/httpd/htdocs/benefitserver
TransferLog /usr/local/etc/httpd/logs/bsAccess_log
ErrorLog /usr/local/etc/httpd/logs/bsError_log
</VirtualHost>
* server.xml
<?xml version='1.0' encoding='utf-8'?>
<Server className="org.apache.catalina.core.StandardServer" debug="0" port="8006" shutdown="SHUTDOWN">
<Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
<Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
<GlobalNamingResources>
</GlobalNamingResources>
<Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
redirectPort="8443" bufferSize="2048" port="8081" connectionTimeout="20000" scheme="https" enableLookups="true" secure="true" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" debug="0" disableUploadTimeout="true" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="100" useURIValidationHack="false" connectionLinger="-1" compression="off">
<Factory className="org.apache.catalina.net.SSLServerSocketFactory" keystoreFile="//.keystore" keystoreType="JKS" algorithm="SunX509" clientAuth="false" protocol="TLS"/>
</Connector>
<Engine className="org.apache.catalina.core.StandardEngine" mapperClass="org.apache.catalina.core.StandardEngineMapper" debug="0" defaultHost="localhost" name="Standalone">
<Host className="org.apache.catalina.core.StandardHost" appBase="webapps" liveDeploy="true" mapperClass="org.apache.catalina.core.StandardHostMapper" autoDeploy="true" configClass="org.apache.catalina.startup.ContextConfig" errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" debug="9" deployXML="true" contextClass="org.apache.catalina.core.StandardContext" unpackWARs="true" name="localhost">
<Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Welcome to Tomcat" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="/usr/tomcat4.1.24/webapps/ROOT" cookies="true" path="" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
<Environment name="uploadUrl" override="true" type="java.lang.String" description="URL to display uploaded file in Benefit Server" value="http://www.benefitserver.com:8081/bsup"/>
<Environment name="exportPath" override="true" type="java.lang.String" description="Export Path for Benefit Server Export Utility" value="/usr/tomcat4.1.24/webapps/ROOT/bsex"/>
<Environment name="uploadPath" override="true" type="java.lang.String" description="Upload Path for Benefit Server" value="/usr/tomcat4.1.24/webapps/ROOT/bsup/"/>
<Environment name="tempPath" override="true" type="java.lang.String" description="Temporary Directory for File Upload in Benefit Server - Developm" value="/usr/home/summimps/tmp/benefitserver"/>
<Resource name="BS_Data" type="javax.sql.DataSource" scope="Shareable"/>
<ResourceParams name="BS_Mail">
<parameter>
<name>mail.smtp.host</name>
<value>localhost</value>
</parameter>
</ResourceParams>
<ResourceParams name="BS_Data">
<parameter>
<name>url</name>
<value>jdbc:mysql://localhost/BS_Data</value>
</parameter>
<parameter>
<name>password</name>
<value>kdsusa1350</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>50</value>
</parameter>
<parameter>
<name>maxWait</name>
<value>5000</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.mysql.jdbc.Driver</value>
</parameter>
<parameter>
<name>username</name>
<value>summimps</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>5</value>
</parameter>
</ResourceParams>
</Context>
<Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_log." directory="logs" timestamp="true" suffix=".txt"/>
</Host>
<Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="catalina_log." directory="logs" timestamp="true" suffix=".txt"/>
<Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase" validate="true"/>
</Engine>
</Service>
</Server>
* web.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<servlet>
<servlet-name>FDFServlet</servlet-name>
<servlet-class>FDFServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FDFServlet</servlet-name>
<url-pattern>/FDFServlet</url-pattern>
</servlet-mapping>
</web-app> -
How can i Track or Read "404 File Not Found" errors that appear in the firebug console?
Currently i'm able to capture the javascript errors using window.onerror callback. But with this callback i'm unable to capture the "File Not Found" errors. Could you let me know if there are any possible ways to track this kind of errors?
I don't know the answer to that. You will probably have better luck asking on the Firebug website:
*Firebug documentation - http://getfirebug.com/wiki/index.php/Main_Page
*Firebug community - http://getfirebug.com/community
Or try asking on the Firebug IRC channel - [https://www.mibbit.com/?server=irc.mozilla.org&channel=%23firebug #firebug on irc.mozilla.org] -
numerous reinstalls still result in the "11001 not found" error message...
Keren,
Did you follow installation guide. Kindly check
http://help.sap.com/bp_epv260/EP_EN/documentation/EP/N50_BB_InstallGuide_EN_US.doc
com.sap.visualcomposer.BIKit is on page 9 of 21.
James -
I am getting ORA-01403: no data found error while calling a stored procedur
Hi, I have a stored procedure. When I execute it from Toad it is successfull.
But when I call that from my java function it gives me ORA-01403: no data found error -
My code is like this -
SELECT COUNT(*) INTO L_N_CNT FROM TLSI_SI_MAST WHERE UPPER(CUST_CD) =UPPER(R_V_CUST_CD) AND
UPPER(ACCT_CD)=UPPER(R_V_ACCT_CD) AND UPPER(CNSGE_CD)=UPPER(R_V_CNSGE_CD) AND
UPPER(FINALDEST_CD)=UPPER(R_V_FINALDEST_CD) AND UPPER(TPT_TYPE)=UPPER(R_V_TPT_TYPE);
IF L_N_CNT >0 THEN
DBMS_OUTPUT.PUT_LINE('ERROR -DUPlicate SI-1');
SP_SEL_ERR_MSG(5,R_V_ERROR_MSG);
RETURN;
ELSE
DBMS_OUTPUT.PUT_LINE('BEFORE-INSERT');
INSERT INTO TLSI_SI_MAST
( CUST_CD, ACCT_CD, CNSGE_CD, FINALDEST_CD, TPT_TYPE,
ACCT_NM, CUST_NM,CNSGE_NM, CNSGE_ADDR1, CNSGE_ADDR2,CNSGE_ADDR3,
CNSGE_ADDR4, CNSGE_ATTN, EFFECTIVE_DT, MAINT_DT,
POD_CD, DELVY_PL_CD, TRANSSHIP,PARTSHIPMT, FREIGHT,
PREPAID_BY, COLLECT_BY, BL_REMARK1, BL_REMARK2,
MCC_IND, NOMINATION, NOTIFY_P1_NM,NOTIFY_P1_ATTN , NOTIFY_P1_ADDR1,
NOTIFY_P1_ADDR2, NOTIFY_P1_ADDR3, NOTIFY_P1_ADDR4,NOTIFY_P2_NM,NOTIFY_P2_ATTN ,
NOTIFY_P2_ADDR1,NOTIFY_P2_ADDR2, NOTIFY_P2_ADDR3, NOTIFY_P2_ADDR4,
NOTIFY_P3_NM,NOTIFY_P3_ATTN , NOTIFY_P3_ADDR1,NOTIFY_P3_ADDR2, NOTIFY_P3_ADDR3,
NOTIFY_P3_ADDR4,CREATION_DT, ACCT_ATTN, SCC_IND, CREAT_BY, MAINT_BY
VALUES( R_V_CUST_CD,R_V_ACCT_CD,R_V_CNSGE_CD,R_V_FINALDEST_CD,R_V_TPT_TYPE,
R_V_ACCT_NM,R_V_CUST_NM ,R_V_CNSGE_NM, R_V_CNSGE_ADDR1,R_V_CNSGE_ADDR2, R_V_CNSGE_ADDR3,
R_V_CNSGE_ADDR4,R_V_CNSGE_ATTN, R_V_EFFECTIVE_DT ,SYSDATE, R_V_POD_CD,R_V_DELVY_PL_CD,R_V_TRANSSHIP ,R_V_PARTSHIPMT , R_V_FREIGHT,
R_V_PREPAID_BY ,R_V_COLLECT_BY ,R_V_BL_REMARK1 ,R_V_BL_REMARK2,R_V_MCC_IND,
R_V_NOMINATION,R_V_NOTIFY_P1_NM, R_V_NOTIFY_P1_ATTN, R_V_NOTIFY_P1_ADD1, R_V_NOTIFY_P1_ADD2,
R_V_NOTIFY_P1_ADD3, R_V_NOTIFY_P1_ADD4, R_V_NOTIFY_P2_NM, R_V_NOTIFY_P2_ATTN, R_V_NOTIFY_P2_ADD1,
R_V_NOTIFY_P2_ADD2, R_V_NOTIFY_P2_ADD3, R_V_NOTIFY_P2_ADD4, R_V_NOTIFY_P3_NM, R_V_NOTIFY_P3_ATTN,
R_V_NOTIFY_P3_ADD1, R_V_NOTIFY_P3_ADD2, R_V_NOTIFY_P3_ADD3, R_V_NOTIFY_P3_ADD4,
SYSDATE,R_V_ACCT_ATTN,R_V_SCC_IND,R_V_USER_ID,R_V_USER_ID
DBMS_OUTPUT.PUT_LINE(' SI - REC -INSERTED');
END IF;Hi,
I think there is a part of the stored procedure you did not displayed in your post. I think your issue is probably due to a parsed value from java. For example when calling a procedure from java and the data type from java is different than expected by the procedure the ORA-01403 could be encountered. Can you please show the exact construction of the call of the procedure from within java and also how the procedure possible is provided with an input parameter.
Regards, Gerwin -
'dimension attribute was not found' error while refresing the cube in Excel
Dear All,
Thanks for all your support and help.
I need an urgent support from you as I am stuck up here from nearly past 2-3 days and not getting a clue on it.
I have re-named a dimension attribute 'XX' to 'xx' (Caps to small)in my cube and cleared all dependencies (In Attribute relationship tab as well).
But while refreshing the data in excel client (of course after processing the full cube) I get an error
'Query (1, 1911) the [Dimension Name].[Hierarchy Name].[Level Name].[XX] dimension attribute was not found' error.
Here I am trying to re-fresh an existing report without any changes with the new data.
Does not it re-fresh automatically if we clear the dependencies or there something that I am missing here (Like order of the dependencies).
Cube processed completely after modifications and able to create new reports without any issues for same data. What else could be the reason?
Can some one help me here?
Thanks in Advance and Regards,Thnaks alot Vikram,
In se11 ,when i was trying to activate the /BIC/FZBKUPC , it is showing the warnings like
Key field KEY_ZBKUPCP has num. type INT4: Buffering not possible, Transport restricted.What it means.
In PErformance Window it is showing like:
A numeric type was used for a key field. A table of this sort cannot be buffered.When buffering, the table records for numeric values cannot be stored in plain text.
Procedure
You can enter "no buffering" as an attribute of the technical settings and then repeat the activation process. The table is not buffered.
If you want to buffer the table, you must replace the type in the key field by a character type, i.e. that you must modify the table.
Please adivice with your valueable suggestyions.
Thanks Vikram. -
PL/SQL reporting problem - "The webpage cannot be found" error
Dear All Expert,
I'm here having a problem on generating apex report using PL/SQL. "The webpage cannot be found" error appear when "Search" button pressed.
I'm appreciating if anyone can give their idea on this issue.
PL/SQL will be fired when "Search" button pressed.
My PL/SQL code as below;
DECLARE
lv_desc CLOB:='';
lv_note_desc varchar2(4000);
lv2 CLOB;
lv_title varchar2(2000);
lv_ti varchar2(10);
lv_tg varchar2(10);
lv_tr_cnt integer:= 0;
lv_ti_code varchar2(6);
lv_age number(6):= 0;
lv_note_flag varchar(1);
fv_note_flag varchar2(6);
fv_ti_code varchar2(6);
ti_code varchar2(20);
ti_name varchar2(50);
ti_tm_code varchar2(6);
ti_test_grp varchar2(6);
note_desc varchar2(4000);
ti_unit varchar2(20);
ti_insurance_code varchar2(20);
ti_price number(14);
ti_sex varchar(1);
ti_age varchar(10);
ti_tr_desc varchar(30);
ti_lolimit number(10);
ti_uplimit number(10);
ti_plolimit number(10);
ti_puplimit number(10);
lv_hkey number(10):= 0;
lv_found varchar2(1):= 'N';
lv_itpv varchar2(4000);
lv_lolimit char(15);
lv_uplimit char(15);
lv_tr char(15);
lv_tc char(30);
CURSOR READ_C1_REC IS
select ti_code, ti_name, ti_tm_code, ti_test_grp,ti_unit, ti_itpv_flag,ti_attached_cmt
from test_item
where ti_code like NVL(:P11104_TI_CODE,'%')
and ti_test_grp like NVL(:P11104_TG_CODE,'%')
and ti_code not like '0MB%'
order by ti_code;
C1_REC READ_C1_REC%ROWTYPE;
CURSOR READ_C2_REC IS
select tr_sex_code,tr_ageto,tr_agecode,tr_range_desc,tr_mrr_desc,tr_normal_lolimit,tr_upper_uplimit,tr_panic_lolimit,tr_panic_uplimit
from tr_range
where tr_ti_code = lv_ti_code
order by tr_ageto asc,tr_sex_code desc;
C2_REC READ_C2_REC%ROWTYPE;
cursor READ_C3_REC is
select tivh_key
from test_itpvh
where tivh_ti_code = ti_code
order by tivh_efd desc;
C3_REC READ_C3_REC%ROWTYPE;
cursor READ_C4_REC is
select tivd_lolimit,tivd_uplimit,tivd_value,tivd_rr_desc
from test_itpvd
where tivd_hkey = lv_hkey
order by tivd_seqno;
C4_REC READ_C4_REC%ROWTYPE;
BEGIN
lv_title := '<div style="overflow: auto;height: 500px; width: 1000px;"><table style="width: 500px" cellpadding="0" cellspacing="0"><thead><tr><th>Code</th><th>Name</th></tr></thead>';
htp.p(lv_title);
OPEN READ_C1_REC;
LOOP
FETCH READ_C1_REC INTO C1_REC;
EXIT WHEN READ_C1_REC%NOTFOUND;
lv_note_flag := 'N';
fv_note_flag := 'N';
fv_ti_code := c1_rec.ti_code;
ti_code := c1_rec.ti_code;
ti_name := ' '||c1_rec.ti_name;
ti_tm_code := c1_rec.ti_tm_code;
ti_test_grp := c1_rec.ti_test_grp;
lv_desc := '<tbody><tr><td><input type="hidden" name="f01" value="'||fv_ti_code||'" /></td>'||
'<td><input type="text" name="f02" size="20" maxlength="20" value="'||ti_code||'" /></td>'||
'<td><input type="text" name="f03" size="50" maxlength="50" value="'||ti_name||'" /></td>'||
'<td><input type="text" name="f04" size="6" maxlength="6" value="'||ti_tm_code||'" /></td>'||
'<td><input type="text" name="f05" size="6" maxlength="6" value="'||ti_test_grp||'" /></td>';
if c1_rec.ti_itpv_flag = 'Y' then
lv_note_flag := 'Y';
open read_c3_rec;
loop
fetch read_c3_rec into c3_rec;
exit when read_c3_rec%notfound;
lv_hkey := c3_rec.tivh_key;
lv_found := 'Y'; exit;
end loop;
close read_c3_rec;
if lv_found = 'Y' then
lv_lolimit := 'Lower limit'; lv_uplimit := 'Upper limmit';
lv_tr := 'Result'; lv_tc := 'Comment';
lv_itpv := 'INTERPRETED TEST RESULT'||chr(10)||'-----------------------'||chr(10)||lv_lolimit||lv_uplimit||lv_tr||lv_tc||chr(10);
open read_c4_rec;
loop
fetch read_c4_rec into c4_rec;
exit when read_c4_rec%notfound;
lv_lolimit := to_char(c4_rec.tivd_lolimit,'999990.999');
lv_uplimit := to_char(c4_rec.tivd_uplimit,'999990.999');
lv_tr := c4_rec.tivd_value;
lv_tc := c4_rec.tivd_rr_desc;
lv_itpv := lv_itpv||chr(10)||lv_lolimit||lv_uplimit||lv_tr||lv_tc;
end loop;
close read_c4_rec;
end if;
note_desc := lv_itpv||chr(10)||chr(10);
end if;
if ltrim(rtrim(c1_rec.ti_attached_cmt)) is not null then
lv_note_flag := 'Y';
note_desc := note_desc||'ATTACHED COMMENTS'||chr(10)||'-----------------'||chr(10)||ltrim(rtrim(c1_rec.ti_attached_cmt))||chr(10);
end if;
begin
select unit_name into ti_unit
from unit_tbl
where unit_code = c1_rec.ti_unit;
exception when no_data_found then
ti_unit := null;
end;
lv_desc := lv_desc ||'<td><input type="text" name="f06" size="20" maxlength="20" value="'||ti_unit||'" /></td>';
begin
select imh_insurance_code, imh_curr_p1 into ti_insurance_code, ti_price
from item_masterh
where imh_code = c1_rec.ti_code;
exception when no_data_found then
ti_insurance_code := null; ti_price := null;
end;
lv_desc := lv_desc ||'<td><input type="text" name="f07" size="20" maxlength="20" value="'||ti_insurance_code||'" /></td>'||'<td><input type="text" name="f08" size="14" maxlength="14" value="'||to_char(ti_price)||'" /></td>';
lv_ti_code := c1_rec.ti_code;
lv_tr_cnt := 0;
lv2 := '<table width="100%" border="0" bgcolor="#009900" cellspacing="0">';
OPEN READ_C2_REC;
LOOP
FETCH READ_C2_REC INTO C2_REC;
EXIT WHEN READ_C2_REC%NOTFOUND;
lv_tr_cnt := lv_tr_cnt + 1;
if c2_rec.tr_agecode = 'Y' then
lv_age := c2_rec.tr_ageto / 365;
elsif c2_rec.tr_agecode = 'M' then
lv_age := c2_rec.tr_ageto / 30;
else
lv_age := c2_rec.tr_ageto;
end if;
ti_sex := c2_rec.tr_sex_code;
ti_age := lv_age||c2_rec.tr_agecode;
ti_tr_desc := ' '||c2_rec.tr_range_desc;
ti_lolimit := c2_rec.tr_normal_lolimit;
ti_uplimit := c2_rec.tr_upper_uplimit;
ti_plolimit := c2_rec.tr_panic_lolimit;
ti_puplimit := c2_rec.tr_panic_uplimit;
if c2_rec.tr_range_desc = 'MRR' then
lv_note_flag := 'Y';
note_desc := 'MRR DESCRIPTION'||chr(10)||'---------------'||chr(10)||c2_rec.tr_mrr_desc||chr(10)||chr(10)||note_desc;
end if;
if lv_note_flag = 'Y' then
fv_note_flag := 'Y';
end if;
lv2 := lv2 || '<tr><td><input type="text" name="f09" size="1" maxlength="1" value="'||ti_sex||'" /></td>'||'<td><input type="text" name="f10" size="10" maxlength="10" value="'||to_char(ti_age)||'" /></td>'||'<td><input type="text" name="f11" size="30" maxlength="30" value="'||ti_tr_desc||'" /></td>'||'<td><input type="text" name="f12" size="10" maxlength="10" value="'||to_char(ti_lolimit,'99990.999')||'" /></td>'||'<td><input type="text" name="f13" size="10" maxlength="10" value="'||to_char(ti_uplimit,'99990.999')||'" /></td>'||'<td><input type="text" name="f14" size="10" maxlength="10" value="'||to_char(ti_plolimit,'99990.999')||'" /></td>'||'<td><input type="text" name="f15" size="10" maxlength="10" value="'||to_char(ti_puplimit,'99990.999')||'" /></td></tr>';
END LOOP; lv2 := lv2||'</table>';
CLOSE READ_C2_REC;
if lv_tr_cnt = 0 then
if lv_note_flag = 'Y' then
fv_note_flag := 'Y';
end if;
end if;
lv_desc := lv_desc||'<td><input type="hidden" name="f16" value="'||fv_note_flag||'" /></td>'||'<td><input type="hidden" name="f17" value="'||note_desc||'" /></td>';
lv_desc := lv_desc||'<td>'||lv2||'</td></tr></tbody>';
htp.p(lv_desc);
END LOOP;
CLOSE READ_C1_REC;
htp.p('</table>');
END;
Thanks you very much in advance!First thing I'd say is that you're code doesn't compile:
lv_title := ' // <----Secondly, does no-one use comments anymore? Isn't this drilled into people in programming classes at colleges? There's a whole bunch of code there but not much in the way of explanation as to what you are trying to achieve. It might make perfect sense to you now but try going back to it in a year and see if you can untangle it's purpose.
Thirdly, is there a specific reason why you've chosen to manually generate a report in PL/SQL, rather than delegating it to a report region? I understand that for particular formatting requirements (denormalised data, cells-within-cells etc), it is occasionally necessary to go to these lengths but I can't help but feeling a well-written query could simplify a lot of this, particularly the references multiple cursors. -
Private Key Not Found Error in Ldaps
Hi,
I am facing "Private Key Not Found" Error in ldaps. The key and the SSL certificate is stored under the same location. The certificate is self signed certificate and in .pem format. When I am trying to install the certifcate through SUN ONE Console it throws the following error
"Either this certificate is for another server, or this certificate was not requested using this server".
can any one help me in this regard.
Regards
Senthil
Edited by: senlog80 on Dec 30, 2008 3:18 AMOr even better, check the note <a href="https://websmp110.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=924320&_NLANG=E">924320</a>.
<b>Symptom</b>:
When you execute a query with virtual characteristics or key figures, the system issues the following error message:
Object FIELD I_S_DATA-<key figure> not found
<b>Other terms</b>
RSR00002, RSR_OLAP_BADI
<b>Reason and Prerequisites</b>
This problem is caused by a program error.
<b>Solution</b>
If the virtual characteristics or key figures are implemented using the enhancement RSR00002 (CMOD), implement the corrections.
If the virtual characteristics or key figures were created directly as implementations of the RSR_OLAP_BADI BAdI, compare the source code of the INITIALIZE method with the corresponding source code example. During the call of GET_FIELD_POSITIION_D, <L_S_SK>-VALUE_RETURNNM must be transferred instead of <L_S_SFK>-KYFNM.
Import Support Package 08 for SAP NetWeaver 2004s BI (BI Patch 08 or SAPKW70008) into your BI system. The Support Package is available when Note 0872280"SAPBINews BI 7.0 Support Package 08", which describes this Support Package in more detail, is released for customers.
In urgent cases, you can use the correction instructions.
To provide advance information, the note mentioned above may be available before the Support Package is released. In this case, the short text of the note still contains the words "Preliminary version".
Assign pts if helpful.
Maybe you are looking for
-
Web Analysis Report performance
Hi All, We are performing a drill to bottom level action by double click the account dimension in Web Analysis and SmartView. It will returns 9000+ rows records. In WA, it takes 160 seconds but SmartView only takes 20 seconds. We tried to increase th
-
I had firefox 3.6, downloaded free upgrade, which totally replaced the old one, it's gone. But the new icon has a circle and slash on it and is not viable. Doesn't work, doesn't open, messages says: You cannot open the application Firefox.app because
-
Hi, I am using Xcode 4.6 with SDK 6.0. I tried to upload new binary in appstore.But its failed.Error message:"Bundle is invalid.New apps and app updates submitted to the app store must be built with public?"
-
can i know the code syntax for updating my data in MySQL database wrtting in jsp page? i want to get value from the input user key in and update into my database. thanks
-
USB sync cable different for CDMA and GSM version phones?
I recently ordered a USB sync cable for Iphone 4S from ebay. I want to know whether the USB sync cable for Iphone 4S is different for CDMA and GSM version phones? And if they are then what are the likely consequences if they are interchanged and used