Stack overflow error while creating connection using Oracle10G dirver

Hi,
Our web application built on Servlets runs on the iPlanet web server (In solaris machine). Earlier we used JDK 1.5 update 6 with oracle 9i driver and now got migrated to JDK 1.5 update 10 with same driver. Everything went fine until we started testing the environment with oracle 10G driver. Java 1.5 update 10 with oracle 10G driver throws "Stack overflow error".
Driver version is - 10.2.0.2.0
This occurs only when I access the portal. When I created the single main program and try to run it in the solaris machine it works fine. But wen I try to access the portal keeping this driver under classpath, it fails. Please let me know if anyone have any clues.
When I looked into it, I am able to find that the "stack overflow error" occurs at the point the code line DriverManager.Getconnection("url", "username", "pwd") executes.
Thanks in advance
below the stacktrace of the exception from webserver error log..
06/Mar/2007:04:20:40] failure (10198):
for host 202.54.182.136 trying to POST /wr/servlet/WorkRequest, service-j2ee reports: StandardWrapperValve[WorkRequest]: WEB2769: Allocate exception for servlet WorkRequest
javax.servlet.ServletException: WEB2778: Servlet.init() for servlet WorkRequest threw exception
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:949)
at org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:658)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:244)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:209)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:509)
at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:161)
at com.iplanet.ias.web.WebContainer.service(WebContainer.java:580)
----- Root Cause -----
java.lang.StackOverflowError
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(
[06/Mar/2007:04:22:20] info (10198):
CORE5073: Web server shutdown in progress
[06/Mar/2007:04:22:21] info (14506):
CORE1116: Sun ONE Web Server 6.1SP5 (64-Bit) B12/02/2005 04:37
[06/Mar/2007:04:22:21] warning (14513):
CORE1251: On group ls1, servername pstst42.pedc.sbc.com does not match subject "" of certificate Server-Cert.
[06/Mar/2007:04:22:21] warning (14513):
CORE1250: In secure virtual server https-vts, urlhost does not match subject "" of certificate Server-Cert.
[06/Mar/2007:04:22:21] info (14513):
CORE5076: Using [Java HotSpot(TM) 64-Bit Server VM, Version 1.5.0_06] from [Sun Microsystems Inc.]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [vts/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [cron/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [find/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [cb/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [wr/servlet]
[06/Mar/2007:04:22:21] info (14513):
WEB0100: Loading web module in virtual server [https-vts] at [search]
[06/Mar/2007:04:22:25] info (14513):
HTTP3072: [LS ls1] ready to accept requests
[06/Mar/2007:04:22:25] info (14513):
CORE3274: successful server startup
Message was edited by:
Nandakumar_s
Message was edited by:
Nandakumar_s

Yes, request goes through connection pool but weird
thing is application throws stack excatly where
DriverManager.getConnection gets executed.
Not weird at all.
This is what I am guessing that you did. You changed the driver and some other stuff, like configuration information.
Then when it blew up you tracked down in your code where you see the stack overflow. That happens to be on the connection line. That is not where the overflow 'occurs' - it merely represents where you saw it.
That line however isn't using the oracle driver. What it is using is a connection pool of some sort. That connection pool is configured somewhere. And that configuration is self-referential (or maybe refers to a another driver which refers back to the original.)
And that causes you stack over flow.

Similar Messages

  • Error while creating stock using tcode: MB1C

    Error while creating stock using tcode: MB1C
    The Error is: Check table T004F:entry G006 does not exist

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

  • Getting error while creating subsite using custom template in sharepoint2013

    Hi,
    I am getting the following error while creating subsite using custom template in sharpoint2013. even publish features are enabled.
    Please suggest me on this.
    Thanks in advance.

    You need to enable the PerformancePoint Service Site Collection Features(PPSMonDatasourceCtype)
    on the target site collection. go to site action > site settings> site collections features > and enable it and now try again.
    Similar case: http://imughal.wordpress.com/2012/09/20/dependency-feature-ppsmondatasourcectype-id-05891451-f0c4-4d4e-81b1-0dabd840bad4-for-feature-bicenterdataconnections-id-3d8210e9-1e89-4f12-98ef-643995339ed4-is-not-activated-at-this-scop/
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Error while creating SR using CS_ServiceRequest_PUB.Create_ServiceRequest

    Hi All,
    I am getting below error while creating an SR from the backend using API 'CS_ServiceRequest_PUB'.
    Error:
    API Programming Error (CS_ServiceRequest_PUB.Create_ServiceRequest): An error occurred when validating the descriptive flexfield.
    Additional information:Program error: Please inform your support representative that:
    FLEXFIELDS SERVER-SIDE VALIDATION package reports error:
    validate_desccols() exception: ORA-20005: DVLB.get_default_context() failed. SQLERRM: ORA-01403: no data found
    ORA-06512: at "APPS.FND_FLEX_DESCVAL", line 931
    ORA-01403: no data found
    Error: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    I have intialised the context as below while running the stand alone procedure in SQL Developer.
    Fnd_Global.apps_initialize (user_id => 1368347,
    resp_id => 21739
    resp_appl_id => 514 );
    We are on 11.5.10.2 and database version is 9i.
    Can you please help??
    TIA,
    S

    Hi Kesava,
    I notice that in the package you used the application user_name=CHUNDUK calls the API pa_project_pub.create_project.
    I wonder if you used chunduk as database user to execute the package Or you used APPS to execute the package?
    The APi document states that it is a requirement to create a db username as the same name with the application username.
    I have been running the problem to execute API 's delete project and try to figure what could be my problem.
    TIA

  • Stack overflow error while trying to run expense management activity on oracle BPM studio 10.3 on windows8 machine

    I am getting stack overflow error. While trying to bring expense creation screen on windows 8.
    I trying couple of settings in eclipse.ini file to increase the size but nothing helped. Can someone please advice?
    Below is eclipse.ini file
    -showsplash
    fuego.eclipse.studio
    --launcher.XXMaxPermSize
    --256m
    -vmargs
    -Xms600m
    -Xmx600m
    -Xss500m
    -Dfuego.fstudio=true
    -DprodMode=preProduction
    -Dbea.home=C:\OraBPMStudioHome\..
    -Djava.endorsed.dirs=""
    -Dsun.lang.ClassLoader.allowArraySyntax=true
    -Dfuego.studio.engine.java.options=-Dsun.lang.ClassLoader.allowArraySyntax=true
    -XX:PermSize=512M
    -XX:MaxPermSize=1024M
    -Xbootclasspath/a:C:\OraBPMStudioHome\eclipse\jre\lib\ext\tools.jar

    It looks like you are trying to run OSX on a Windows PC with VMware Workstation...
    This is NOT supported by VMware and doing so will break Apples EULA, you need Apple hardware to run OSX.
    No one here will be able to help you and you should investigate other legal and supported alternatives.
    // Linjo

  • Stack overflow error while using validator frame work

    Hi all,
    Iam trying out an example on using the validator frame work.Iam using the Dynavalidator form.My page is a simple jsp page where the user field is mandatory..iam getting stack overflow pop-up in my jsp and i can find the following error in the log file..
    2005-05-02 15:47:42 StandardContext[balancer]org.apache.webapp.balancer.BalancerFilter: init(): ruleChain: [org.apache.webapp.balancer.RuleChain: [org.apache.webapp.balancer.rules.URLStringMatchRule: Target string: News / Redirect URL: http://www.cnn.com], [org.apache.webapp.balancer.rules.RequestParameterRule: Target param name: paramName / Target param value: paramValue / Redirect URL: http://www.yahoo.com], [org.apache.webapp.balancer.rules.AcceptEverythingRule: Redirect URL: http://jakarta.apache.org]]
    2005-05-02 15:47:45 StandardContext[jsp-examples]ContextListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[jsp-examples]SessionListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[servlets-examples]ContextListener: contextInitialized()
    2005-05-02 15:47:45 StandardContext[servlets-examples]SessionListener: contextInitialized()
    Pls give me a sloution for this?

    I don't see any error messages or stack trace here.
    How do you know it is getting stack overflow?
    Try commenting out your validation code, and see if the form loads without it.
    Uncomment it, and find out which specific bit breaks it.

  • Error while creating Resource using GDS

    Hi
    Iam trying to create Resource using GDS and it is throwing me error
    clresource: (C189917) VALIDATE on resource egateq00-haegate_reg-res, resource group egateq00-rg, exited with non-zero exit status.
    clresource: (C720144) Validation of resource egateq00-haegate_reg-res in resource group egateq00-rg on node uhegateq02 failed.
    clresource: (C891200) Failed to create resource "egateq00-haegate_reg-res".
    This is the command I executed
    rclresource create -g egateq00-rg -t SUNW.gds
    -p Scalable=false -p Start_timeout=120 -p Stop_timeout=120 -p Probe_timeout=30
    -p Port_list="23001/tcp" -p Start_command="/egateq00/scripts/reg_START.sh" -p Stop_command="/egateq00/scripts/reg_STOP.sh"
    -p Probe_command="/egateq00/scripts/reg_PROBE.sh" -p Child_mon_level=1 -p Network_resources_used=egateq00-lh-res -p Failover_enabled=FALSE
    -p Stop_signal=15 egateq00-haegate_reg-res
    The log under /var/cluster/logs/DS says following
    07/01/2008 17:56:43 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
    07/01/2008 17:56:43 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
    07/01/2008 18:13:23 uhegateq02 START-INFO> scha_resource_open failed [14]. Keeping the old Log_level value
    07/01/2008 18:13:23 uhegateq02 START-ERROR> Cannot access the start command </egateq00/scripts/reg_START.sh> : <No such file or directory>
    However, I can open these scripts and run it from anywhere. I also tested these scripts and they all work fine. They are all set to chmod 777 , so everyone should have execute permission
    Iam not returning any return value from these Start and Stop script , is that the why it is failing
    thanks

    Hi
    I disabled the PMF as described on the http://blogs.sun.com/TF/entry/disabling_pmf_action_script_with. This is what I did
    1>Added following line in the top of my Start script
    while getopts 'R:G:' opt
    do
    case "${opt}" in
    R) RESOURCE=${OPTARG};;
    G) RESOURCEGROUP=${OPTARG};;
    esac
    done
    sleep 60 &
    /usr/cluster/bin/pmfadm -s ${RESOURCEGROUP},${RESOURCE},0.svc
    2>While creating the resource , I used property for Start_command="/egateq00/scripts/reg_START.sh -R %RS_NAME -G %RG_NAME"
    Now , after doing this , My RG is not getting lost. Also , in the message file I do not see the errors of "Start script failed to stay UP"
    However, My Application is not started either.
    This is what the message file says
    Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_validate> completed successfully for resource <egateq00-haegat
    e-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 0% of timeout <300 seconds>
    Jul 3 16:43:32 uhegateq01 Cluster.CCR: [ID 973933 daemon.notice] resource egateq00-haegate-reg-res added.
    Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <gds_svc_start> for resource <egateq00-haegate-reg-res>,
    resource group <egateq00-rg>, node <uhegateq01>, timeout <120> seconds
    Jul 3 16:43:32 uhegateq01 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscgds/bin/gds_svc_star
    t>:tag=<egateq00-rg.egateq00-haegate-reg-res.0>: Calling security_clnt_connect(..., host=<uhegateq01>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1>, .
    Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_svc_start> completed successfully for resource <egateq00-haega
    te-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 2% of timeout <120 seconds>
    Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 224900 daemon.notice] launching method <gds_monitor_start> for resource <egateq00-haegate-reg-re
    s>, resource group <egateq00-rg>, node <uhegateq01>, timeout <300> seconds
    Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 252072 daemon.notice] 50 fe_rpc_command: cmd_type(enum):<1>:cmd=</opt/SUNWscgds/bin/gds_monitor_
    start>:tag=<egateq00-rg.egateq00-haegate-reg-res.7>: Calling security_clnt_connect(..., host=<uhegateq01>, sec_type {0:WEAK, 1:STRONG, 2:DES} =<1
    , ...)Jul 3 16:43:35 uhegateq01 Cluster.RGM.rgmd: [ID 515159 daemon.notice] method <gds_monitor_start> completed successfully for resource <egateq00-h
    aegate-reg-res>, resource group <egateq00-rg>, node <uhegateq01>, time used: 0% of timeout <300 seconds>
    4>Also , in the /var/cluster/logs/DS , I see the Start script started succesfully
    07/03/2008 16:43:32 uhegateq01 START-INFO> Start succeeded. [egateq00/scripts/reg_START.sh -R egateq00-haegate-reg-res -G egateq00-rg]
    5>Also , in the /var/cluster/logs/DS , I see the Probe script returning 0 , but this is wierd because it should return Non zero number. When I run the Probe script from the command line , it is returning me non zero value when the application is down
    07/03/2008 16:43:35 uhegateq01 PROBE-INFO> The GDS monitor (gds_probe) has been started
    07/03/2008 16:44:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:44:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:45:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:45:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:46:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:46:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:47:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:47:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:48:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:48:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:49:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:49:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:50:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:50:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:51:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:51:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:52:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:52:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:53:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:53:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:54:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:54:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:55:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:55:35 uhegateq01 PROBE-INFO> The probe result is 0
    07/03/2008 16:56:35 uhegateq01 PROBE-INFO> Probe has been executed with exit code 0 [egateq00/scripts/reg_PROBE.sh]
    07/03/2008 16:56:35 uhegateq01 PROBE-INFO> The probe result is 0

  • Error while creating Routing using LSMW

    Hi Guys ,
    I am trying to create LSMW using Direct Input Method .
    My structures are ::
    RC271_DS   Work center structure for direct input (for datasets)
    RC27M_DS   Material master view DIRECT INPUT routing for datasets
    PLKO_DI_DS Header structure for direct input (for datasets)
    PLPO_DI_DS Routing/item structure for direct input (for datasets.
    I getting correct data from multiple flat files .
    It's converting the data also .
    But while executing start direct input method i am getting the followig error ....
    You cannot edit the task list object with activity type
    Please let me know problem guys .
    Regards,
    Raj

    Hi Naveen,
    It means you have to assign  the task list type to  material type ZPRD. Then it will carry its job:
    The path is:
    Go To-> SPRO-> IMG Activity-> Production-> Basic Data-> Routing-> General Data---> Define Material Type Assignments. T-Code: OP50
    I hope it will work.
    Regards,
    Madhu.G

  • Error while creating BOM using BAPI 'BAPI_BOM_UPLOAD_SAVE'

    Hi All,
    We are getting an error as 'Data is incomplete' while trying to create BoM using the bapi 'BAPI_BOM_UPLOAD_SAVE', if the item contains Item category as 'T'. But for other item category like 'L' or 'N', the bapi is sucessfull.
    The values that we pass to fill the item category 'T' are operation, item_cat, bom_itm_no, COMPON_QTY, FIXED_QTY as 'X', UNMEAS as 'ST', ITEM_TEXT1 and ITEM_TEXT2.
    Anyone who has faced same problem or has a solution to the problem, kindly provide a solution.
    Regards,
    Vijay

    The error you receive is because of different config for different Item Categories. Find out from the functional team what fields have they kept mandatory for the item category 'T'. You may not be passing one of those fields in the BAPI.
    Try creating a BOM manually for item category 'T' and you may figure our which field you are missing.

  • Error while creating BOM using BAPI (urgent)

    Hi all,
    Thanks for ur help. i am getting some error while creting a BOM using that BAPI
    BAPI_MATERIAL_BOM_GROUP_CREATE.
    errors are
    1) Error/warning when checking the structure of the BOM group with ID =
    2)Alternative does not exist for material assignment to material BAPIBOMFG1
    is it mandatory to pass the bom group id to this bapi?
    In bomgroup structure , i am not passing anything to BOM_GROUP field.
    is it mandatory to pass this data? i am giving my coding below.plz suggest , where i am making mistake. it is urgent.
    regards
    pabitra
    report z_bom_create
    line-size 132
    line-count 65
    no standard page heading.
    *-- DATA DECLARATION--
    include <icon> .
    *---Tables
    tables : s076, t100, marc .
    *---Types
    types : begin of t_upload, " Upload file data
    col1(18),
    col2(10),
    col3(30),
    col4(12),
    col5(50),
    end of t_upload,
    begin of t_split,
    location like stpu-ebort,
    end of t_split.
    data:begin of i_return occurs 10.
    include structure bapiret2.
    data:end of i_return.
    types:begin of t_item."occurs 10.
    include structure BAPI1080_ITM_C.
    types:end of t_item.
    types:begin of t_subitem." occurs 10.
    include structure BAPI1080_SUI_C.
    types:end of t_subitem.
    types:begin of t_header." occurs 10.
    include structure BAPI1080_MBM_C.
    types:end of t_header.
    types:begin of t_bomgroup." occurs 10.
    include structure BAPI1080_BGR_C.
    types:end of t_bomgroup.
    types:begin of t_variant." occurs 10.
    include structure BAPI1080_BOM_C.
    types:end of t_variant.
    *--- Tables
    data: i_upload type standard table of t_upload, " to hold data
    i_upload1 type standard table of t_upload,
    i_split type standard table of t_split,
    i_item type standard table of t_item,
    i_subitem type standard table of t_subitem,
    i_header type standard table of t_header,
    i_bomgroup type standard table of t_bomgroup,
    i_variant type standard table of t_variant.
    data: wa_upload type t_upload, " to hold file data,
    wa_upload1 type t_upload, " to hold plan data,
    wa_split type t_split,
    wa_item type t_item,
    wa_subitem type t_subitem,
    wa_header type t_header,
    wa_bomgroup type t_bomgroup,
    wa_variant type t_variant.
    data:v_matnr like mara-matnr,
    v_start like sy-index,
    v_count(3) type c.
    *--Constants
    data: c_dot type c value '.',
    c_x type c value 'X',
    c_comma type c value ','.
    -------Selection Screen Design -
    *Selection screen for input of upload file address
    selection-screen skip 2.
    selection-screen begin of block blk1 with frame.
    parameters : p_file like rlgrap-filename obligatory .
    parameters : p_matnr like mara-matnr obligatory,
    p_werks like marc-werks obligatory memory id wrk,
    p_stlan like afko-stlan obligatory default '1' .
    selection-screen end of block blk1.
    ---AT SELECTION SCREEN -
    at selection-screen on value-request for p_file.
    *--For popup to select file.
    perform f_give_help.
    at selection-screen on p_matnr.
    perform f_check_matnr.
    -----START OF SELECTION -
    *--Data upload using WS_Upload.
    perform f_get_data.
    perform f_get_bom_data.
    perform f_get_bom_data1.
    perform f_call_bapi.
    *& Form f_give_help
    text
    --> p1 text
    <-- p2 text
    FORM f_give_help.
    call function 'WS_FILENAME_GET'
    exporting
    mask = ',.,..'
    mode = 'O'
    importing
    filename = p_file
    exceptions
    inv_winsys = 1
    no_batch = 2
    selection_cancel = 3
    selection_error = 4
    others = 5.
    if sy-subrc <> 0 and not sy-msgty is initial.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    ENDFORM. " f_give_help
    *& Form f_check_matnr
    text
    --> p1 text
    <-- p2 text
    FORM f_check_matnr.
    CALL FUNCTION 'BAPI_MAT_BOM_EXISTENCE_CHECK'
    EXPORTING
    MATERIAL = p_matnr
    PLANT = p_werks
    BOMUSAGE = '1'
    VALID_FROM_DATE =
    VALID_TO_DATE =
    TABLES
    RETURN = i_return.
    ENDFORM. " f_check_matnr
    *& Form f_get_data
    text
    --> p1 text
    <-- p2 text
    FORM f_get_data.
    call function 'WS_UPLOAD'
    exporting
    CODEPAGE = ' '
    filename = p_file
    filetype = 'DAT'
    tables
    data_tab = i_upload
    exceptions
    conversion_error = 1
    file_open_error = 2
    file_read_error = 3
    invalid_type = 4
    no_batch = 5
    unknown_error = 6
    invalid_table_width = 7
    gui_refuse_filetransfer = 8
    customer_error = 9
    others = 10
    if sy-subrc <> 0.
    message id sy-msgid type sy-msgty number sy-msgno
    with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
    endif.
    ENDFORM. " f_get_data
    *& Form f_get_bom_data
    text
    --> p1 text
    <-- p2 text
    FORM f_get_bom_data.
    delete i_upload where col1 is initial.
    delete i_upload where col1 cs 'ITEM'.
    read table i_upload into wa_upload with key col1 = 'FINISHED GOOD:'.
    if sy-subrc = 0.
    v_matnr = wa_upload-col2.
    if v_matnr <> p_matnr.
    message e001(zl) with p_matnr.
    endif.
    else.
    message e000(zl).
    endif.
    ENDFORM. " f_get_bom_data
    *& Form f_get_bom_data1
    text
    --> p1 text
    <-- p2 text
    FORM f_get_bom_data1.
    loop at i_upload into wa_upload where col1 CS 'FINISHED GOOD'.
    v_start = sy-tabix + 1.
    loop at i_upload into wa_upload1 from v_start .
    if wa_upload1-col1 cs 'FINISHED GOOD'.
    exit.
    else.
    perform f_split_upload_data.
    endif.
    endloop.
    endloop.
    ENDFORM. " f_get_bom_data1
    *& Form f_split_upload_data
    text
    --> p1 text
    <-- p2 text
    FORM f_split_upload_data.
    if not wa_upload1-col5 is initial.
    if wa_upload1-col5 cs c_comma.
    split wa_upload1-col5 at c_comma into table i_split.
    loop at i_split into wa_split.
    v_count = v_count + 1.
    endloop.
    if wa_upload1-col4 <> v_count.
    wa_upload1-col4 = v_count.
    endif.
    clear wa_upload1-col5.
    clear wa_split.
    loop at i_split into wa_split.
    wa_upload1-col5 = wa_split-location.
    append wa_upload1 to i_upload1.
    endloop.
    else.
    append wa_upload1 to i_upload1.
    endif.
    else.
    append wa_upload1 to i_upload1.
    endif.
    ENDFORM. " f_split_upload_data
    *& Form f_call_bapi
    text
    --> p1 text
    <-- p2 text
    FORM f_call_bapi.
    clear wa_upload1.
    wa_header-material = p_matnr.
    wa_header-plant = p_werks.
    wa_header-bom_usage = p_stlan.
    append wa_header to i_header.
    wa_bomgroup-bom_usage = p_stlan.
    wa_bomgroup-created_in_plant = p_werks.
    append wa_bomgroup to i_bomgroup.
    wa_variant-alternative_bom = 1.
    wa_variant-base_qty = 1.
    wa_variant-valid_from_date = sy-datum.
    append wa_variant to i_variant.
    loop at i_upload1 into wa_upload1.
    wa_item-item_no = wa_upload1-col1.
    wa_item-item_cat = wa_upload1-col2.
    wa_item-component = wa_upload1-col3.
    wa_item-comp_qty = wa_upload1-col4.
    append wa_item to i_item.
    wa_subitem-subitem_qty = '1'.
    wa_subitem-installation_point = wa_upload1-col5.
    append wa_subitem to i_subitem.
    endloop.
    CALL FUNCTION 'BAPI_MATERIAL_BOM_GROUP_CREATE'
    EXPORTING
    TESTRUN = ' '
    ALL_ERROR = ' '
    TABLES
    BOMGROUP = i_bomgroup
    VARIANTS = i_variant
    ITEMS = i_item
    SUBITEMS = i_subitem
    MATERIALRELATIONS = i_header
    ITEMASSIGNMENTS =
    SUBITEMASSIGNMENTS =
    TEXTS =
    RETURN = i_return.
    if i_return[] is initial.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    *write: /'BOM created:', stpo-stlnr.
    else.
    *if not i_return[] is initial.
    loop at i_return.
    IF i_return-TYPE = 'E'.
    errmsg-type = i_return-type.
    errmsg-line = i_return-message.
    append errmsg.
    ULINE /1(108).
    write:/ icon_led_RED as icon, i_return-MESSAGE.
    ULINE /1(108).
    ENDIF.
    IF i_return-TYPE = 'W'.
    errmsg-type = i_return-type.
    errmsg-line = i_return-message.
    append errmsg.
    ULINE /1(108).
    write:/ icon_led_YELLOW as icon, i_return-MESSAGE.
    ULINE /1(108).
    ENDIF.
    ENDLOOP.
    *write: / i_return-id, i_return-number, i_return-message(80).
    *endloop.
    *write: /'Error'.
    endif.
    ENDFORM. " f_call_bapi

    Hi shashi,
    Thanks for ur help.i tried after passing the group but it is giving same error.
    i am getting the error
    "Error/warning when checking the structure of the BOM group with ID= test"
    i am gettig the above error when i put bomgroup-bom_group_identification = 'TEST'.
    whatever i am putting in this field, the same error is comming having different value.
    if i put--- bomgroup-bom_group_identification = ' '. then i will get error
    "Error/warning when checking the structure of the BOM group with ID=
    if i omit that field, then also , i am getting same error.
    plz suggest what r the fields i need to pass for BOMGROUP structure for that bapi?
    regards
    pabitra

  • Error while creating AW using DBMS_LOB with XML..

    Hi All,
    I am trying to create AW using DBMS_LOB package with XML,
    while creating AW,i am facing the following error.find the code also below :
    declare
    xml_awcreate_clob clob;
    xml_awcreate_st varchar2(4000);
    begin
    DBMS_LOB.CREATETEMPORARY(xml_awcreate_clob,TRUE);
    dbms_lob.open(xml_awcreate_clob, DBMS_LOB.LOB_READWRITE);
    dbms_lob.writeappend(xml_awcreate_clob, 48, '<?xml version = ''1.0'' encoding = ''UTF-8'' ?>');
    dbms_lob.writeappend(xml_awcreate_clob, 43, '');
    dbms_lob.writeappend(xml_awcreate_clob, 63, '<AWXML version = ''1.0'' timestamp = ''Mon Feb 11 13:29:11 2002'' >');
    dbms_lob.writeappend(xml_awcreate_clob, 15, '<AWXML.content>');
    dbms_lob.writeappend(xml_awcreate_clob, 25, ' <Create Id="Action41">');
    dbms_lob.writeappend(xml_awcreate_clob, 19, ' <ActiveObject >');
    dbms_lob.writeappend(xml_awcreate_clob, 163, ' <AW Name="NEW_XML_AW" LongName="NEW_XML_AW" ShortName="NEW_XML_AW" PluralName="NEW_XML_AW" Id="NEW_XML.AW"/>');
    dbms_lob.writeappend(xml_awcreate_clob, 19, ' </ActiveObject>');
    dbms_lob.writeappend(xml_awcreate_clob, 11, ' </Create>');
    dbms_lob.writeappend(xml_awcreate_clob, 16, '</AWXML.content>');
    dbms_lob.writeappend(xml_awcreate_clob, 8, '</AWXML>');
    dbms_lob.close(xml_awcreate_clob);
    xml_awcreate_st := sys.interactionExecute(xml_awcreate_clob);
    end;
    ORA-21560: argument 2 is null, invalid, or out of range
    ORA-06512: at "SYS.DBMS_LOB", line 833
    ORA-06512: at line 12
    Any idea or thought on this would be appreciable.
    Thanks in advance.
    Anwar

    Did you change any of the text in the lob write statements ?
    I believe you get this error if you increase the number of characters without increasing the 1st argument which looks as though it represents the number of characters

  • Error while creating PO using monitor shopping cart

    Hi all,
        We are facing one issue while creating the PO in SRM using the monitor shopping cart node. The system is throwing an error message stating that u201CEnter Tax Codeu201D because of this we are not able to proceed further. Can anyone knows why this error message is showing. I debugged the code but I couldnu2019t find out from where this message is triggering. Which BADI / FM is called up at this point giving this error message..?
    Any point on this will highly appreciated .
    Thanks in Advance .
    Regards,
    Mahesh Mohan D

    Hi Mahesh
    Does your business has practice to enter a tax details in basic data of sc since this below configuration brings the tax settings in shopping for all type of shopping carts
    SPRO>Supplier Relationship Management>SRM Server>Cross-Application Basic Settings>Tax Calculation-->Determine System for Tax Calculation - What is the existing settings?
    if it so the basic data , you can find tax details otherwise not.
    if there is a setting like no tax determination, you need to check the given vendor data whether ERS is flaged or not.
    since ERS flag equires tax data.
    regards
    Muthu

  • Error while creating filter using BD59 and BD64

    Hi Friends-
    While creating filters for HRMD_A  message type  using BD59 i have added one field  stat2 for segment
    E1P0000    and its coming also in  BD64  while creating filter group  but when i double click on it to give value to it  it  gives me error    '  Inconsistency in  ' .
    what could be the reason  pls let me know ?
    Regards
    Meeta

    Hi,
    Try to distribute the model view in BD64 ( Edit->ModelView->Distribute).  you can check for technical inconsistencies for message type in Transaction BDM5
    Regards,
    Vinod

  • Error While creating User using userservcenter Webservice

    Hi All,
    I have generated the java client stub from the um_workflowSaveCreateProfile.wsdl file successfully and I have developed one client code to call the web service to create user in Oracle Internet Directory.
    I am invoking one workflow for creation of the user which accepts four attributes (sn, cn, uid, userPassword),it is working fine when sn, cn, uid attributes are mandatory only, but if I make userPassord as mandatory, it is showing me error : Not all of the required parameters for this operation were specified.
    I am using the below client Code to call the service:
    package com.example;
    import java.util.Properties;
    import org.apache.axis.AxisFault;
    import com.oblix.CreateUser.*;
    public class CreateUserClient {
    public static void main(String Args[]) throws AxisFault{
    try{
    OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator loc = new OblixIDXML_um_workflowSaveCreateProfile_ServiceLocator();
    OblixIDXMLPortType port = loc.getOblixIDXML_um_workflowSaveCreateProfile_Port();
    Authentication myauth = new Authentication();
    myauth.setLogin("orcladmin");
    myauth.setPassword("1111Aaaa");
    Request myrequest = new Request();
    myrequest.setFunction("workflowSaveCreateProfile");
    myrequest.setApplication("userservcenter");
    myrequest.setVersion("NPWSDL1.0");
    RequestParams myparams = new RequestParams();
    myparams.setObDomainName("dc=ad,dc=company,dc=com");
    //myparams.setObWorkflowName("obworkflowid=wfqs20090206T1424241321438,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
    myparams.setObWorkflowName("obworkflowid=wfqs20090206T170318571544,obcontainerId=workflowDefinitions,o=Oblix,dc=ad,dc=company,dc=com");
    java.math.BigInteger myint2 = new java.math.BigInteger("4");
    myparams.setNoOfFields(myint2);
    AttributeParams attributeParams = new AttributeParams();
    GenericAttribute []genericAttribute = new GenericAttribute[10];
    GenericAttribute mygenericattr = new GenericAttribute();
    mygenericattr.setAttrName("cn");
    mygenericattr.setAttrOperation("ADD");
    String[] cn = {"Akshay"};
    mygenericattr.setAttrNewValue(cn);
    genericAttribute[0] = mygenericattr;
    GenericAttribute mygenericattr1 = new GenericAttribute();
    mygenericattr1.setAttrName("sn");
    mygenericattr1.setAttrOperation("ADD");
    String[] sn = {"koul"};
    mygenericattr1.setAttrNewValue(sn);
    genericAttribute[1] = mygenericattr1;
    GenericAttribute mygenericattr3 = new GenericAttribute();
    mygenericattr3.setAttrName("uid");
    mygenericattr3.setAttrOperation("ADD");
    String[] uid = {"akshay_koul"};
    mygenericattr3.setAttrNewValue(uid);
    genericAttribute[2] = mygenericattr3;
    PasswordAttribute []pwdatrarr= new PasswordAttribute[1];
    PasswordAttribute pwdatr= new PasswordAttribute();
    pwdatr.setAttrName("userPassword");
    pwdatr.setAttrOperation("ADD");
    pwdatr.setAttrNewValue("abcd1234");
    pwdatr.setAttrConfirmValue("abcd1234");
    pwdatrarr[0] = pwdatr;
    System.out.println("the pwd is"+pwdatrarr.toString());
    attributeParams.setGenericAttribute(genericAttribute);
    attributeParams.setPasswordAttribute(pwdatrarr);
    myparams.setAttributeParams(attributeParams);
    myrequest.setParams(myparams);
    Oblix output = port.oblixIDXML_um_workflowSaveCreateProfile(myauth, myrequest);
    System.out.println("result of the request\n");
    System.out.println();
    //System.out.println("test:"+output.getObError().getObStatus());
    // System.out.println("test1:"+output.getObError().getObRequestInfo());
    System.out.println("test2:"+output.getObError().getObTextMessage()[0].toString());
    System.out.println("test2:"+output.getObError().getObTextMessage()[0]);
    System.out.println("test3:"+output.getObError().getObTextMessage(0));
    System.out.println("status is " + output.getObStatus());
    }catch(Exception e){
    System.out.println("the exception is:"+e.getMessage());
    e.printStackTrace();
    Please suggest me where i am wrong !!!
    Thanks in Advance
    Akshay

    Hi,
    I guess, create workflow does not accept the password attribute while creating user account.
    You have to create the account using createprofile web service then update the password using changeprofile web service.
    I think this limitation is strategic, if you have password policies enabled, policies are applied to the container of the accounts.
    So OAM needs to have the DN of the user account to check if there are any password policies associated with the container during password updates,
    which might not be possible while using createProfile web service.
    - Sandeep

  • Error while creating pool using command line

    I am trying to create connection pool using command line as :
    %JAVA_HOME%\bin\java weblogic.Admin -url %serUrl% -username %serUser% -password %serPwd% CREATE_POOL "XXXXXXXX" url=%DB2Url%,driver=com.ibm.db2.jcc.DB2Driver,testConnsOnReserve=true,testTableName=SYSTABLES,initialCapacity=2,maxCapacity=50,capacityIncrement=2,allowShrinking=true,props=user=%DB2Usr%;password=%DB2Pwd%
    This was working fine in 8.1 ,but when i am using same in 9.2 it gives following error in console:
    ======================================================
    <Feb 2, 2007 9:58:11 AM IST> <Error> <Deployer> <BEA-149265> <Failure occured in
    the execution of deployment request with ID '1170390490712' for task 'weblogic.
    deploy.configChangeTask.0'. Error is: 'weblogic.application.ModuleException: '
    weblogic.application.ModuleException:
    at weblogic.jdbc.module.JDBCModule.prepare(JDBCModule.java:268)
    at weblogic.application.internal.flow.ModuleListenerInvoker.prepare(Modu
    leListenerInvoker.java:93)
    at weblogic.application.internal.flow.DeploymentCallbackFlow$1.next(Depl
    oymentCallbackFlow.java:360)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineD
    river.java:26)
    at weblogic.application.internal.flow.DeploymentCallbackFlow.prepare(Dep
    loymentCallbackFlow.java:56)
    Truncated. see log file for complete stacktrace
    weblogic.common.resourcepool.ResourceSystemException: Cannot load driver class:
    com.ibm.db2.jcc.DB2Driver
    at weblogic.jdbc.common.internal.JDBCUtil.parseException(JDBCUtil.java:2
    92)
    at weblogic.jdbc.common.internal.ConnectionEnvFactory.loadDriver(Connect
    ionEnvFactory.java:77)
    =====================================================
    when i am again trying to start server , its unable to start.
    Anybody have idea why this exception is coming.

    Hi ,
    Please check the FSV (field status variant) for your company code in OBY6 .
    then go to transaction code OB14 --> enter the FSV --> Check if field status group G006(Material account) is maintained there or not.
    if not please maintain it.
    Thanks & Regards
    Anshu

Maybe you are looking for

  • How to prevent the direct execution of a Z T.Code

    Hello Friends, The scenario is like this : I am going to create an Z T.Code. I have to block this T.Code from direct execution(means executing it directly by calling from Command Field). But I must be able to execute the same T.Code from within a pro

  • I can't update to iso 3.0 software

    I'm updating my mom's 3rd generation Ipod touch but cannot find where to update to iso 3.0.  When I go to the sync page and choose update is says it is current with 2.2.1.  I've been to the update page on the apple website but it does not offer a sof

  • Email contact form

    When testing the email contact form on the site i've just put together for iphone, when you go to fill the form in, the page zooms in really hard and you cant get out of it. You have to go into the url and take out the #last part of the address to ge

  • Need Photoshop and Bridge: does Creative Cloud for students/teachers include both?[was: I'm confused, need help]

    I'm a photography student about to start University. And I need Adobe Bridge and Photoshop for me to edit my photographs. The cheapest Creative Cloud for students/teachers is £8.78 a month, does this include both Bridge and Photoshop? If not does tha

  • Why can I not break apart my clips after I updated Final Cut X?

    I just downloaded the new upgraded version of Final Cut x. When doing so, all of my project files prior to the update LOCKED all my compoud clips. When i right clicked to break the clip apart it does not give me the option to break them apart. Its al