Error in creating UTL_FILE. !!!
Hi All,
I am using UTL_FILE to create a file. I have a procedure which is having a cursor. In for loop I am trying to print the data into a file and storing it as .html. I am trying to create a table in a file to put the data.
But my problem is It takes only the heading part of data. Inside for loop I am trying to print the values for the heading columns. Which is not printing in the file.
I tried alot. But did not succeeded in debugging this problem.
Please help me.
Here is the code.
CREATE OR REPLACE PROCEDURE xxdl_emp_test
AS
c_location constant varchar2(100) := 'usr/tmp';
c_filename constant varchar2(80) := 'Test.html';
v_handle Utl_File.File_Type;
TYPE c_cursor IS REF CURSOR;
c_exp c_cursor;
TYPE exp_record IS RECORD
l_empno NUMBER,
l_name VARCHAR2(20)
rec_exp exp_record;
l_query VARCHAR2(4000);
BEGIN
v_handle := Utl_File.Fopen (location => c_location,
filename => c_filename,
open_mode => 'W',
max_linesize => 32767 );
l_query:=' SELECT empno
,ename
from emp';
Utl_File.Put_Line (
file => v_handle,
buffer => '||<hr><h3><B><u>Employee Details</u></b></h3>'
||'<TABLE BORDER="1" WIDTH="60%">'
||'<tr>'
||'<th>'
||'EMP NO'
||'</th>'
||'<th>'
||'ENAME'
||'</th>'
||'</tr>',
autoflush => false);
OPEN c_exp FOR l_query;
LOOP
FETCH c_exp INTO rec_exp;
EXIT WHEN c_exp%NOTFOUND;
Utl_File.Put_Line(
file => v_handle,
buffer =>'||<tr>'
||'<td>'
||rec_exp.l_empno
||'</td>'
||'<td>'
||rec_exp.l_name
||'</td>'
||'</tr>',
autoflush => false);
END LOOP;
Utl_File.Put_Line(
file => v_handle,
buffer =>'||</TABLE>',
autoflush => false);
END xxdl_emp_test;Thanks
Alaka
I did some modification and it works fine for me.
SQL> CREATE OR REPLACE DIRECTORY MY_DIR AS 'E:\ORACLE\LOG_FILES\UTL_AKIVANEW'
2 /
Directory created.
SQL> CREATE OR REPLACE PROCEDURE xxdl_emp_test
2 AS
3 c_location constant varchar2(100) := 'MY_DIR';
4 c_filename constant varchar2(80) := 'Test.html';
5 v_handle Utl_File.File_Type;
6
7 TYPE c_cursor IS REF CURSOR;
8
9 c_exp c_cursor;
10
11 TYPE exp_record IS RECORD
12 (
13 l_empno NUMBER,
14 l_name VARCHAR2(20)
15 );
16
17 rec_exp exp_record;
18
19 l_query VARCHAR2(4000);
20 BEGIN
21 v_handle := Utl_File.Fopen (c_location, c_filename,'W');
22
23 l_query:=' SELECT empno ,ename from emp';
24
25 Utl_File.Put_Line (
26 v_handle,
27 '<hr><h3><B><u>Employee Details</u></b></h3>'
28 ||'<TABLE BORDER="1" WIDTH="60%">'
29 ||'<tr>'
30 ||'<th>'
31 ||'EMP NO'
32 ||'</th>'
33 ||'<th>'
34 ||'ENAME'
35 ||'</th>'
36 ||'</tr>');
37
38 OPEN c_exp FOR l_query;
39 LOOP
40 FETCH c_exp INTO rec_exp;
41
42 EXIT WHEN c_exp%NOTFOUND;
43
44 Utl_File.Put_Line(
45 v_handle,
46 '<tr>'
47 ||'<td>'
48 ||rec_exp.l_empno
49 ||'</td>'
50 ||'<td>'
51 ||rec_exp.l_name
52 ||'</td>'
53 ||'</tr>');
54 END LOOP;
55
56 Utl_File.Put_Line(
57 v_handle,
58 '</TABLE>');
59
60 utl_file.fclose(v_handle);
61
62 END xxdl_emp_test;
63 /
Procedure created.
SQL> exec xxdl_emp_test
PL/SQL procedure successfully completed.and the output is
<hr><h3><B><u>Employee Details</u></b></h3><TABLE BORDER="1" WIDTH="60%"><tr><th>EMP NO</th><th>ENAME</th></tr>
<tr><td>7499</td><td>ALLEN</td></tr>
<tr><td>7521</td><td>WARD</td></tr>
<tr><td>7566</td><td>JONES</td></tr>
<tr><td>7654</td><td>MARTIN</td></tr>
<tr><td>7698</td><td>BLAKE</td></tr>
<tr><td>7782</td><td>CLARK</td></tr>
<tr><td>7788</td><td>SCOTT</td></tr>
<tr><td>7839</td><td>KING</td></tr>
<tr><td>7844</td><td>TURNER</td></tr>
<tr><td>7876</td><td>ADAMS</td></tr>
<tr><td>7900</td><td>JAMES</td></tr>
<tr><td>7902</td><td>FORD</td></tr>
<tr><td>7934</td><td>MILLER</td></tr>
</TABLE>
Similar Messages
-
Logminer error while creating a dictionary file
Hi ,
I am working on logminer.
i got the following error while creating a dictionary file :--
please help me out.
SQL> show parameter utl_
NAME TYPE VALUE
utl_file_dir string $ORACLE_BASE/utl_file/cecms
SQL> execute dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms');
BEGIN dbms_logmnr_d.build(dictionary_filename => 'dictionary.ora',dictionary_location => '/u00/oracle/utl_file/cecms'); END;
ERROR at line 1:
ORA-01336: specified dictionary file cannot be opened
ORA-29280: invalid directory path
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 928
ORA-06512: at "SYS.DBMS_LOGMNR_D", line 2052
ORA-06512: at line 1
AsifORA-01336: specified dictionary file cannot be opened
Cause: The dictionary file or directory does not exist or is inaccessible.
Action: Make sure that the dictionary file and directory exist and are accessible.
Probably an issue with the rights on the directories.
To confirm the same, try writing a sample procedure with UTL_FILE to create a file at this location and capture the error. It will give you more details about the problem. -
Error while using UTL_FILE
I am getting the following error while using UTL_FILE procedure while using UTL_FILE.FOPEN procedure
from system account. I am using Windows XP with NTFS.
SQL> create or replace directory FILE_DIR as 'C:\'
2 /
Directory created.
SQL> grant read on directory FILE_DIR to public;
Grant succeeded.
1 create or replace PROCEDURE file_upload IS
2 v_file_name VARCHAR2(200);
3 v_file_type UTL_FILE.FILE_TYPE;
4 v_line VARCHAR2(1000);
5 BEGIN
6 v_file_name := 'customers_'||TO_CHAR(SYSDATE,'dd')||TO_CHAR(SYSDATE,'MON')||TO_CHAR(SYSDATE,'YYYY')||'.txt';
7 v_file_type := UTL_FILE.FOPEN('FILE_DIR','V_FILE_NAME','r',1000);
8 UTL_FILE.GET_LINE(v_file_type,V_LINE,1000);
9 UTL_FILE.FCLOSE(v_file_type);
10 DBMS_OUTPUT.PUT_LINE(V_LINE);
11* END;
SQL> exec file_upload;
BEGIN file_upload; END;
ERROR at line 1:
ORA-29283: invalid file operation
ORA-06512: at "SYS.UTL_FILE", line 475
ORA-29283: invalid file operation
ORA-06512: at "SYSTEM.FILE_UPLOAD", line 7
ORA-06512: at line 1
I appreciate if someone can help me in this regard.
Thanks in Advance.
Regards
Muhammad ALiHello,
What exactly are you trying to do? Here I got 2 examples for you , replace with your directory name and pick right option for 'a' (append) or 'w' (write) or 'R' (read).
To read from a directory_ . This will read an existing file 'customer.txt" from the directory
{code}
CREATE OR REPLACE PROCEDURE .file_upload
IS
v_file_name VARCHAR2 (200);
v_file_type UTL_FILE.file_type;
v_line VARCHAR2 (1000);
BEGIN
v_file_name := 'customers.txt';
v_file_type := UTL_FILE.fopen ('EXT_TABLES', v_file_name, 'R');
UTL_FILE.get_line (v_file_type, v_line); -- Error was here
DBMS_OUTPUT.put_line (v_line);
UTL_FILE.fclose (v_file_type);
END;
{code}
_*To open a file*_ This will create customer_XXXXX file under the directory
{code}
CREATE OR REPLACE PROCEDURE testme.file_upload
IS
v_file_name VARCHAR2 (200);
v_file_type UTL_FILE.file_type;
v_line VARCHAR2 (1000);
BEGIN
v_file_name := 'customers_'
|| TO_CHAR (SYSDATE, 'dd')
|| TO_CHAR (SYSDATE, 'MON')
|| TO_CHAR (SYSDATE, 'YYYY')
|| '.txt';
v_file_type := UTL_FILE.fopen ('EXT_TABLES', v_file_name, 'a');
UTL_FILE.put_line (v_file_type, v_line);
DBMS_OUTPUT.put_line (v_line);
UTL_FILE.fclose (v_file_type);
END;
{code}
Regards
Edited by: OrionNet on Jan 29, 2009 12:30 AM -
Error while creating a new connection in ODSM for OVD
Hi all,
I am getting the following error while creating a new connection in ODSM for OVD.
Error log:
[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:97)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:326)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused by:
=======
java.lang.NoClassDefFoundError: Could not initialize class
com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub
at com.octetstring.vde.admin.services.client.ServerMgrServiceLocator.getVDEAdminService(ServerMgrServiceLocator.java:58)
at oracle.ldap.odsm.model.ovd.APServerProxy.connect(APServerProxy.java:248)
at oracle.ldap.odsm.model.ovd.APServerProxy.authenticateAs(APServerProxy.java:684)
at oracle.ldap.odsm.model.ovd.APServerProxy.authenticate(APServerProxy.java:286)
at oracle.ldap.odsm.model.ovd.APServerProxy.init(APServerProxy.java:216)
at oracle.ldap.odsm.model.ovd.APServerProxy.<init>(APServerProxy.java:198)
at oracle.ldap.odsm.model.ovd.OVDRoot.connectOVD(OVDRoot.java:185)
at oracle.ldap.odsm.ui.common.Connection.connect(Connection.java:120)
at oracle.ldap.odsm.ui.common.Visit.createConnection(Visit.java:663)
at oracle.ldap.odsm.ui.common.Login.saveChanges(Login.java:215)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sun.el.parser.AstValue.invoke(Unknown Source)
at com.sun.el.MethodExpressionImpl.invoke(Unknown Source)
at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1245)
at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:812)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:292)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:177)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
... 28 more
How to resolve this issue.Pls suggest me.
Regards,
-Deena.Hi Deena,
This error:
"[2012-07-10T14:50:30.005+05:30] [wls_ods1] [ERROR] [] [oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: <anonymous>] [ecid: 0000JXkC9dU3FClqwsJb6G1FyhO000003D,0] [APP: odsm#11.1.1.2.0] Server Exception during PPR, #7[[
javax.servlet.ServletException: Could not initialize class com.octetstring.vde.admin.services.client.VDEAdminServiceSoapBindingStub"
is known issue
Go to metalink, article: Unable To Connect To OVD 11g Webinterface Using ODSM. [ID 1282757.1]
You need to apply that patch.
I hope this helps,
Thiago Leoncio. -
Error while creating a recipe in plm..
Hi every one,
System throughing below error while creating a recipe.
"Entries in status management Customizing are incorrect"
kindly suggest.
have a good day..
regards,
kirranHi Kirran,
Please see if you have defined a status scheme and assigned it to the recipe type. Before defining a status scheme, you must complete the one time IMG activity 'Collect Object Types and Assigned Attributes' under Recipe Development > Status Management. Then in the next node you define individual statuses and a scheme with transitions. For each status, you must define 'field value' for the field RCP_USAGE which is nothing but a value from Recipe Purposes customizing.
Hope this helps.
Regards,
Rajeev -
Hi all,
I have got an error while creating a PO with an Internal Order. I am trying to post this PO against an Internal Order. The error message says that:
User status BUDG is active (ORD 10034). When I click the perform assistant, it says that according to this status, transaction 'Material purchase order' is not allowed.
Can somebody plss help me in this regards, I will assign points.
Thank you,
SonyWhat you enter in the Cost element master data is only for defaulting the cost center or order when you use that GL account.
When you see a message transction requires an account assignment, you can enter the relevant cost center for which the cost is incurred.
For your information, If an order has been marked as statistical, you can find it in KO02 change order > Control data. there may be check box saying statistical. If it is not available, then, you can't make it statistical until, you make that field available for change for the order type. Usually orders of a particular type can be made as statistical, by providing a model order to the order type. In the model order you specify that it will be statistical. -
Error while creating a report in BI publisher
Hi all ,
I am getting an error while creating a new report in BI publisher .
the error shown in console is --
java.lang.SecurityException: /
In the front end - i am getting
Operation failed: d:/OracleBI/xmlp/XMLP/Users/~administrator/annapurna/test/test.xdo
please suggest if anyone knows.Hi,
I am newly using BI publisher . I am using 10.1.3.4.0 . I am just trying to create a report in test name. that is the first step to create a report where i am getting error. I am using default RPD paint , where all the user and Groups are defined . -
Error while creating a new Domain in BEA Weblogic
I am getting the below mentioned error while creating a new Domain in BEA Weblogic
Preparing...
Extracting Domain Contents...
Creating Domain Security Information...
Saving the Domain Information...
Storing Domain Information...
String Substituting Domain Files...
Performing OS Specific Tasks...
Performing Post Domain Creation Tasks...
Domain Creation Failed!
Domain Location: C:\bea\user_projects\domains\base_domain_1
Reason: Got error in writing the node manager C:\bea\wlserver_10.0\common\nodemanager\nodemanager.domains property file!
Exception:
java.lang.Exception: Got error in writing the node manager C:\bea\wlserver_10.0\common\nodemanager\nodemanager.domains property file!
at com.bea.plateng.domain.DomainNodeManagerHelper.registerDomainToNodeManager(DomainNodeManagerHelper.java:138)
at com.bea.plateng.domain.DomainNodeManagerHelper.registerDomainToNodeManager(DomainNodeManagerHelper.java:170)
at com.bea.plateng.domain.DomainGenerator.generate(DomainGenerator.java:435)
at com.bea.plateng.wizard.domain.gui.tasks.DomainCreationGUITask$1.run(DomainCreationGUITask.java:232)Hi,
It look two ways either you dont have permission to write any new thing to that domain.properties file or might file is got corrupted.
Please check for the permission to that file.
Regards,
Kal. -
Error while creating a new folder in resource view of workbench.
hi
I am getting this error while creating a new folder from the resources view.
Please help me in this regard.
!ENTRY com.adobe.repository.ui.eclipse.forms 4 0 2009-02-19 18:18:36.340
!MESSAGE REP-001-011: Problem creating a resource folder
!STACK 0
com.adobe.repository.ui.eclipse.IDERepositoryException: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:117)
at com.adobe.repository.ui.eclipse.core.Repository.createFolder(Repository.java:522)
at com.adobe.repository.ui.eclipse.actions.NewFolderActionDelegate.workspaceRun(NewFolderAct ionDelegate.java:91)
at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner$1.run(WorkspaceActi onDelegateRunner.java:76)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
at com.adobe.repository.ui.eclipse.actions.WorkspaceActionDelegateRunner.run(WorkspaceAction DelegateRunner.java:83)
at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:254)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:539)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:488)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java :400)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.adobe.lcide.rcp.Application.run(Unknown Source)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952)
Caused by: com.adobe.repository.bindings.dsc.client.ResourceRepositoryClientException: ALC-REP-106-000: Caught DSCException: ALC-DSC-012-000: com.adobe.idp.dsc.registry.ServiceNotFoundException: Service: RepositoryService not found.
at com.adobe.repository.bindings.dsc.client.ResourceRepositoryClient.writeResource(ResourceR epositoryClient.java:920)
at com.adobe.repository.ui.eclipse.impl.dsc.IDERepositoryDSCImpl.createFolder(IDERepositoryD SCImpl.java:114)
... 31 more
Thanks
UllasThanks Jasmin I did as you told and was able to create folder. But while installing the Event-Dsc and the workflow-dsc I am getting some internal error as given below.
!ENTRY com.adobe.DSC_Admin_UI 4 4 2009-02-24 15:41:34.984
!MESSAGE install of C:\Adobe\LiveCycle8.2\deploy\adobe-event-dsc.jar failed
!STACK 0
ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:456)
at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl.install(ComponentRegistry Impl.java:254)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionBMTAdapterBean.doBMT(EjbTran sactionBMTAdapterBean.java:197)
at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EJSLocalStatelessEjbTransactionBMTAdapter_ 3af08fdf.doBMT(Unknown Source)
at com.adobe.idp.dsc.transaction.impl.ejb.EjbTransactionProvider.execute(EjbTransactionProvi der.java:95)
at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor.intercept(TransactionInt erceptor.java:72)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvocationStrategyInterceptor.intercept(InvocationStra tegyInterceptor.java:55)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.InvalidStateInterceptor.intercept(InvalidStateIntercep tor.java:37)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.AuthorizationInterceptor.intercept(AuthorizationInterc eptor.java:109)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.interceptor.impl.JMXInterceptor.intercept(JMXInterceptor.java:48)
at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
at com.adobe.idp.dsc.engine.impl.ServiceEngineImpl.invoke(ServiceEngineImpl.java:115)
at com.adobe.idp.dsc.routing.Router.routeRequest(Router.java:118)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageReceiver.invoke(AbstractMessageReceiv er.java:315)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invokeCall(SoapSdkEndpoint. java:138)
at com.adobe.idp.dsc.provider.impl.soap.axis.sdk.SoapSdkEndpoint.invoke(SoapSdkEndpoint.java :81)
at sun.reflect.GeneratedMethodAccessor279.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:615)
at org.apache.axis.providers.java.RPCProvider.invokeMethod(RPCProvider.java:397)
at org.apache.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:186)
at org.apache.axis.providers.java.JavaProvider.invoke(JavaProvider.java:323)
at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
at org.apache.axis.handlers.soap.SOAPService.invoke(SOAPService.java:454)
at org.apache.axis.server.AxisServer.invoke(AxisServer.java:281)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:699)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at org.apache.axis.transport.http.AxisServletBase.service(AxisServletBase.java:327)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.adobe.idp.dsc.provider.impl.soap.axis.InvocationFilter.doFilter(InvocationFilter.java :43)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java: 190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.jav a:90)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:100)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink .java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink .java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:274)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConn ectionInitialReadCallback.java:214)
at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitia lReadCallback.java:113)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionLi stener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)
Caused by: java.lang.ClassNotFoundException: com.adobe.idp.event.bootstrap.EventBootstrapImpl
at com.adobe.idp.dsc.DSContainerSearchPolicy.findClass(DSContainerSearchPolicy.java:178)
at org.ungoverned.moduleloader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
at java.lang.ClassLoader.loadClass(ClassLoader.java:561)
at com.adobe.idp.dsc.registry.component.impl.ComponentRegistryImpl._install(ComponentRegistr yImpl.java:403)
... 70 more
As I am using the trial version so I have isnatlled all the products Workbench, Server and the application server in the same machine. My System has 2GB Ram.
Any help in this will be of great help
Regards
Ullas -
Getting error while creating the variable of Schema Element type
Hi everybody,
For creating a variable of schema element type I am doing the following steps...
Select 'Variables' after right clicking on bpel process. IN this window, go to 'Create VAriable' then select 'Element' type. Now in Type Choose, I expanded the my imported schema files. And selected a element type, then click ok to create this variable... I am getting the message...
IN ORDER TO SAVE IMPORTED WSDL/SCHEMA FILES, YOU MUST HAVE A PARTNER LINK LOCATED UNDER THE CURRENT PROJECT DIRECTORY.
What is mean by that.
I have imported the schema files in project. AFter that I have imported them into the WSDL also. Now why I am getting error while creating the variable. However I can create variable directly in .BPEL file then everything is fine. And it is working also. But what is mean with the above error? Why I am not able to create variable through GUI?
Thanks.Hi,
I have this same problem this morning, and I was going crazy, until I found this webpage on the internet:
[http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process|http://technology.amis.nl/blog/1803/problem-importing-xml-schema-in-bpel-process]
The idea is that the jdeveloper is not very good working with directories with spaces on the directory name. If you move all your work to a directory without spaces, it will work smoothly. At least, it had worked for me.
Regards,
Nacho -
Error while creating a Development plan template
Hi Gurus,
I am facing errors while creating Development Plan Template.
This is how it goes :
When i click on Define Forms for Talent Assessment --> a wizard pops up & i select Development Plan :
In first step, I am giving Title,Integration with SAP Learning Solution (check) & a rating scale.
Now after clicking next, I am adding 2 development areas :
1) Training
2) Mentoring,
now as soon as I'm clicking on End Configuration, It displays 2 errors & 1 warning message :
error1 : Element Appraisal Template 'XXXXX' contains errors.Cannot change status.
error2 : Value type 000000XXX of value class Q does not exists
Warning 1 : You have maintained a description that is not displayed.
In PHAP_CATALOG, when I'm trying to manually release the Criterion Group (VB) or Appraisal template (VA), it does not allow me to do it.
Kindly let me know how to proceed further.
Regards
bhartiHi,
Even though it gives the error,the new RTF template is uploaded and it is reflected when I query the template again.
But when I run the Concurent program and see the output,the output still shows me the old template.
Regards
Jujaar -
Error while creating a Solaris Resource
I got the following error while creating the following solaris resource:
Test connection failed for resource(s):
Solaris: Script failed waiting for "ASSWORD:" in response "_,)#+(:" ==> com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".\n
I have the sudo permissions for the following commands:
(ALL) NOPASSWD: /usr/bin/auths, /usr/sbin/groupadd, /usr/sbin/groupdel, /usr/sbin/groupmod, /usr/bin/last, /usr/bin/listusers, /usr/bin/logins, /usr/bin/passwd, /usr/bin/profiles, /usr/bin/roles, /usr/sbin/useradd, /usr/sbin/userdel, /usr/sbin/usermod, /usr/bin/ypmatch, /usr/bin/ypcat, /usr/bin/ypasswd, /usr/bin/awk, /usr/bin/cat, /usr/bin/chmod, /usr/bin/chown, /usr/bin/cp, /usr/bin/cut, /usr/bin/diff, /usr/bin/echo, /usr/bin/grep, /usr/bin/ls, /usr/bin/mv, /usr/bin/rm, /usr/bin/sleep, /usr/bin/sort, /usr/bin/tail, /usr/bin/touch, /usr/bin/which
Please let me know what could be the problem?This doesn't look like a Sun Directory Server issue. You may want to post this to another forum.
Regards,
Ludovic. -
Error while creating a new entity row for LoginPageEO.jbo.RowCreateExceptio
hi all, i am new to OAF i have created a login page and trying to validate to a custom table which had two columns username and password, i am calling function from controller class which is in AM and from AM in turn i am calling function in VOimpl.java file where i am executing my query with whereClause, i am passing two parametere username and password to this function.
if ((uname != null) && (!("".equals(uname.trim()))))
whereClause.append(" UNAME = :");
whereClause.append(bindCount++);
parameters.addElement(uname);
clauseCount++;
if ((pass!= null) && (!("".equals(pass.trim()))))
if (clauseCount > 0)
whereClause.append(" AND ");
whereClause.append(" PASSWORD = :");
whereClause.append(bindCount++);
parameters.addElement(pass);
clauseCount++;
setWhereClause(whereClause.toString());
if (bindCount > 0)
Object[] params = new Object[bindCount];
// the copyInto() is 1.1.8 compliant which is required by ARU
parameters.copyInto(params);
setWhereClauseParams(params);
//System.out.println(getQuery());
executeQuery();
//System.out.println(getRowCount())
when i call this from login page i am getting
Error - oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for LoginPageEO.
Can any one help me out.If your requirement is not to update any DB Table then don't use an EO. I would suggest the following for your requirement of validating the username and password.
- Create a VO that has the following query. Do not select any EO during the VO creation.
SELECT 'x'
FROM <CUSTOM TABLE>
WHERE <USERNAME COL> = :1
AND <PASSWORD COL> = :2
- Have the initQuery(..) Method in your VOImpl, that takes the username and password. Binds them to the VO and executes the query.
- Have a method in your AM to take the username and password as parameters. Make a call to the above VO::initQuery(..)
- In your controller's processFormRequest(..) call this AM Method upon the submit button action.
This should work smoothly.
The following is just for triaging the error that you have. The above steps, should help you achieve your requirement by itself, the below steps would not be required.
Coming back to your issue. Any custom table should have the standard WHO Columns.
- Modify the custom table to have these who columns.
- In the EO Wizard, synchronize the EO to reflect the DB Structure.
- Make sure the EO Attributes are marked updatable.
Cause of your issue: Through you are not creating EO rows programatically, whenever a VO is based on an EO, upon execution of the VO query, EO's are automatically created, based on the number of rows returned by the VO Query. So internally its failing to created the EO Rows. On of the common reason would be that it creates the EO row, but cannot set the attributes from the VO, because the EO Attribute is readonly.
Hope this clarifies. -
Error while creating a task for creating an generic task /app/dac/CustomSQ
Hi ,
I have created a sql file in DAC server /app/dac/CustomSQLs/ ,just to fire an update sql in database
In DAC task tab i have created a task with the following:
Command for incremental load :/app/dac/CustomSQLs/DBNameBeforeLoad.sql
Primary source :flatfileconnection
target source:DBCONNECTION_OLAP
Execution type:SQL FILE
Task phase:GENERAL
I created subject area and assembled ,then created a Execution plan.
When i try to execute this EP ,it shows the following error in DAC log:
ANOMALY INFO::: Error while creating a task for creating an generic task /app/dac/CustomSQLs/DBNameBeforeLoad.sql
MESSAGE:::/app/dac/CustomSQLs/DBNameBeforeLoad.sql - invalide template name!
EXCEPTION CLASS::: com.siebel.analytics.etl.etltask.TaskInitializationException
com.siebel.analytics.etl.etltask.SQLFileTask.doInit(SQLFileTask.java:69)
com.siebel.analytics.etl.etltask.GenericTaskImpl.init(GenericTaskImpl.java:194)
Does my above configuration is correct ..?verify the following settings:
1. mapping of ECC plant and storage location and logical system number with the appropriate availability group code since this links the stock types in EWM to ECC org elements (SPRO -> EWM -> Interfaces -> ERP Integration -> Goods movement)
2. ensure the availability group configuration is correct (SPRO -> EWM -> GR Process -> Configure availability group for putaway) - check all applicable nodes in this configuration since the availability group code is assigned in the pertinent storage types -
Error while creating a new entity row for testEO
Hi All,
I have a 1st page where I enter the employeeNumber and that particular parameter should get displayed in the 2nd page when I click on the "SubmitButton".I am moving to the 2nd page using pageContext.forwardImmediately.I am passing my parameter with this URL.But, I am getting "Error while creating a new entity row for testEO" in my code before i enter anything in " employeeNumber " field in the 1st page.
My CO code is:
/*===========================================================================+
| Copyright (c) 2001, 2005 Oracle Corporation, Redwood Shores, CA, USA |
| All rights reserved. |
+===========================================================================+
| HISTORY |
+===========================================================================*/
package xxfc.oracle.apps.test.OAProject1.webui;
import com.sun.java.util.collections.HashMap;
import oracle.apps.fnd.common.VersionInfo;
import oracle.apps.fnd.framework.OAApplicationModule;
import oracle.apps.fnd.framework.OAViewObject;
import oracle.apps.fnd.framework.webui.OAControllerImpl;
import oracle.apps.fnd.framework.webui.OAPageContext;
import oracle.apps.fnd.framework.webui.OAWebBeanConstants;
import oracle.apps.fnd.framework.webui.beans.OAWebBean;
import oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean;
import oracle.jbo.Row;
import xxfc.oracle.apps.test.OAProject1.server.testVOImpl;
* Controller for ...
public class testCO extends OAControllerImpl
public static final String RCS_ID="$Header$";
public static final boolean RCS_ID_RECORDED =
VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
* Layout and page setup logic for a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
testVOImpl vo1 = (testVOImpl)am.findViewObject("testVO1");
vo1.executeQuery();
Row r = vo1.first();
System.out.println("**************Error in the below Line**********************");
Row row = vo1.createRow();
vo1.insertRow(row);
row.setNewRowState(Row.STATUS_INITIALIZED);
* Procedure to handle form submissions for form elements in
* a region.
* @param pageContext the current OA page context
* @param webBean the web bean corresponding to the region
public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
super.processFormRequest(pageContext, webBean);
OAApplicationModule am =(OAApplicationModule) pageContext.getApplicationModule(webBean);
OAViewObject vo1 = (OAViewObject)am.findViewObject("testVO1");
if(!vo1.isPreparedForExecution())
vo1.executeQuery();
Row row = vo1.getCurrentRow();
am.getOADBTransaction().commit();
String strEvent = pageContext.getParameter(EVENT_PARAM);
if (strEvent.equals("update"))
String custId = pageContext.getParameter("CustID");
pageContext.putParameter("CstID",custId);
HashMap hashMap = new HashMap();
hashMap.put("CustomerId",custId);
am.getOADBTransaction().commit();
pageContext.forwardImmediately("OA.jsp?page=/xxfc/oracle/apps/test/OAProject1/webui/popupPG&CustID=custId",
null,
OAWebBeanConstants.KEEP_MENU_CONTEXT,
null,
hashMap, //hashmap
true,
OAWebBeanConstants.ADD_BREAD_CRUMB_YES
thanks,
AkshataHi Niranjana,
It did not work I am getting the same error.does the WHO column order in the table matters? My WHO columns are in the below order:
LAST_UPDATE_DATE
LAST_UPDATED_BY
LAST_UPDATE_LOGIN
CREATION_DATE
CREATED_BY
my error is:
oracle.jbo.RowCreateException: JBO-25017: Error while creating a new entity row for testEO.
It appears on the top of my page as a message.
Thanks,
Akshata
Edited by: Akshata on Mar 15, 2012 12:29 AM
Maybe you are looking for
-
There is no quicktime preferences in System Preferences screen?
I upgraded to Snow Leopard no problem, bought the Quicktime Pro registration, but there is nowhere in preferences that shows Quicktime 7? Is it a separate download?
-
hi... How to rename the function group name???? I tried with... copy option.... but its asking for function modules of that function group name change... I dont want to change the names of function modules.. Thanks, Naveen.I
-
Hi, I am using CRS2008 Viewer SDK to display my reports in the web browser. Is there a way to control the viewing locale (not product locale) on the server side, so that all those date/page are displayed in the desired language (despite browser setti
-
FCP 7 / Crashing on Startup / Only occurs under one user account.
I have a MacPro with several user accounts - used by different departments for various FCS projects. Under one account, a new project was started a few days ago, but now, every time they launch, they get the error below. I've seen this type of proble
-
Hi, i have some static data in the first page.. in the 2nd half i have some text (dynamic) which may extend to 2nd page.. how to handle this.. Regards, shekhar