Error creating forms context
Does anyone know why this C code, when executed from UNIX command line works, but won't work as a host command from a form. I am running 9iAS release 2, on AIX. I have tried using a shell script in which I set all necessary environment variables before running the command. The shell script works from command line, but not from the form. Here's the C code......
/* Create Forms API context */
ctx_attr.mask_d2fctxa = (ub4)0;
if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
fprintf(stderr, "Error creating Forms API context\n");
exit(1);
/* Load the form module into memory */
if ( d2ffmdld_Load(ctx, &form, argv[1], FALSE) !=
D2FS_SUCCESS )
fprintf(stderr, "Failed to load form : %s\n", argv[1]);
exit(1);
/* Get the name of the form module */
if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
fprintf(stderr, "Error getting the name of the form.\n");
else
/* print the name of the form, then free it */
printf("The name of the form is %s\n", form_name);
free(form_name);
/* Destroy the in-memory form */
if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
fprintf(stderr, "Error destroying the form module\n");
/* Close the API and destroy context */
d2fctxde_Destroy(ctx);
You could as well use this sample code
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <d2fctx.h> /* Forms API context */
#include <d2ffmd.h> /* Form module header file */
int main (int argc, char *argv[])
d2fctxa ctx_attr;
d2fctx *ctx;
d2ffmd *form;
d2fcnv *pd2fcnv;
d2fgra *pd2fgra;
text *form_name;
/* Check arguments */
if ( argc != 2 )
fprintf(stderr, "USAGE: %s <filename>\n", argv[0]);
exit(1);
/* Create Forms API context */
ctx_attr.mask_d2fctxa = (ub4)0;
if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
fprintf(stderr, "Error creating Forms API context\n");
exit(1);
/* Load the form module into memory */
if ( d2ffmdld_Load(ctx, &form,(text*) argv[1]) != D2FS_SUCCESS )
fprintf(stderr, "Failed to load form module: %s\n", argv[1]);
exit(1);
/* Get the name of the form module */
if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
fprintf(stderr, "Error getting the name of the form module\n");
else
/* Print the name of the form, then free it */
printf ("The name of the form is %s\n", form_name);
free(form_name);
if ( d2ffmdsv_Save(ctx, form, (text *)argv[1])
!= D2FS_SUCCESS )
fprintf(stderr, "Could not save the form\n");
/* Destroy the in-memory form */
if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
fprintf(stderr, "Error destroying form module\n");
/* Close the API and destroy context */
d2fctxde_Destroy(ctx);
return 0;
Similar Messages
-
Error in JMS receiver adapter: "Error creating initial context with environment"
Hello,
I have some trouble with a JMS receiver adapter (access to JMS-provider with JNDI).
The message in adapter monitoring is:
A channel error occurred. Detailed error (if any) :
com.sap.aii.adapter.jms.api.connector.ConnectorException: Fatal Error looking up connection factoryJMSQueueConnectionFactory, for profile: ConnectionProfile of channel: CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd:
ConnectorException: Error creating initial context with environment: java.naming.provider.url=wcsefdev.example.com:9064; java.naming.factory.initial=com.ibm.websphere.naming.WsnInitialContextFactory; for profile: ConnectionProfile of channel:
CC_JMS_RCV_XLIMI00001on node: 503473150 having object id: 5b424f2f79b6350ca636ab35d528cfdd: javax.naming.NoInitialContextException:
Cannot instantiate class: com.ibm.websphere.naming.WsnInitialContextFactory<br> at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createConnectionFactory
(JndiConnectorImpl.java:152)<br> ....
Message processing failed. Cause:
com.sap.aii.adapter.jms.core.fsm.DFA$InvalidTransitionException: No transition found from state: ERROR, on event: process_commence for DFA: CC_JMS_RCV_XLIMI00001:5b424f2f79b6350ca636ab35d528cfdd
The third party assured me that the specified JNDI parameters are right and everything is configured on their site, so it should work...
Might there be a problem with the JMS drivers?
Regards,
MarcusHi Marcus,
Have a look at below thread
Connecting to PI 7.11 JMS Queue from other PI 7.11 Server -
Error creating initial context with environment
Hi,
Currently we are working on a scenarios, where we need to integrate XI and webmethods using JMS.
It was working fine. But recently they have restarted the webmethods server. After that we re getting an error message like,
In Adapter Monitoring:
Channel error occurred; detailed error description: com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating initial context with environment: {java.naming.provider.url=server:port, java.naming.factory.initial=com.sap.engine.services.jndi.InitialContextFactoryImpl, java.naming.security.principal=XYZ, java.naming.security.credentials=ABC}for profile: ConnectionProfile of channel: CC_RCV_JMS_INon node: 3010950 having object id: ABCXYZ: NamingException: Error getting the server-side naming service functionality during getInitialContext operation.
at com.sap.aii.adapter.jms.core.connector.JndiConnectorImpl.createInitialContext(JndiConnectorImpl.java:66)
In RWB
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: No transition found from state: STARTING, on event: process_commence for DFA: C_RCV_JMS_IN:e4413a5265a436459e271d5e0dd4859b
Can one please tell me what the problem is?
Thanks in advance.
Regards,
Prasad Babu.Hi,
Check this link looks like same problem
Re: file to JMS(for MQ series)
Thanks
Vikranth -
Can't start first instance...ORA-27504: IPC error creating OSD context
Oracle11gR1 RHEL4 AS - 64bit - 2 node RAC
I am having trouble starting the database from the first node. I can start the second node without any problems. When I go to start the first node I get the following error:
[oracle@vtl-rac1 db_1]$ sqlplus "/as sysdba"
SQL*Plus: Release 11.1.0.6.0 - Production on Thu May 1 15:50:50 2008
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORA-27504: IPC error creating OSD context
HA Resource Target State
ora.VMRACDEV.VMRACDEV1.inst ONLINE OFFLINE
ora.VMRACDEV.VMRACDEV2.inst ONLINE ONLINE on vtl-rac2
ora.VMRACDEV.db ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ASM1.asm ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.LISTENER_VTL-RAC1.lsnr ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.gsd ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.ons ONLINE ONLINE on vtl-rac1
ora.vtl-rac1.vip ONLINE ONLINE on vtl-rac1
ora.vtl-rac2.ASM2.asm ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.LISTENER_VTL-RAC2.lsnr ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.gsd ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.ons ONLINE ONLINE on vtl-rac2
ora.vtl-rac2.vip ONLINE ONLINE on vtl-rac2
No alerts are being generated in the alert log. And I have looked at this errror in the docs and it says that it is related to OS/cluster interconnect but those are also fine as indicated in the alert log. I saw some metalink notes but they are specific to other OS's.
Any help would be appreciated.
Thank you.Presuming that no other changes were made to this
configuration and it stopped working , you might want
to attempt these steps :
a) You have already mentioned this but recheck the
alert.log file for this instanceThere is nothing in the alertlog.
to verify if there are any errors reported.
Check the udump / bdump locations for any trace files
which might give
us any clues on where to look further.This is all I found in a trace file:
libskgxpd.so called
libskgxp9.so should reference real implementation
IPC OS error without diagnostic information
Dump of memory from 0x0000007FBFFF8FF8 to 0x0000007FBFFF90D0
7FBFFF8FF0 00000000 20435049 [....IPC ]
7FBFFF9000 74696E69 00000000 00000000 0000002A [init........*...]
7FBFFF9010 BFFF9130 0000007F 5F487518 676B7300 [0........uH_.skg]
7FBFFF9020 69637078 0000696E 696C00CE 676B7362 [xpcini....libskg]
7FBFFF9030 2E647078 63206F73 656C6C61 696C0A64 [xpd.so called.li]
7FBFFF9040 676B7362 2E397078 73206F73 6C756F68 [bskgxp9.so shoul]
7FBFFF9050 65722064 65726566 2065636E 6C616572 [d reference real]
7FBFFF9060 706D6920 656D656C 7461746E 0A6E6F69 [ implementation.]
7FBFFF9070 00000000 00000001 096AD150 00000000 [........P.j.....]
7FBFFF9080 00000001 00000001 5F487518 00000001 [.........uH_....]
7FBFFF9090 BFFFA258 0000007F 00000030 00000000 [X.......0.......]
7FBFFF90A0 000006FA 00000000 00000000 00000000 [................]
7FBFFF90B0 00000000 00000000 00000000 00000000 [................]
7FBFFF90C0 096AD0E0 00000000 00000001 00000041 [..j.........A...]
struct ksxpp * ksxppg_ [0x96c5fb0, 0x2a965ed800) = 0x2a965ed7f8
Does the same problem persist if the problematic Node
is rebooted.- Nope, that didn't change anything either.
d) You might want to strace the Sqlplus startup
process and depending on
where the assert is raised , it might provide
some pointers.- Here is the end of the strace output:
read(9, "\f\0\4\4\0\0P\0\5\4\0\0g\0\6\4\0\0~\0\7\4\0\0\245\0\10\4\0\0\274\0"..., 512) = 512
close(9) = 0
lseek(4, 16384, SEEK_SET) = 16384
read(4, "\f\0\261\2\0\0P\0\264\2\0\0\177\0\265\2\0\0\265\0\266\2\0\0\f\1\275\2\0\0/\1"..., 512) = 512
write(1, "Connected to an idle instance.\n", 31) = 31
write(1, "\n", 1) = 1
mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9829b000
munmap(0x2a9829b000, 143360) = 0
access("login.sql", F_OK) = -1 ENOENT (No such file or directory)
mmap(NULL, 143360, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9829b000
munmap(0x2a9829b000, 143360) = 0
access("/opt/app/oracle/product/11.1.0/db_1/sqlplus/admin/glogin.sql", F_OK) = 0
statfs("/opt/app/oracle/product/11.1.0/db_1/sqlplus/admin/glogin.sql", {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=7210695, f_bfree=1791712, f_bavail=1425430, f_files=3662848, f_ffree=3395776, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
open("/opt/app/oracle/product/11.1.0/db_1/sqlplus/admin/glogin.sql", O_RDONLY) = 9
brk(0x61f000) = 0x61f000
read(9, "--\n-- Copyright (c) 1988, 2005, "..., 57344) = 342
read(9, "", 57344) = 0
brk(0x611000) = 0x611000
close(9) = 0
write(1, "SQL> ", 5) = 5
fstat(0, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9829b000
read(0, "startup\n", 1024) = 8
write(10, "\0U\0\0\6\0\0\0\0\0\3\212\6\376\377\377\377\377\377\377\377\0\1\0\0\0\0\0\0\376\377\377"..., 85) = 85
read(11, "\0\33\0\0\6\0\0\0\0\0\10\1\0\0\0\0\0\0\0\0\t\1\0\0\0\0\0", 8208) = 27
write(10, "\0\35\0\0\6\0\0\0\0\0\0030\7\0\0\0\0005\0\0\0\376\377\377\377\377\377\377\377", 29) = 29
read(11, "\0\275\0\0\6\0\0\0\0\0\4\1\0\0\0\0\0\1\0\0\0\0pk\0\0\0\0\0\0\0\0"..., 8208) = 189
write(1, "ORA-27504: IPC error creating OS"..., 42) = 42
write(1, "SQL> ", 5) = 5
read(0, "exit\n", 1024) = 5
write(10, "\0\r\0\0\6\0\0\0\0\0\3\t\10", 13) = 13
read(11, "\0\21\0\0\6\0\0\0\0\0\t\1\0\0\0\0\0", 8208) = 17
lseek(4, 15872, SEEK_SET) = 15872
read(4, "\n\0\243\2\0\0D\0\244\2\0\0_\0\245\2\0\0\206\0\246\2\0\0\277\0\252\2\0\0\371\0"..., 512) = 512
write(1, "Disconnected\n", 13) = 13
write(10, "\0\n\0\0\6\0\0\0\0@", 10) = 10
close(10) = 0
close(11) = 0
close(8) = 0
close(7) = 0
close(5) = 0
close(3) = 0
close(4) = 0
munmap(0x2a97ff1000, 143360) = 0
brk(0x610000) = 0x610000
brk(0x609000) = 0x609000
exit_group(0) = ?
I have Oracle Support stumped on this one too.
Thanks. -
ORA-27504: IPC error creating OSD context : Unable to start second node
I have set the DB parameter CLUSTER_INTERCONNECT to point to the Inet addr.
oifcfg getif
bondeth0
172.23.250.128 global public
bondib0 192.168.8.0 global
cluster_interconnect
When I try to restart the DB services, it is throwing below error while starting the second node.
These are set of commands I have executed to change the DB Parameter
alter system set cluster_interconnects = '192.168.10.6' scope=spfile sid='RAC1' ;
alter system set cluster_interconnects = '192.168.10.7' scope=spfile sid='RAC2' ;
alter system set cluster_interconnects = '192.168.10.6' scope=spfile sid='ASM1' ;
alter system set cluster_interconnects = '192.168.10.7' scope=spfile sid='ASM2' ;
On second node
SQL> startup ;
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:if_not_found failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgxpvaddr9
ORA-27303: additional information: requested interface 192.168.10.6 not found. Check output from ifconfig command
SQL>
please let me know whether the proceedure I have followed is wrong
ThanksNode 1:
[oracle@prdat137db03 etc]$ /sbin/ifconfig bondib0
bondib0 Link encap:InfiniBand HWaddr 80:00:00:48:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:192.168.10.6 Bcast:192.168.11.255 Mask:255.255.252.0
inet6 addr: fe80::221:2800:1ef:bc4f/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:65520 Metric:1
RX packets:32550051 errors:0 dropped:0 overruns:0 frame:0
TX packets:32395961 errors:0 dropped:42 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19382043590 (18.0 GiB) TX bytes:17164065360 (15.9 GiB)
[oracle@prdat137db03 etc]$
Node 2:
[oracle@prdat137db04 ~]$ /sbin/ifconfig bondib0
bondib0 Link encap:InfiniBand HWaddr 80:00:00:48:FE:80:00:00:00:00:00:00:00:00:00:00:00:00:00:00
inet addr:192.168.10.7 Bcast:192.168.11.255 Mask:255.255.252.0
inet6 addr: fe80::221:2800:1ef:abdb/64 Scope:Link
UP BROADCAST RUNNING MASTER MULTICAST MTU:65520 Metric:1
RX packets:29618287 errors:0 dropped:0 overruns:0 frame:0
TX packets:30769233 errors:0 dropped:12 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:16453595058 (15.3 GiB) TX bytes:18960175021 (17.6 GiB)
[oracle@prdat137db04 ~]$ -
ORA-27504: IPC error creating OSD context
Hi
We have a Linux based ORACLE rac server (version-10.2.0.4.0). Suddenly dbs are went down and while we are trying to up the dbs it will shows the following error
ORA-27504: IPC error creating OSD context
ORA-27300: OS system dependent operation:check if cable failed with status: 0
ORA-27301: OS failure message: Error 0
ORA-27302: failure occurred at: skgxpcini1
ORA-27303: additional information: requested interface eth1 interface not runnin
g set disableinterface_checking = TRUE to disable this check for single instan
ce cluster. Check output from ifcon
Any one have idea about this?
Thanks
AnbuUse this forum to report broken links or general feedback about Oracle documentation. This forum is not monitored by Oracle support or product teams and so Oracle product and technology related questions will not be answered.
It seems you are not in the right forum. Despite of this because of the error stack you have a - possibly hardware related - connection problem between the nodes of the cluster. Pay special attention to ORA-27303, I think this message gives you valuable hints. And check the interconnect on hardware level.
Werner -
SPNego fails: Error creating GSS context - java.lang.NullPointerException
Hi,
I have successfully configured SPNego logon to the first portal in our landscape, however, on the next portal I've got to the SPNego logon is failing.
When using the diagtool to analyse the problem tests 1-5 and 7 are passing successfully, however, test 6 is failing.
I am configuring against the following software components:
SAP J2EE - 7.00 SP13
Sun JDK version: 1.4.2_14
diagtool version 1.7.2
MS Active Directory is configured as the EP UME with resolution mode simple.
I believe the problem is in some way related to the authentication of the j2ee-<sid> user, however, I cannot narrow it down further. The password for this user has not changed since I generated the keytab file.
Any help greatly appreciated.
The following error is written to the diagtool trace file:
Error creating GSS context.
[EXCEPTION]
GSSException: No valid credentials provided (Mechanism level: Attempt to obtain new ACCEPT credentials failed!)
at sun.security.jgss.krb5.Krb5AcceptCredential.getKeyFromSubject(Krb5AcceptCredential.java:189)
at sun.security.jgss.krb5.Krb5AcceptCredential.getInstance(Krb5AcceptCredential.java:80)
at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:75)
at sun.security.jgss.GSSManagerImpl.getCredentialElement(GSSManagerImpl.java:149)
at sun.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.java:334)
at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:44)
at sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:102)
at com.sap.engine.config.diagtool.tests.authentication.krb.Krb5ServerTest.createGSSContext(Krb5ServerTest.java:104)
at com.sap.engine.config.diagtool.tests.authentication.krb.Krb5ServerTest.execute(Krb5ServerTest.java:75)
at com.sap.engine.config.diagtool.Task.execute(Task.java:55)
at com.sap.engine.config.diagtool.Launcher.run(Launcher.java:343)
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:324)
at com.sap.engine.config.diagtool.Launcher.main(Launcher.java:394)
Caused by: javax.security.auth.login.LoginException: java.lang.NullPointerException
at java.lang.StringBuffer.append(StringBuffer.java:467)
at com.sun.security.auth.module.Krb5LoginModule.attemptAuthentication(Krb5LoginModule.java:576)
at com.sun.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:475)
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:324)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at sun.security.jgss.LoginUtility.run(LoginUtility.java:57)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jgss.krb5.Krb5AcceptCredential.getKeyFromSubject(Krb5AcceptCredential.java:186)
at sun.security.jgss.krb5.Krb5AcceptCredential.getInstance(Krb5AcceptCredential.java:80)
at sun.security.jgss.krb5.Krb5MechFactory.getCredentialElement(Krb5MechFactory.java:75)
at sun.security.jgss.GSSManagerImpl.getCredentialElement(GSSManagerImpl.java:149)
at sun.security.jgss.GSSCredentialImpl.add(GSSCredentialImpl.java:334)
at sun.security.jgss.GSSCredentialImpl.<init>(GSSCredentialImpl.java:44)
at sun.security.jgss.GSSManagerImpl.createCredential(GSSManagerImpl.java:102)
at com.sap.engine.config.diagtool.tests.authentication.krb.Krb5ServerTest.createGSSContext(Krb5ServerTest.java:104)
at com.sap.engine.config.diagtool.tests.authentication.krb.Krb5ServerTest.execute(Krb5ServerTest.java:75)
at com.sap.engine.config.diagtool.Task.execute(Task.java:55)
at com.sap.engine.config.diagtool.Launcher.run(Launcher.java:343)
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:324)
at com.sap.engine.config.diagtool.Launcher.main(Launcher.java:394)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:730)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:129)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:610)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:607)
at javax.security.auth.login.LoginContext.login(LoginContext.java:534)
at sun.security.jgss.LoginUtility.run(LoginUtility.java:57)
at java.security.AccessController.doPrivileged(Native Method)
at sun.security.jgss.krb5.Krb5AcceptCredential.getKeyFromSubject(Krb5AcceptCredential.java:186)
... 15 more
Acquire credential failed for realm EUR.EMIGRP.COMHello CJH,
Thank you for following up.
I will set the thread status to "assumed answered".
Cheers,
Julius -
Error creating servlet context
Hello, there!
I am trying to run a web app on WebLogic. The application contains some
EJBs, several JSP's and a controller servlet. I have the EJB's
deployed, and both webApp and servlet (and its initArgs) registered in
"weblogic.properties". However, when I start weblogic, there is a
message saying that "error creating servlet context for the web
application". It seems that weblogic is looking for a file called
"weblogic.xml" and trying to create servlet context from it. How to
create this "xml" file? If it has to be created manually, what are the
required tags?
Thanks!
Jeff
Search your WL install directory for weblogic-web-jar.dtd.
Cameron Purdy
"Jeff Wang" <[email protected]> wrote in message
news:[email protected]..
> Hello, there!
>
> I am trying to run a web app on WebLogic. The application contains some
> EJBs, several JSP's and a controller servlet. I have the EJB's
> deployed, and both webApp and servlet (and its initArgs) registered in
> "weblogic.properties". However, when I start weblogic, there is a
> message saying that "error creating servlet context for the web
> application". It seems that weblogic is looking for a file called
> "weblogic.xml" and trying to create servlet context from it. How to
> create this "xml" file? If it has to be created manually, what are the
> required tags?
>
> Thanks!
>
> Jeff
>
-
Error creating form bean (STRUTS)
Hi
I am new to STRUTS framework, On starting I am getting this error "Error creating form bean". What would be the solution, can anybody suggest ?I am new to STRUTS framework, On starting I am
m getting this error "Error creating form bean". What
would be the solution, can anybody suggest ?This seems to be an error with struts-config.xml. Post your code if you need any further help.
***Annie*** -
Error creating form based on a table
This is wierd. I am running WebDB2.2
and up until now it has been no problem
creating forms from tables. But now in
this schema called SUMI I am unable to
create a form based on a table. I get
the error below. I have assigned SUMI
almost every possible permission
(DBA, WebDeveloper) so I
don't think it is a permissions issue.
Any ideas? Thanks in advance. Marvin.
---Error Message--
14/Aug/2001:13:12:28
ORA-06550: line 5, column 7:
PLS-00302: component 'FORM_NOTWORK' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored
ORA-06550: line 5, column 7:
PLS-00302: component 'FORM_NOTWORK' must be declared
ORA-06550: line 5, column 2:
PL/SQL: Statement ignored
VARIABLES IN FORM NOT IN PROCEDURE:
NON-DEFAULT VARIABLES IN PROCEDURE NOT IN FORM:
nullI am bumping this up. Can anybody help or
at least point me in the right direction?
Thanks! -
Error creating Form Column Properties
Hi all. I got a problem creating Form Additional Column Properties through OIM API.
The point is next:
I got an instance of Oracle Identity Manager 11g R1 (11.1.1.5)
I'm making a tool for some OIM objects automatic generations, in particular it should create OIM Forms Definitions.
It creates a form with some columns and one of columns has *"ITResourceLookup" Type*. In order to make form active this column should have propertie "Type" set. It points to ITResource Definitions.
The trouble is that API method don't know such type of propertie 'Type'.
Here is the sample of code i'm using
tcFormDefinitionOperationsIntf formServ = oimClient.getService(tcFormInstanceOperationsIntf.class);
// creating main form
Map map = new HashMap();
map.put("SDK_NAME","SOMENAME");
map.put("SDK_DESCRIPTION", "Form Description");
map.put("SDK_FORM_DESCRIPTION", "Form Description");
map.put("SDK_TYPE","P");
formServ.createForm(map);
//finding created form def key
map.clear();
map.put("Structure Utility.Table Name", "UD_SOMENAME");
tcResultSet forms = formServ.findForms(map);
if (forms.isEmpty()){
log.warn("Some troubles :( Can't find created form SOMENAME");
return;
forms.goToRow(0);
long formDefKey = forms.getLongValue("Structure Utility.Key");
int formVersion = forms.getIntValue("Structure Utility.Latest Version");
int i=1;
for (String mainAttr : connSchema.getAttributes()) {
formServ.addFormField(formDefKey, formVersion, mainAttr.replaceAll("__KEY__", ""), "TextField", "String", 64, i, "", "0", false);
i++;
//adding it resource field
long itResFieldKey = formServ.addFormField(formDefKey, formVersion, "Server", "ITResourceLookupField", "long", 0, i, "", "0", false);
formServ.addFormFieldProperty(itResFieldKey, "Required", "true");
formServ.addFormFieldProperty(itResFieldKey, "Type", serverDefKey.toString()); *<----------------------------------------------------- Here we have exception*
formServ.activateFormVersion(formDefKey, formVersion);
The exception is:
ERROR,07 ноя 2012 16:16:21,252,[ru.iserb.icfconnectorgenerator.OIMObjectsGenerator],tcPropertyNotFoundException
Thor.API.Exceptions.tcPropertyNotFoundException
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_1035_WLStub.addFormFieldPropertyx(Unknown Source)
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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy4.addFormFieldPropertyx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfDelegate.addFormFieldProperty(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy5.addFormFieldProperty(Unknown Source)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.createForms(OIMObjectsGenerator.java:400)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.generate(OIMObjectsGenerator.java:181)
at ru.iserb.icfconnectorgenerator.mainFrame.btn_GenOIMObjectsActionPerformed(mainFrame.java:718)
at ru.iserb.icfconnectorgenerator.mainFrame.access$1200(mainFrame.java:19)
at ru.iserb.icfconnectorgenerator.mainFrame$13.actionPerformed(mainFrame.java:215)
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.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
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:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
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:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
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)
Caused by: Thor.API.Exceptions.tcPropertyNotFoundException
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.addFormFieldProperty(tcFormDefinitionOperationsBean.java:3432)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB.addFormFieldPropertyx(Unknown Source)
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.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy460.addFormFieldPropertyx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.addFormFieldPropertyx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
The propertie "Required" is set to True, so no troubles here. But propertie "Type" is not accepted by server.
If we comment the line with setting propertie 'type' we cannot activate form, it is needed to be set. If we try, we got next exception:
ERROR,07 ноя 2012 16:32:15,109,[ru.iserb.icfconnectorgenerator.OIMObjectsGenerator],tcAPIException
Thor.API.Exceptions.tcAPIException: Required properties have NOT been set for the following field(s) : Required properties have NOT been set for the following field(s)
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_1035_WLStub.activateFormVersionx(Unknown Source)
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 weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
at $Proxy4.activateFormVersionx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfDelegate.activateFormVersion(Unknown Source)
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 Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.security.Security.runAs(Security.java:41)
at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
at $Proxy5.activateFormVersion(Unknown Source)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.createForms(OIMObjectsGenerator.java:436)
at ru.iserb.icfconnectorgenerator.OIMObjectsGenerator.generate(OIMObjectsGenerator.java:181)
at ru.iserb.icfconnectorgenerator.mainFrame.btn_GenOIMObjectsActionPerformed(mainFrame.java:718)
at ru.iserb.icfconnectorgenerator.mainFrame.access$1200(mainFrame.java:19)
at ru.iserb.icfconnectorgenerator.mainFrame$13.actionPerformed(mainFrame.java:215)
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.Component.processMouseEvent(Component.java:6288)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6053)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4651)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4481)
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:4481)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:643)
at java.awt.EventQueue.access$000(EventQueue.java:84)
at java.awt.EventQueue$1.run(EventQueue.java:602)
at java.awt.EventQueue$1.run(EventQueue.java:600)
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:616)
at java.awt.EventQueue$2.run(EventQueue.java:614)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:613)
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)
Caused by: Thor.API.Exceptions.tcAPIException: Required properties have NOT been set for the following field(s) : Required properties have NOT been set for the following field(s)
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.activateFormVersionData(tcFormDefinitionOperationsBean.java:213)
at com.thortech.xl.ejb.beansimpl.tcFormDefinitionOperationsBean.activateFormVersion(tcFormDefinitionOperationsBean.java:130)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB.activateFormVersionx(Unknown Source)
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.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.jee.spi.MethodInvocationVisitorImpl.visit(MethodInvocationVisitorImpl.java:37)
at weblogic.ejb.container.injection.EnvironmentInterceptorCallbackImpl.callback(EnvironmentInterceptorCallbackImpl.java:54)
at com.bea.core.repackaged.springframework.jee.spi.EnvironmentInterceptor.invoke(EnvironmentInterceptor.java:50)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:89)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
at com.bea.core.repackaged.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
at com.bea.core.repackaged.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at com.bea.core.repackaged.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at $Proxy460.activateFormVersionx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.__WL_invoke(Unknown Source)
at weblogic.ejb.container.internal.SessionRemoteMethodInvoker.invoke(SessionRemoteMethodInvoker.java:40)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl.activateFormVersionx(Unknown Source)
at Thor.API.Operations.tcFormDefinitionOperationsIntfEJB_r9z3jf_tcFormDefinitionOperationsIntfRemoteImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:668)
at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:230)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:523)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:146)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:518)
at weblogic.rmi.internal.wls.WLSExecuteRequest.run(WLSExecuteRequest.java:119)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Desing console can set such propertie. But how should i set it through API?
Does anyone have ideas how should i solve this problem?Hi,
regarding the SQL error, my suggestion is to find a way to replicate it on demand (for example if it happens always when you update a certain field) and enable tracing, in this way you can get more detailed information on the error (when you enable the trace
CRM will slow down and the log is big, for this is better to enable it just for logging when you have the error)
hope it helps
My blog: www.crmanswers.net -
Rockstar 365 Profile -
Error creating dynamic context node in Webdynpro for ABAP. Plesae help!
Hi
I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
Note
The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
The termination type was: RABAX_STATE
The ABAP call stack was:
Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
My code is like the following:
TYPES: BEGIN OF t_type,
CARRID TYPE sflight-carrid,
CONNID TYPE sflight-connid,
END OF t_type.
Data: i_struc type table of t_type,
dyn_node type ref to if_wd_context_node,
rootnode_info type ref to if_wd_context_node_info,
i_node_att type wdr_context_attr_info_map,
wa_node_att type line of wdr_context_attr_info_map.
wa_node_att-name = 'CARRID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
insert wa_node_att into table i_node_att.
wa_node_att-name = 'CONNID'.
wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
insert wa_node_att into table i_node_att.
clear i_struc. refresh i_struc.
select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
rootnode_info = wd_context->get_node_info( ).
rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
attributes = i_node_att
is_multiple = abap_true ).
dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
dyn_node->bind_table( i_struc ).
l_ref_interfacecontroller->set_data( dyn_node ).
I am trying to create a new node. That is
CONTEXT
- DYNFLIGHT
CARRID
CONNID
As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
Also I cannot define the structure in the ABAP dictionary because it changes based on conditionOk, I think I found a bug... It seems for adobe forms in WD4A, the root context node must be 1-1 and you must nest the 1-n node within that... Not sure why, but it worked. So in my case my context would look like this:
FOO_NODE (1-1)
Widget (1-N)
-Widget_info (1-1)
*Name
*Sku
*Description
-Widget_plant (1-M)
*Plant_Code
*Plant_State
*Plant_City
-Widget_pic (1-1)
*Picture -
HI
I ve a serious problem.It's little lengthy but please have a patience and read it.
I have created a link between two database schemas say 'a' and 'b'.In schema 'b' i created a synonym for a table(emp_master) in schema 'a'.Then I want to create a Form based on this synonym for emp_master but I am not able to create it.
I get error saying -
An unexpected error occurred: ORA-03116: invalid buffer length passed to a conversion routine
ORA-02063: preceding line from PRODH1.WORLD (WWV-16016)
(Prodh1.world is my link name ).
I checked the error log but it's not explanatory.
Can you help me..I am not able to proceed.
Thanks,
SwatiHi Swati,
Are U sure U want to create a link between 2 different schemas? Aren't they 2 different instances? U don't need a link betwwen 2 schemas...
Also, I talked to my DBA and she thinks you may talk to your support personnel.
Wish U luck...
Alex
null -
Error creating policy with context
When I try to create a policy:
BEGIN
ctx_ddl.create_policy('sdoscan.ec_prd_prditmname','sdoscan.ec_prd_summ.prditmname','','','','','','','','','','CTXSYS.DEFAULT_STOPLIST','');
COMMIT;
END;
I get this error:
ORA-20000: ConText error:
DRG-10503: Unknown message id 10503
ORA-06512: at "CTXSYS.DRUE", line 180
ORA-06512: at "CTXSYS.CTX_DDL", line 1348
ORA-06512: at line 2
Does anyone know what this means and / or how to fix it?You could as well use this sample code
#include <stdio.h>
#include <stdlib.h>
#include <malloc.h>
#include <d2fctx.h> /* Forms API context */
#include <d2ffmd.h> /* Form module header file */
int main (int argc, char *argv[])
d2fctxa ctx_attr;
d2fctx *ctx;
d2ffmd *form;
d2fcnv *pd2fcnv;
d2fgra *pd2fgra;
text *form_name;
/* Check arguments */
if ( argc != 2 )
fprintf(stderr, "USAGE: %s <filename>\n", argv[0]);
exit(1);
/* Create Forms API context */
ctx_attr.mask_d2fctxa = (ub4)0;
if ( d2fctxcr_Create(&ctx, &ctx_attr) != D2FS_SUCCESS )
fprintf(stderr, "Error creating Forms API context\n");
exit(1);
/* Load the form module into memory */
if ( d2ffmdld_Load(ctx, &form,(text*) argv[1]) != D2FS_SUCCESS )
fprintf(stderr, "Failed to load form module: %s\n", argv[1]);
exit(1);
/* Get the name of the form module */
if ( d2ffmdg_name(ctx, form, &form_name) != D2FS_SUCCESS )
fprintf(stderr, "Error getting the name of the form module\n");
else
/* Print the name of the form, then free it */
printf ("The name of the form is %s\n", form_name);
free(form_name);
if ( d2ffmdsv_Save(ctx, form, (text *)argv[1])
!= D2FS_SUCCESS )
fprintf(stderr, "Could not save the form\n");
/* Destroy the in-memory form */
if ( d2ffmdde_Destroy(ctx, form) != D2FS_SUCCESS )
fprintf(stderr, "Error destroying form module\n");
/* Close the API and destroy context */
d2fctxde_Destroy(ctx);
return 0; -
Any workaround to CDG-00071 SYSTEM ERROR: Failed to create Forms API context
Hi all,
Is there a workaround to "CDG-00071 SYSTEM ERROR: Failed to create Forms API context" other than re-installing designer, then forms builder on the same ORACLE HOME directory? To do this will cause considerable downtime to our systems.Hi Diego,
Do you have the correct, corresponding version of
Developer installed? You must install Developer to
be able to generate and run the Forms correctly.
If so, is it in the same <ORACLE_HOME>?
You normally get this error if you don't have Developer
installed in the same ORACLE_HOME as Designer. Please
see the relevant Designer installation guides for full details.
Regards,
Dominic
Designer Product Management
Oracle Corp
Maybe you are looking for
-
Hey guys, my Blackberry has been acting quite weird lately, and I was wondering if any of you could help me out. See, my BB seems to have a mind of its own, as it will go to whatever is selected by itself, and continue to select until a process is fi
-
Shortest path with more than one traveler and time constraints
Please have a look at this problem...Thank you.. (the problem is ok with one traveler. but when two or more come into the picture they really mess things up) Here it is I have a number of destinations that devides evenly up between a number of travel
-
Is it possible to have an 'add to wish list' button for films on the iPad? I search through films and would love to add a range of films to a wish list so I can download them when I have a fast broadband connection. Thanks
-
TA24563 Where is the burn folder
Hello. I found a tutorial on the web saying how to burn a dvd from Aperture. It said to export to the burn folder on the desktop. I don't see any burn folder on the desktop. I'm using OSX 10.6.8. Thank you.
-
Rewrite process and remove the call to f-54 and replace with bapi proces
Hi Gurus, Please help me to find the soultion. The root cause of this continual problem is the design and use of BDC session for F-54. Is there a redesign possible with ECC6.0? I wanted to rewrite the process and remove the call to f-54 and replace