Can not run forms in Oracle Form Builder
I get FRM-10142: The HTTP listener is not running on computer1 at port 8890. Please start the listener or check your runtime preferences. When I try running a form in Oracle form builder.
Can someone please help with a solution to this problem.
Start the OC4J Instance first....
Simon
Similar Messages
-
How can implement running total in oracle forms
I want to implement a running total in oracle form
like
100 100
300 400
200 600
500 1100
200 1300
100 1400
PROCEDURE calculate_srno IS
current_rownum integer:=:System.Cursor_Record;
starting_srno integer:=:rs_1;
last_rownum integer;
BEGIN
last_record;
last_rownum:=:system.cursor_record;
go_record(1);
FOR counter IN 1..last_rownum LOOP
:sum_1:=:rs_1;
:rs_1:=:sum_1+:rs_1;
-- :offered_srno_to:=starting_srno;
if last_rownum=:System.Cursor_Record then exit;
end if;
END LOOP;
END;
it is not working after want to insert between in the tableWhy write code for this? Oracle Forms 10g has Calculated/Summary fields that will do this for you without the need of writing any PL/SQL.
Simply add a non-table item to the data block with the item you want to keep the running total for. Then change the following properties of the item:
Data Type: Number
Calculation Mode: Summary
Summary Function: Sum
Summarized Block: <Your Data Block>
Summarized Item: <Your Block Item>
Number of Items Displayed: 1 (if your item is in a Multi-Record (Tabular) layout else you don't need to change this property.
You will also need to change the following property of the block: Query All Records: Yes
If changing the Block's "Query All Records" property causes your form to be too slow because of the number of records in your block, then you could keep a running total manually by using a combination of the Post-Query and When-Validate-Item (WVI) triggers. If your block does not allow data entry, then you could do this with just the Post-Query trigger. For example:
BEGIN
/* This code sample assumes you have added a non-table item */
/* to your block called SUMMARY. */
:YOUR_BLOCK.SUMMARY := :YOUR_BLOCK.SUMMARY + NVL(:RS_1,0);
END;If your block allows data entry, then you would add the following to your existing WVI trigger.
BEGIN
/* Perform your data entry validation logic first... */
IF ....
ELSE
...Validation is successful...
:YOUR_BLOCK.SUMMARY := :YOUR_BLOCK.SUMMARY + NVL(:RS_1,0);
END IF;
END;Hope this helps.
Craig... -
Can not run Reports from a Form
Hello,
First: I'm completely new to Oracle, even my english is not very good - i'm sorry for that.
Problem:
I want to run a report from a Form using the Report Server.
If i use:
WEB.SHOW_DOCUMENT('http://tfischer:8888/reports/rwservlet?report=C:\Oracle-Projekte\testbericht.rdf&USERID=user/password@oraapp&SERVER=SrvShadow&DESFORMAT=html&DESTYPE=cache', '_blank') - everything works well.
But if i use:
repid := FIND_REPORT_OBJECT('REPORT_NAME');
v_rep := RUN_REPORT_OBJECT(repid); - always following Error-Message appears:
"FRM41213: Anmeldung bei Report-Server SrvShadow nicht möglich" (english: registration on Report-Server SrvShadow not possible)
I am using:
Windows 2000
Oracle DS9i
Oracle DB92 (Personal edition)
Can somebody help me, please?
If you need more information, to help me, please ask.Hi,
Try using
SET_REPORT_OBJECT_PROPERTY
(repid,REPORT_SERVER,"YOURSERVERNAME");
before
v_rep := RUN_REPORT_OBJECT;
If you are testing the report on your PC using reports services on your PC then you may need to initiailize the reprots server using
rwserver server="YOURSERVERNAME" install
at command prompt.
Hope this helps.
-Jayshree -
Can't run a Master Detail form generated by Designer2.1
I can not run a Master Detail form on some of machines if the form is generated through Designer2.1 . Same form if developed in form builder can be run.
Please Help.
My Designer version in fo is as follows
Client side version information:
Low End Generator DLL Version 2.0.19.3.0 - Production
High End Generator DLL Version 2.0.19.4.0 - Production
Module Diagram and Component Editor Version 2.0.19.3.0 - Production
MS Help Generator Version 2.0.19.3.0 - Production
Forms Menu Generator Version 5.0.19.3.0 - Production
Forms Design Capture Version 5.0.19.3.0 - Production
Forms Generator Version 5.0.19.6.0 - Production
Oracle Designer/2000 Report Design Capture Version 3.0.19.5.0 - Production
Oracle Designer/2000 Report Design Capture Version 3.0.19.5.0 - Production
Oracle Designer/2000 Report Generator Version 3.0.19.4.0 - Production
Oracle Recover Custom Code Utility for Visual Basic Version 2.0.19.3.0 - Production
Visual Basic Design Recovery Version 2.0.19.4.0 - Production
Visual Basic Generator Version 2.0.19.4.0 - Production
WebServer Generator Version 2.0.19.3.0 - Production
DWRSG20 DLL Version 2.0.19.4.0 - Production
Design Editor Guides Version 2.0.19.3.0 - Production
Dwl Logic Editor Version 2.0.19.4.0 - Production
Server Modeller (32 bit) Version 2.0.19.4.0 - Production
Generator Preferences Palette Version 2.0.19.3.0 - Production
Property Palette Version 2.0.19.3.0 - Production
Property Dialogs Version 2.0.19.5.0 - Production
Object Navigator Version 2.0.19.5.0 - Production
CW NLS Message DLL (English) Version 2.0.19.0.0 - Production
CW Common Diagrammer Dialogs Version 2.0.19.0.0 - Production ( Language Version 2.0.19.0.0)
AWRS Language Independent Strings Module Version 3.0.19.0.0 - Production
AWR Repository Services Version 3.0.19.0.0 - Production
AWRE Error Handler Version 3.0.19.0.0 - Production ( Language Version 3.0.19.0.0)
RMDG RM Diagnostics Version 3.0.19.0.0 - Production ( Language Version 3.0.19.0.0)
Repository Version 3.0.19.0.0 - Production (DLL)
CORE Version 3.5.4.0.0 - Production
NLSRTL Version 3.2.4.0.0 - Production
DBMS Version 7.3.4.0.0 - Production
Server side version information:
Oracle8 Enterprise Edition Version 8.0.3.0.0 - Production
PL/SQL Version 8.0.3.0.0 - Production
Repository Version 0.1.10.0.0 - Production
CDAPI Version 2.0.19.0.0 - Production
Oracle Designer/2000 Repository (TM) Version 7.0.3.0.0 - Production
Server Side Patches
CI0217.001
CI0217.002
CI0217.003
CI0217.004
CI0217.005
CI0217.006
CI0217.007
CI0217.008
CI0217.009
CI0217.010
CI0217.011
CI0217.012
CI0217.013
CI0217.014
CI0217.015
CI0217.016
CI0217.017
CI0217.018
CI0217.019
CI0217.020
CI0217.021
CI0217.022
CI0217.023
CI0217.024
CI0217.025
CI0217.026
CI0217.027
CI0217.028
CI0217.029
CI0217.030
CI0217.031
CI0217.032
CI0217.033
CI0217.034
CI0217.035
CI0217.036
CI0217.037
CI0217.038
CI0217.039
CI0217.040
CI0217.041
CI0217.042
CI0217.043
CI0217.044
CI0217.045
CI0217.046
CI0217.047
CI0217.048
CI0217.049
CI0217.050
CI0217.051
CI0217.052
CI0217.053
CI0217.054
CI0217.055
CI0217.056
CI0217.057
CI0217.058
CI0217.059
CI0217.060Could you go into a little more detail on when you ran into the problem? Things like:
is it after you added a rule to the form?
is it when you first try to bring up the form in an environment where you have not used Web Form Designer previously?
is it after you added a widget to the form?
Almost certain this won't help, but here's my blog on some common things you need to be aware of before starting to use the Web Form Designer or Process Player features in 11.1.1.7: Getting Started with Oracle BPM Composer Web Forms and Process Player | AVIO Consulting -
Can not run the test form using servlet (patch 8)
Installed 9I AS 1.0.2.2.1 and forms patch 8 on Windows 2000.
Configured the Forms Listener Servlet by following the white paper "Forms 6i Patch 8: Oracle Forms Listener Servlet for Deployment of Forms on the Internet".
I can get the page titled Forms 6i Listener Servlet using URL: http://myserver/servlet/oracle.forms.servlet.ListenerServlet.
However, I can not run the test form using the servlet by the url:
http://myserver/servlet/f60servlet?config=servlet. In the formsweb.cfg file I also added a section
[servlet]
serverURL=/servlet/oracle.forms/servlet.ListenerServlet
No meaningful error message. At first it seems very slow, and then shows the "The page can not be displayed" page.
Please advise.
Thanks.u must add "Script Alias ifcgi60 "$ORACLE_HOME/forms60/cgi" in confirguration.
-
How can I code this in Oracle Forms?
I have a master-detail form. In the detail block, I have several records. Here is my name table.
ID Name_Type Name
1 old Mike
2 Current John
3 old Peter
4 old Andrew
I would like to create a button trigger which shall perform the following:
1) insert a record into database with a copy of current value. In the above case it will insert create a record for John as name_type = 'OLD'. So we have total of 5 records. Commit the transaction.
2) Scroll through my detail records (5) and go to one specific record and erase the values from it. In the above case, it should find John's record with name_type = 'Current' and erase John from it.
How can I accomplish this in Oracle forms using a button-pressed trigger?Hi,
Simple, using current values you can create new id , 'old' and name so oracle will create record, now refresh block, next using next_record in loop you can find record,erase one and refresh block.
Adinath Kamode -
Can not print turbo tax pdf form prints but no data
can not print turbo tax pdf form prints but no data
Thanks much for your help
Works great
Ward Johnson -
Why the Oracle Coherence can not run successsfully?
Why the Oracle Coherence can not run successsfully?
When I run the costomized cache-server.cmd file, the following error message shows up:
C:\coherence\examples\java> *contacts-cache-server.cmd*
2009-10-22 10:57:10.609/0.563 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational configur
ion from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence.xml"
2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <Info> (thread=main, member=n/a): Loaded operational override
from resource "jar:file:/C:/coherence/lib/coherence.jar!/tangosol-coherence-override-dev.xml"
2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration overri
"/tangosol-coherence-override.xml" is not specified
2009-10-22 10:57:10.624/0.578 Oracle Coherence 3.5.2/463 <D5> (thread=main, member=n/a): Optional configuration overri
"/custom-mbeans.xml" is not specified
Oracle Coherence Version 3.5.2/463
Grid Edition: Development mode
Copyright (c) 2000, 2009, Oracle and/or its affiliates. All rights reserved.
2009-10-22 10:57:11.062/1.016 Oracle Coherence GE 3.5.2/463 <Info> (thread=main, member=n/a): Loaded cache configurati
from "file:/C:/home/oracle/coherence/Contacts/contacts-cache-config.xml"
2009-10-22 10:57:12.078/2.032 Oracle Coherence GE 3.5.2/463 <D5> (thread=Cluster, member=n/a): Service Cluster joined
e cluster with senior service member n/a
2009-10-22 10:57:15.328/5.282 Oracle Coherence GE 3.5.2/463 <Info> (thread=Cluster, member=n/a): Created a new cluster
cluster:0xD3FB" with Member(Id=1, Timestamp=2009-10-22 10:57:11.734, Address=192.168.16.83:8088, MachineId=30803, Loca
on=site:metsys.metex.com,machine:NECu10,process:3820, Role=CoherenceServer, Edition=Grid Edition, Mode=Development, Cp
ount=4, SocketCount=4) UID=0xC0A81053000001247CC05C3678531F98
2009-10-22 10:57:15.375/5.329 Oracle Coherence GE 3.5.2/463 <D5> (thread=Invocation:Management, member=1): Service Man
ement joined the cluster with senior service member 1
2009-10-22 10:57:15.875/5.829 Oracle Coherence GE 3.5.2/463 <D5> (thread=DistributedCache:PartitionedPofCache, member=
: Service PartitionedPofCache joined the cluster with senior service member 1
2009-10-22 10:57:15.890/5.844 Oracle Coherence GE 3.5.2/463 <Info> (thread=DistributedCache:PartitionedPofCache, membe
1): Loading POF configuration from resource "file:/C:/home/oracle/coherence/Contacts/classes/contacts-pof-config.xml"
2009-10-22 10:57:15.906/5.860 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:PartitionedPofCache, memb
=1): Terminating DistributedCache due to unhandled exception: com.tangosol.util.WrapperException
2009-10-22 10:57:15.906/5.860 Oracle Coherence GE 3.5.2/463 <Error> (thread=DistributedCache:PartitionedPofCache, memb
=1):
(Wrapped) (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Failed to parse PO
configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exception occurred during parsing: looking for id
, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0
urier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
at com.tangosol.coherence.Component._newChild(Component.CDB:47)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onServiceStarted(
stributedCache.CDB:99)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onServiceState(Grid.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.setServiceState(Service.CDB:8)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.setServiceState(Grid.CDB:21)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid$NotifyStartup.onReceived(Grid.CDB:
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:9)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:136)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.onNotify(Distribu
dCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Unknown Source)
Caused by: (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") (Wrapped: Failed to parse P
configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exception occurred during parsing: looking for i
9, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0
ourier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:49)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.instantiateFromBi
ryConverter(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext
etClassLoader(DistributedCache.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext
nInit(DistributedCache.CDB:2)
at com.tangosol.coherence.Component._newChild(Component.CDB:41)
... 10 more
Caused by: (Wrapped: Failed to parse POF configuration (Config=contacts-pof-config.xml)) java.io.IOException: Exceptio
occurred during parsing: looking for id=9, found id=3((0,0,65) Character Data Literal {\rtf1\ansi\ansicpg1252\deff0\de
ang4105{\fonttbl{\f0\fmodern\fcharset0 Courier;}{\f1\fmodern\fcharset0 Courier-Bold;}{\f2\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.21.2500;}\viewkind4\uc1\pard\f0\fs18 )
at com.tangosol.util.Base.ensureRuntimeException(Base.java:293)
at com.tangosol.io.pof.ConfigurablePofContext.report(ConfigurablePofContext.java:1311)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:812)
at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:762)
at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:325)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:45)
... 14 more
Caused by: java.io.IOException: Exception occurred during parsing: looking for id=9, found id=3((0,0,65) Character Dat
Literal {\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fmodern\fcharset0 Courier;}{\f1\fmodern\fcharset0 Couri
-Bold;}{\f2\fswiss\fcharset0 Arial;}}....
{code}
The content of the contacts-cache-server.cmd file is shown here under:
(its location is C:\coherence\examples\java
{code}@echo off
setlocal
if (%COHERENCE_HOME%)==() (
set COHERENCE_HOME=c:\coherence
set CONFIG=C:\home\oracle\coherence\Contacts
set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\coherence\Contacts\classes
set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
:exit{code}
The contents of the contacts-cache-config.xml file is shown here under:
(its location is C:\home\oracle\coherence\Contacts
{code}<?xml version="1.0"?>
<!DOCTYPE cache-config SYSTEM "cache-config.dtd">
<cache-config>
<caching-scheme-mapping>
<cache-mapping>
<cache-name>*</cache-name>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
</cache-mapping>
</caching-scheme-mapping>
<caching-schemes>
<distributed-scheme>
<scheme-name>ExamplesPartitionedPofScheme</scheme-name>
<service-name>PartitionedPofCache</service-name>
<serializer>
<class-name>com.tangosol.io.pof.ConfigurablePofContext</class-name>
<init-params>
<init-param>
<param-type>String</param-type>
<param-value>contacts-pof-config.xml</param-value>
</init-param>
</init-params>
</serializer>
<backing-map-scheme>
<local-scheme>
<!-- each node will be limited to 250MB -->
<high-units>250M</high-units>
<unit-calculator>binary</unit-calculator>
</local-scheme>
</backing-map-scheme>
<autostart>true</autostart>
</distributed-scheme>
</caching-schemes>
</cache-config>{code}
The contents of the contacts-pof-config.xml file is shown here under:
{code}
<?xml version="1.0"?>
<!DOCTYPE pof-config SYSTEM "pof-config.dtd">
<pof-config>
<user-type-list>
<!-- coherence POF user types -->
<include>coherence-pof-config.xml</include>
<!-- com.tangosol.examples package -->
<user-type>
<type-id>1002</type-id>
<class-name>com.tangosol.examples.model.Contact</class-name>
</user-type>
<user-type>
<type-id>1003</type-id>
<class-name>com.tangosol.examples.model.Address</class-name>
</user-type>
<user-type>
<type-id>1004</type-id>
<class-name>com.tangosol.examples.model.Phone</class-name>
</user-type>
</user-type-list>
<allow-interfaces>true</allow-interfaces>
<allow-subclasses>true</allow-subclasses>
</pof-config> {code}I have saved it as a XML documetent. it this OK?
What the following error message shows us?
Caused by: (Wrapped: error configuring class "com.tangosol.io.pof.ConfigurablePofContext") java.lang.UnsupportedClassVer
sionError: Bad version number in .class file
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:49)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache.instantiateFromBina
ryConverter(DistributedCache.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext.s
etClassLoader(DistributedCache.CDB:6)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.DistributedCache$BackingMapContext.o
nInit(DistributedCache.CDB:2)
at com.tangosol.coherence.Component._newChild(Component.CDB:41)
... 10 more
Caused by: java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.tangosol.util.ExternalizableHelper.loadClass(ExternalizableHelper.java:2969)
at com.tangosol.io.pof.ConfigurablePofContext.loadClass(ConfigurablePofContext.java:1215)
at com.tangosol.io.pof.ConfigurablePofContext.createPofConfig(ConfigurablePofContext.java:973)
at com.tangosol.io.pof.ConfigurablePofContext.initialize(ConfigurablePofContext.java:762)
at com.tangosol.io.pof.ConfigurablePofContext.setContextClassLoader(ConfigurablePofContext.java:325)
at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.ensureSerializer(Service.CDB:45)
... 14 more
2009-10-22 17:24:14.995/2.922 Oracle Coherence GE 3.5.2/463 <D4> (thread=ShutdownHook, member=2): ShutdownHook: stopping
cluster nodeEdited by: junez on 22-Oct-2009 14:30 -
How to make a billing forms in oracle forms 6.0?
hi,i want to make a sample billing form in oracle forms.my fields details
itemcode varchar2(6);
itemname varchar2(25);
quantity number(5); prompt quantity in kg
selling_price number(5);
subtotal number(5);
total number(6);
i have no idea about billing application.if i want to make "subtotal" and "total" as database item?,i only want to show the total price on "total" and "subtotal" fields.i will make "total" field as single record item.and set all others are 10 records displayed.please help me further.i want sellingprice*quantity=subtotal.at last i want to get subtotal+subtotal+n(sum of all subtotal)=total.total is a single display field at bottom.if we entered all items i want to show the total at bottom.i know my concept is so stupid.please help me to make a proper forms.real thanks for reading my question.I think you've got worse problems than building the form.
First you need a proper data model. Billing will involve more than one table, with master - detail relations and that kind of very nice things that a database can achieve.
Then, once you have designed a datamodel that fits your requirements, you will have to build the form with the builder. It is not a hard tool, but needs a minimum learning.
Don't take me wrong, but I don't think you can come here and ask such a generic issue. -
Some procedure can not run,Please help
--Please Help me where is wrong
--The Procedure can be compiler,but can not run
--Maybe there has some wrong with Ref Cursor or dynamic SQL
--Please,Thanks ver much
--Follow is my full code
Create or Replace package ref_types
AS
TYPE ref_cursor is REF CURSOR;
End;
Create or Replace package userinfo as
procedure Get_usermenu (baduser out boolean,
menu out ref_types.ref_cursor
End;
Create or Replace package body userinfo as
procedure Get_usermenu (baduser out boolean,
menu out ref_types.ref_cursor
) is
v_sqltext varchar2(100);
v_sql varchar2(300);
begin
baduser:=FALSE;
v_sqltext:='''A001'',''A002'',''A003''';
v_sql:='select MENUID,P_NAME from MENU_LIST
where MENUID in (';
v_sql:=v_sql||v_sqltext||) order by MENUID asc';
--explain:Get v_sqktext values overpass some process
open menu FOR v_sql;
end;
end;
/thanks,
error number is : Ora-01001
I use it In Form:
declare
v_baduser boolean;
v_menu ref_types.ref_cursor;
v_menuid number;
v_menuname varchar2(50);
v_menucount number;
begin
v_menucount:=1;
userinfo.Get_usermenu(v_baduser,v_menu);
loop
fetch v_menu into v_menuid,v_menuname;
exit when v_menu%NOTFOUND;
show_alert_info(v_menuid||';'||v_menucount||'、'||v_menuname);
--show_alert_info,like Developer's Function "message",
--It can show some text
v_menucount:=v_menucount+1;
end loop;
Close v_menu;
end; -
Help for designing the same forms like Oracle form!!!
Hi everyone!
I am working for some projects and now I want to make a form like Oracle form, there are some features in Oracle form that I don't know how to do the same so I would like to ask someone here. Please help me to design form like the form I mention below. I mean when I open my form, it must be the same with Query Material after that I press Enter then it must be the same Material Workbench form. Please help me!!! Thanks in advanced.
Inventory => On-hand Availability => On-hand Quantity, it will display Query Material Form then Enter after that it will display Material Workbench.Hi, welcome to the forums. Please take a few minutes to reveiw the following:
<ul>
<li> Before posting on this forum please read
<li> 10 Commandments for the OTN Forums Member
<li> Announcement: Forums Etiquette / Reward Points
</ul>
If you follow these general guidelines, you will greatly increase your chances of getting a solution to your question in a shorter period of time. While your questions may make sense to you - when you post a question here, you have to remember that we do not have the same point of reference as you. You can't assume we will understand vague references like *"I want to make a form like Oracle form"*. I've seen so many different UI variations in Oracle Forms that a blanket statement like this has no meaning. The only thing that limits the funtionality of a Form is your imagination.
Perhaps, after reviewing the aforementioned articles, you could provide us with some basic information like your Oracle Forms version, Browser and version, OS and version and a more detailed description of the type of functionality you are trying to emulate. With this information, we (the Forum participants) will be better able to help you.
Regards,
Craig... -
I changed the Computer Name and i can not run EM.
I had to change the computer name in order to connect to the intranet.
I updated the listener.ora and tnsnames.ora with the new computer name.
I can run SqlPlus but i can not run EM on http://tahirpc.isu.intranet:1158/em *
I checked Services and I saw that OracleDBConsoleorcl service do not work. I get error code:2 when i try to run it manually.
What should i do?
New computer name: tahirpc.isu.intranet
Old computer name: mtkeskin.isu.intranet
OS: Win 7
Oracle: 10.2.3
------------------------Thank you Jean-Valentin . I tried those but unfortunately this did not work.
Here is what i did on CMD:
RECREATE
C:\Users\mtkeskin>EMCA -CONFIG DBCONTROL DB -REPOS RECREATE
STARTED EMCA at 28.Oca.2010 11:28:43
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ORCL
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user: l
Password for SYSMAN user:
Password for SYSMAN user: Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
Database hostname ................ tahirpc.isu.intranet
Listener port number ................ 1521
Database SID ................ ORCL
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: Y
28.Oca.2010 11:29:07 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-01-28_11-28-42-AM.log.
28.Oca.2010 11:29:24 oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
28.Oca.2010 11:32:09 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
28.Oca.2010 11:32:10 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
28.Oca.2010 11:37:14 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
28.Oca.2010 11:37:34 oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C D:\oracle\product\10.2.0\db_1\bin\emctl.bat depl
oy dbconsole D:\oracle\product\10.2.0\db_1\tahirpc.isu.intranet_ORCL tahirpc.isu
.intranet:3938 tahirpc.isu.intranet ORCL
28.Oca.2010 11:37:34 oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating EM configuration files
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
a_2010-01-28_11-28-42-AM.log for more details.
Could not complete the configuration. Refer to the log file at D:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-01-28_11-28-42-AM.log for more deta
ils.
DROP
C:\Users\mtkeskin>EMCA -DECONFIG DBCONTROL DB -REPOS DROP
STARTED EMCA at 28.Oca.2010 11:47:57
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ORCL
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:
Password for SYSMAN user:
Do you wish to continue? [yes(Y)/no(N)]: Y
28.Oca.2010 11:48:13 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-01-28_11-47-56-AM.log.
28.Oca.2010 11:48:17 oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
28.Oca.2010 11:48:18 oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
28.Oca.2010 11:50:35 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at 28.Oca.2010 11:50:35
CREATE
C:\Users\mtkeskin>EMCA -CONFIG DBCONTROL DB -REPOS CREATE
STARTED EMCA at 28.Oca.2010 11:54:55
EM Configuration Assistant, Version 10.2.0.1.0 Production
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Enter the following information:
Database SID: ORCL
Listener port number: 1521
Password for SYS user:
Password for DBSNMP user:
Password for SYSMAN user:
Email address for notifications (optional):
Outgoing Mail (SMTP) server for notifications (optional):
You have specified the following settings
Database ORACLE_HOME ................ D:\oracle\product\10.2.0\db_1
Database hostname ................ tahirpc.isu.intranet
Listener port number ................ 1521
Database SID ................ ORCL
Email address for notifications ...............
Outgoing Mail (SMTP) server for notifications ...............
Do you wish to continue? [yes(Y)/no(N)]: Y
28.Oca.2010 11:55:19 oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at D:\oracle\product\10.2.0\db_1\cfgtoollog
s\emca\orcl\emca_2010-01-28_11-54-55-AM.log.
28.Oca.2010 11:55:32 oracle.sysman.emcp.EMReposConfig createRepository
INFO: Creating the EM repository (this may take a while) ...
28.Oca.2010 12:00:13 oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully created
28.Oca.2010 12:00:27 oracle.sysman.emcp.util.PlatformInterface executeCommand
WARNING: Error executing CMD /C D:\oracle\product\10.2.0\db_1\bin\emctl.bat depl
oy dbconsole D:\oracle\product\10.2.0\db_1\tahirpc.isu.intranet_ORCL tahirpc.isu
.intranet:3938 tahirpc.isu.intranet ORCL
28.Oca.2010 12:00:27 oracle.sysman.emcp.EMConfig perform
SEVERE: Error instantiating EM configuration files
Refer to the log file at D:\oracle\product\10.2.0\db_1\cfgtoollogs\emca\orcl\emc
a_2010-01-28_11-54-55-AM.log for more details.
Could not complete the configuration. Refer to the log file at D:\oracle\product
\10.2.0\db_1\cfgtoollogs\emca\orcl\emca_2010-01-28_11-54-55-AM.log for more deta
ils.
I checked log files but i did not understand anything of 'em :(
Edited by: NaKKaSh.TR on 28.Oca.2010 12:12
Edited by: NaKKaSh.TR on 28.Oca.2010 12:14 -
3EA4 -- can not run SqlDeveloper report to "table" style
The same SqlDeveloper report, which was/is working in 3EA3 - same Oracle user, same privileges, same platform, same connection, same Java version, same same ... can not run the report to the "table" style. It works only with the "Script" style. So, betwen EA3 and EA4 something changed. No work around, just lost capability.
note: I tried many SqlDeveloper reports that were working in the "table" style - none of them works in the "table" style anymore with EA4 - that really is not cool :(
Here is one of those reports:
SELECT
object_name "Object_Name",
object_type "Object_Type",
CASE OBJECT_TYPE
WHEN 'PACKAGE BODY' THEN 'alter package ' || OWNER||'.'||OBJECT_NAME || ' compile body;'
WHEN 'SYNONYM' THEN 'CREATE PROCEDURE ' || OWNER||'.tmp_compile_synonym AS BEGIN EXECUTE immediate ''alter synonym ' || OWNER||'.'||OBJECT_NAME || ' compile''; END tmp_compile_synonym;'||chr (10) || '/'||chr (10) || 'EXECUTE ' || OWNER||'.tmp_compile_synonym;'||chr (10) || 'DROP PROCEDURE ' || OWNER||'.tmp_compile_synonym;'
ELSE 'alter ' || lower (OBJECT_TYPE) || ' ' || OWNER||'.'||OBJECT_NAME || ' compile;'
END "Compile_Statement"
FROM dba_objects
WHERE owner=upper(:OWNER)
AND status = 'INVALID'
ORDER BY object_type;Note: Reverted to EA3 until the problem is idenfied/solved
Edited by: zaferaktan on Feb 24, 2011 11:50 AM
Edited by: zaferaktan on Feb 24, 2011 12:30 PMok, I did update to JDK 1.6_24 , edited the jdk file under .sqldeveloper to point to the correct JDK version and invoked the 3EA4 from the command line:
raisin:~/sqldeveloper3EA4$ ./sqldeveloper.sh -J-Xmx1024m
still having the issue. None of the "table" style reports work.
So, something definitely changed in EA4 that broke the "table" style reports (at least in my case).
I am using the same "thin" connections that I created before (it picked it up from the .sqldeveloper settins). Did anything change for the thin jdbc connection in EA4 compared to EA3 ? I looked at the change list and don't see it there. I saw bug 09883309 reported here: 3.0 final+EA4: Doesn't work with 11.1 OCI/Thick driver , but don't think it has anything to do with the problem I am seeing - I don't use OCI, but jdbc thin. I wonder if there is a problem with 11.2.0.2 jdbc thin in EA4 and my database server version (10gR2 base version on RHEL 4).
But if Jim doesn't have the problem with the same JDK version and "almost" the same platform - maybe the database server version is an issue ? All I know, these reports (table style) was/is working with the EA3 - but not in EA4 .
When I run the report - the execution window does not display anything - all grey - then if I click on the green arrow (go/run) button, I see the following exceptions in the terminal from which I invoked the sqldeveloper:
Exception in thread "AWT-EventQueue-0" java.lang.NumberFormatException: For input string: ""
at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
at java.lang.Integer.parseInt(Integer.java:470)
at java.lang.Integer.parseInt(Integer.java:499)
at oracle.javatools.data.HashStructure.getInt(HashStructure.java:410)
at oracle.dbtools.raptor.config.DBConfig.getInt(DBConfig.java:1044)
at oracle.dbtools.raptor.controls.grid.ResultSetTableModel.init(ResultSetTableModel.java:112)
at oracle.dbtools.raptor.controls.grid.OracleRSTModel.init(OracleRSTModel.java:30)
at oracle.dbtools.raptor.controls.grid.RSTModelFactory.getResultSetTableModel(RSTModelFactory.java:47)
at oracle.dbtools.raptor.controls.grid.ResultSetTable.setQuery(ResultSetTable.java:115)
at oracle.dbtools.raptor.controls.display.DisplayResultTable.updateQuery(DisplayResultTable.java:158)
at oracle.dbtools.raptor.controls.display.DisplayResultTable.refresh(DisplayResultTable.java:112)
at oracle.dbtools.raptor.controls.display.DisplayPanel.refresh(DisplayPanel.java:769)
at oracle.dbtools.raptor.controls.display.DisplayPanel.refresh(DisplayPanel.java:618)
at oracle.dbtools.raptor.report.addin.ReportEditor$1.actionPerformed(ReportEditor.java:164)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:273)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) -
Dbassist exception and netasst can not run
Oracle 815 have been installed on turbo linux 2.2.10V4.0(CLASSPATH , LD_LIBARY_PATH are set both). But the netasst can not run. When I type netasst , linux give me noting the quit to xterm promot. And when run dbassist , it give a message like follow:
JNLS Exception racle.ntpg.jnls.JNLSException Unable to find any National Character Sets. please check your Oracle installion.
I have only choose one language(english) to install Oracle815.
can anyone help me?
Thanx.
dflanthanks jmsalvo (John Salvo) for posting answer at http://homepages.tig.com.au/~jmsalvo/linux/oracle8i.html .
dflan
null -
I can not run application in Jdev 11g
hello,
I can not run my application in Jdev 11g.
[Running application mapsEditor on Server Instance IntegratedWebLogicServer...]
[02:33:39 PM] ---- Deployment started. ----
[02:33:39 PM] Target platform is (Weblogic 10.3).
[02:33:40 PM] Retrieving existing application information
[02:33:40 PM] Running dependency analysis...
[02:33:40 PM] Deploying 3 profiles...
[02:33:41 PM] Wrote Web Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ViewControllerWebApp.war
[02:33:41 PM] Wrote EJB Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor\ModelEJB.jar
[02:33:42 PM] Wrote Enterprise Application Module to C:\Users\dema\AppData\Roaming\JDeveloper\system11.1.1.2.36.55.36\o.j2ee\drs\mapsEditor
[02:33:42 PM] Deploying Application...
<01.03.2010 14:33:42 MSK> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1267443222659' for task '0'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].'
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'mapsEditor [Version=V2.0]'.>
<01.03.2010 14:33:42 MSK> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: adf.oracle.domain, exact-match: false].
at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:1221)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:83)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:367)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:54)
Truncated. see log file for complete stacktrace
>
[02:33:42 PM] #### Deployment incomplete. ####
[02:33:42 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
What is this?
Dema.Hi,
what is the content in your application's weblogic-application.xml file that references adf.oracle.domain ? Does it look like this?
<?xml version = '1.0' encoding = 'windows-1252'?>
<weblogic-application xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.bea.com/ns/weblogic/weblogic-application http://www.bea.com/ns/weblogic/weblogic-application/1.0/weblogic-application.xsd"
xmlns="http://www.bea.com/ns/weblogic/weblogic-application">
<listener>
<listener-class>oracle.adf.share.weblogic.listeners.ADFApplicationLifecycleListener</listener-class>
</listener>
<listener>
<listener-class>oracle.mds.lcm.weblogic.WLLifecycleListener</listener-class>
</listener>
<library-ref>
<library-name>adf.oracle.domain</library-name>
</library-ref>
</weblogic-application>
Frank
Maybe you are looking for
-
Getting error while deploying (.WSP) file
HI , I developed timer through VS 2010.When i try to deploy that WSP file in production server through Stsadm/Powershell commands ,I am getting below error. The solution cannot be deployed. Directory "NewsofTheweekMemoTimerJob_Feature1" associa
-
Property binding between custom control and its aggregations
Hi, I have a custom control with some properties, e.g., visible, and I would like to bind these properties to its aggregated controls without losing the two-way binding functionality. For example, imagine the following control: sap.ui.core.Control.ex
-
How do I cut Aperture's ties to my nonexistent MobileMe galleries?
I downloaded the contents of my MobileMe galleries and deleted them last year. But Aperture 3.4.5 still shows links to these galleries in my Library (with an iCloud icons!). I tried repeatedly to delete the links, but all I get is warning icons where
-
Archive the material master : Object RL_LUBU
Hi Folks, we are archiving the material. Error : WM stock transfer (from/to material) exists Diagnosis : Entries in Table LUBU (Posting Chaneg Document) Solution : Use the archiving object RL_LUBU in SARA. Queries : 1) This Object does not give mater
-
Grey songs, black songs and the cloud symbol on iphone
in my music library on my iphone with ios7 songs that i have purchased appear in grey with the cloud symbol next to them.I understand that this means they are in the cloud and i could download them, however there are also some songs that have the clo