Not able to compile the composite

We have a bpel human task in a composite. In the mediator we are subscribed to onTaskCompleted event(built-in event provided by bpel task).
The below import statement got added to composite.
<import namespace="http://xmlns.oracle.com/bpel/workflow/taskEvent"
location="oramds:/apps/HumanTaskEvent.edl" importType="edl"/>
If we compile the code its throwing an error SCAC -50012. Attached the error message log file.
If we comment the above piece of code and build the composite got build successfully.
Error Stack:
INFO: validating "ProfileCoreBPELProcess.bpel" ...
oracle.jrf.UnknownPlatformException: JRF is unable to determine the current application server platform.
     at oracle.jrf.ServerPlatformSupportFactory.getInstance(ServerPlatformSupportFactory.java:79)
     at oracle.integration.platform.blocks.WLSPlatformConfigurationProvider.<clinit>(WLSPlatformConfigurationProvider.java:44)
     at oracle.integration.platform.blocks.FabricConfigManager.<clinit>(FabricConfigManager.java:155)
     at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXpathFunctions(FabricXPathFunctionResolver.java:271)
     at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.loadXPathConfigFile(FabricXPathFunctionResolver.java:153)
     at oracle.integration.platform.blocks.xpath.FabricXPathFunctionResolver.init(FabricXPathFunctionResolver.java:51)
     at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.loadFabricXpathFunctions(BPELXPathFunctionNameResolver.java:57)
     at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<init>(BPELXPathFunctionNameResolver.java:48)
     at com.collaxa.cube.xml.xpath.BPELXPathFunctionNameResolver.<clinit>(BPELXPathFunctionNameResolver.java:44)
     at com.collaxa.cube.lang.compiler.bpel.XPathExprValidatorVisitor.<init>(XPathExprValidatorVisitor.java:122)
     at com.collaxa.cube.lang.compiler.bpel.AssignValidator.<init>(AssignValidator.java:89)
     at com.collaxa.cube.lang.compiler.bpel.BpelParser.<init>(BpelParser.java:452)
     at com.collaxa.cube.lang.compiler.bpel.BPELValidator.validate(BPELValidator.java:60)
     at com.collaxa.cube.lang.compiler.BPEL1Processor.validate(BPEL1Processor.java:329)
     at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:153)
     at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
     at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
     at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
     at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
     at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
     at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
java.lang.RuntimeException: ORABPEL-09705
Could not initialize variable.
An error occurs while initializing BPEL variable initiateTaskInput; the schema processor cannot find the element {http://xmlns.oracle.com/bpel/workflow/taskService}initiateTask in the following schemas: oracle.fabric.common.wsdl.SchemaManager@18e439a.
The XSD element on which the variable was based was not properly defined in XSD or the WSDL.
Ensure that the element named in the error message is valid in the XSD or the WSDL.
     at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.preInitializeMessageVariable(CXBPELVariableInitializer.java:355)
     at com.collaxa.cube.lang.compiler.util.CXBPELVariableInitializer.initializeVariables(CXBPELVariableInitializer.java:207)
     at com.collaxa.cube.lang.compiler.map.bpel.ScopeBlox.printHookupMethods(ScopeBlox.java:337)
     at com.collaxa.cube.lang.compiler.map.bpel.BPELActivity.genCode(BPELActivity.java:350)
     at com.collaxa.cube.lang.compiler.map.bpel.BPELActivity.printClass(BPELActivity.java:321)
     at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator$ClassGenerator.printClass(CubeProcessGenerator.java:902)
     at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.printBlock(CubeProcessGenerator.java:976)
     at com.collaxa.cube.lang.compiler.map.bpel.BPELCompoundActivity.printMap(BPELCompoundActivity.java:339)
     at com.collaxa.cube.lang.compiler.map.bpel.BPELCompoundActivity.printMap(BPELCompoundActivity.java:341)
     at com.collaxa.cube.lang.compiler.map.bpel.BPELCompoundActivity.printMap(BPELCompoundActivity.java:341)
     at com.collaxa.cube.lang.compiler.map.bpel.BPELCompoundActivity.printMap(BPELCompoundActivity.java:341)
     at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generateCreateMap(CubeProcessGenerator.java:729)
     at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.code(CubeProcessGenerator.java:417)
     at com.collaxa.cube.lang.compiler.template.CubeProcessGenerator.generate(CubeProcessGenerator.java:159)
     at com.collaxa.cube.lang.compiler.BPEL1Processor.transform(BPEL1Processor.java:257)
     at com.collaxa.cube.lang.compiler.BPEL1Processor.process(BPEL1Processor.java:161)
     at com.collaxa.cube.lang.compiler.CubeParserHelper.compile(CubeParserHelper.java:47)
     at oracle.fabric.bpel.bpelc.BPELComponentValidator.validate(BPELComponentValidator.java:40)
     at oracle.soa.scac.ValidateComposite.validateComponentTypeServicesReferences(ValidateComposite.java:1117)
     at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:500)
     at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
     at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
Edited by: user773275 on May 3, 2012 4:34 AM
Added tags.

Pointing the path of file HumanTaskEvent.edl to SOA oramds instead of FA SOA shared repository fixed the issue.

Similar Messages

  • Not able to compile servlet

    Hello
    I would like some one to help me.
    I have WindowsXp professional on my Laptop. I downloaded jdk and I am able to compile and run the core java files.
    I downloaded j2sdk1.4.2_10 from the website www.java.sun.com. and then set the path in the environment variables. But in the command promt I was not able to compile the servlet.
    Could you please guide me about what more has to be done so that The servlet can compile.
    Thanking you

    **MAJOR SPAMMING SCUM BAG ALERT**
    I was puzzled in that you asked a SQL Server question in one post and then in another thread asked a Oracle related question... and then I noticed you had cross posted one of your questions at JavaRanch and I was more annoyed....
    and then I found this....
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=10&t=002447
    You sir -> Michael Byrd -> are a scum sucking dirtbag.
    To quickly explain. Mr. Byrd posts his messages (which he copies wholesale from other posters) so that he can get better google caching for the website listed in his profile.
    This is such scummy behaviour I don't even know what to say. Other than basically everyone that has ever helped you had totally wasted their time.
    You are scum. Your company is scum. I hope you rot in hell.

  • Hi Anil, I was able to compile the Maven test build successfully but still has errors.

    Hi Anil, I am not able to compile the Maven test build successfully but still have errors/warning messages. Can you please help me or tell me if I can
    processed with the tutorials. Thanks.
    <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-
    instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
      <modelVersion>4.0.0</modelVersion>
      <groupId>Maven-Test</groupId>
      <artifactId>Maven-Test</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>pom</packaging>
       <dependencies>
    <!-- check if <sap.cloud.sdk.version> and <sap.cloud.sdk.path> in settings.xml are correct -->
    <!-- SAP HANA Cloud SDK dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId>
    <version>1.48.16</version>
    <scope>system</scope>
    <systemPath>C:/dev/hanacloud.sdk/1.48.16</systemPath>
    </dependency>
    <!-- check if <eclipse.path> and <sap.cloud.ui5.version> in settings.xml are correct -->
    <!-- SAPUI5 dependency -->
    <dependency>
    <groupId>Maven-Test</groupId>
    <artifactId>Maven-Test</artifactId> (I am getting error here)
    <version>1.18.8</version>
    <scope>system</scope>
      <systemPath>C:/dev/eclipse</systemPath>
    </dependency>
    </dependencies>
    </project>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    SLF4J: Defaulting to no-operation (NOP) logger implementation
    SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
    [INFO] Scanning for projects...
    [WARNING]
    [WARNING] Some problems were encountered while building the effective model for Maven-Test:Maven-Test:pom:0.0.1-SNAPSHOT
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/hanacloud.sdk/1.48.16 @ line 16, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar should use a variable instead of a hard-coded path C:/dev/eclipse @ line 25, column 15
    [WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: Maven-Test:Maven-Test:jar -> version 1.48.16 vs 1.18.8 @ line 20, column 14
    [WARNING] 'dependencies.dependency.systemPath' for Maven-Test:Maven-Test:jar refers to a non-existing file C:\dev\eclipse @ line 25, column 15
    [WARNING]
    [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
    [WARNING]
    [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
    [WARNING]
    [INFO]                                                                        
    [INFO] ------------------------------------------------------------------------
    [INFO] Building Maven-Test 0.0.1-SNAPSHOT
    [INFO] ------------------------------------------------------------------------
    Downloading: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom
    Downloaded: http://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-clean-plugin/2.4.1/maven-clean-plugin-2.4.1.pom (5 KB at 4.3 KB/sec)
    [INFO]
    [INFO] --- maven-clean-plugin:2.4.1:clean (default-clean) @ Maven-Test ---
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 3.507s
    [INFO] Finished at: Mon Mar 24 02:27:14 EDT 2014
    [INFO] Final Memory: 5M/99M
    [INFO] ------------------------------------------------------------------------

    It's probably best to close thread and that I start a new one. I think that I have gone off on a tangent here. Yes SSIS isn't doing much of a job in reporting errors but my main concern is the error itself.
    I am trying to port an SSIS Script Task from SQL 2008 to SQL 2012. Is uses the ReportExecution2005 web service to run SSRS reports. The really strange thing is that, even though the same web reference is used, different methods seem
    to be available in SQL 2008 and SQL 2012. This doesn't sound right to me, if you refer to the same Web Service you should see the same metros or am I wrong about that.
    For example in SQL 2008 there is ReportExecutionService
    object but on the SQL 2012 to service there only seems to be
    ReportExecutionServiceSOAPClient.
    R Campbell

  • Error while compiling the composite through custom ant script

    Hi,
    I am getting the following error while compiling the composite through custom built ant scripts which are intern call the ant-sca-package.xml. And the composite is created by upgrading the 10g bpels. But the same composite is successfully compiling from Jdeveloper (11.1.1.4).
    oad of wsdl "oramds:/soa/shared/workflow/NotificationService.wsdl" failed
    oracle.fabric.common.FabricException: Error in getting XML input stream: oramds:/soa/shared/workflow/NotificationService.wsdl: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:280)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getInputStreamFromAbsoluteURL(MDSMetadataManagerImpl.java:555)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getDocumentAsInputStream(MetadataManagerImpl.java:159)
         at oracle.integration.platform.common.MDSMetadataManagerImpl.getDocumentAsInputStream(MDSMetadataManagerImpl.java:417)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:241)
         at oracle.fabric.common.wsdl.WSDLManager.loadWSDL(WSDLManager.java:304)
         at oracle.soa.scac.ValidateComposite.loadWSDLs(ValidateComposite.java:934)
         at oracle.soa.scac.ValidateComposite.doValidation(ValidateComposite.java:491)
         at oracle.soa.scac.ValidateComposite.run(ValidateComposite.java:150)
         at oracle.soa.scac.ValidateComposite.main(ValidateComposite.java:135)
    Caused by: java.io.IOException: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:388)
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getInputStream(AbstractOraMDSURLConnection.java:176)
         at oracle.mds.internal.net.OraMDSURLConnection.getInputStream(OraMDSURLConnection.java:67)
         at java.net.URL.openStream(URL.java:1010)
         at oracle.fabric.common.metadata.MetadataManagerImpl.getInputStreamFromAbsoluteURL(MetadataManagerImpl.java:276)
         ... 9 more
    Caused by: oracle.mds.exception.MDSException: MDS-00054: The file to be loaded oramds:/soa/shared/workflow/NotificationService.wsdl does not exist.
         at oracle.mds.internal.net.AbstractOraMDSURLConnection.getPDocStream(AbstractOraMDSURLConnection.java:339)
    And in the following blog, its recommended to check for the adf-config.xml. But when upgrading the bpels from 10g to 11.1.1.4, I don't see any such file created by Jdeveloper.
    http://orasoa.blogspot.com/2010/08/ant-and-mds-composite-compile-error.html
    Not sure if I am missing some properties to add in by custom script while compiling.
    Thanks
    Sree
    Edited by: Sree on Jul 4, 2011 7:25 AM

    Hi Hussain,
    Thanks for the reply.
    Were you able to compile the form at the client side successfully?
    1) Were you able to compile the form at the client side successfully?:
    Ans: Yes, I was able to compile the form successfully at client side.
    2) Are you logged in as applmgr user? Have you sourced the application env file before compiling the form?
    Ans: No, I have not logged by applmgr user, i am using my own login. Yes I have sourced the application env file before compiling the form
    3) What does "echo $FORMS_PATH" return?
    Ans: echo $FORMS_PATH on server gives this path
    /u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource:/u01/app/EBS00/apps/apps_st/appl/au/12.0.0/resource/stub
    Can you please advise?
    Thanks,

  • I am trying to authenticate at Filevault preboot using external Serial (RS232) to USB convertor where USB port is connected to my mac machine.But on preboot I am not able to type the password using console where my machine is connected.

    I am using an external keyboard which is actually a Device KeyAT who do the keyboard simulator kind of operation over Serial (RS232) to USB connector.
    I have a controller machine connected with Serial Port and MAC machine is connected by a USB port to that device.
    I am able to type the password on OS X login screen but on using the same device and set up on Filevault preboot I am not able to type the password.
    This connector is detected as a USB 2.0 composite device in System Hardware table.
    Can someone hints or point out a potential cause or to rectify this issue.
    Thanks in Advance.

    Which os version are you using? 
    Which iPod Nano model do you have?  iPod Models 
    iPod not recognized in iTunes and Mac desktop 

  • Not able to read the wsdl file from server Premature EOF encounter

    Hi All,
    I am facing issue while accessing a web Service from server. Here is the clear view about it.
    I created a simple SyncBpel process in a composite and deployed in to the server and it is working fine. Later i created a new Asyn bpel process in a composite and in the external reference i dragged a web Service and imported the wsdl url from server of the SyncBpel and wired the Asynbpel process to webserive .
    Now here i am facing peculiar behavior which i am not able to trace it out.
    1) For the first time when i import the url of syncBpel from the server i am not facing any error and it is working fine as expected but when i close the Jdeveloper and open it i am not able to user the web Service and it is saying as "Not able to read the wsdl file from server Premature EOF encounter"
    2)When i close and open the Jdeveloper i can see the url of the wsdl which imported in webserver is changing from http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL to http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/BPELsync.wsdl
    3)when I open and see the url http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel/bpelsync_client_ep?WSDL I can see the soap address as *<soap:address location="http://stcfmw03.satyam.com:8021/soa-infra/services/Tarak/synchronousBpel!1.0*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c/bpelsync_client_ep"/>*
    I don’t understand why the soap end contains “*soa_5cfb8416-c106-40a2-a53b-9054bbe04b9c” and this kind of url for soap address is coming to all the bpel process which I am deploying in the server.
    I checked the in Jdeveloper where webproxy is uncheck and the server is also up but still I am facing issue of reading the error.
    Can someone please help in resolving the issue.
    I am using SOA 11g 11.1.1.5 and Jdeveloper 11.1.1.5
    Many thanks.
    Tarak
    Edited by: user11896572 on Jan 17, 2012 5:22 PM

    Hi,
    Setting default from the jdeveloper -
    During composite deployment from Jdeveloper (wizard driven), you will be given an option to choose the version of the composite and there will also be an option for you to choose if the composite needs to be deployed as default.
    Setting default from the em console -
    After deploying a composite, login to the em console and click on the composite that you want to set as default, and you will find a tab - "Set as Default". please note that this tab will not be seen, if the composite is already set as default.
    Refer -
    http://docs.oracle.com/cd/E12839_01/integration.1111/e10226/soacompapp_mang.htm
    8.2 Managing the State of Deployed SOA Composite Applications
    Thanks

  • Am not able to run the java program - pls help

    1. I installed java in the below path
         c:\program files\java\jdk1.5.0
         c:\program files\java\jre1.5.0
    I set the path in
         User variable i. variable name: path
              ii. variable value: c:\program files\java\jdk1.5.0\bin
    when I compile it in command prompt-applying javac ? it performed successfully-shows
    options like ?g create all debug info, -g : new Generate no debug info etc.,
    But am not able to run the file. It shows error msg.
    2. I specified the same name for file name & class name.
    3. Java <class name>
         Exception in thread ?main?java.lang.NoclassDeffoundError: <class name>
    4. Java ?cp <class name>
         Unrecognized option: -cp.<classname>
         Could not create the Java Virtual Machine
    5. Java ?classpath . <classname>
         Exception in thread ?main?.java.lang.unsupported classversionError: <classname>
         <unsupported major.minor version 49.0
              at java.lang.classloader.defineclass0<native method>
              at java.lang.classloader.defineclass<unknown source>
                   --and many listed below?
    6. Java ?classpath c:\program files\java\jdk1.5.0\bin <class name>
         Exception in thread ?main?java.lang.NoclassDeffoundError: <class name>
    7. I re-installed the java, but still the problem continuing.
    pls help... its very urgent

    Is the java class you compiled/calling in the default package? If it is not, you will have to call it by the fully qualified name.
    e.g.
    package com.mycompany.myproject;
    public class MyClass {
        public static void main(String[] args) { }
    }This would be called as "Java com.mycompany.myproject.MyClass" and must contain a main method with signature as above.
    You would have to call this from folder where the compiled classes are located. If using package, you would call from directory at level of top most package so com folder in this example as Java will look at each package name in qualified name and try to traverse directories with those same names to get to .class file matching class name specified. To avoid this, your newly compiled .class files must also be in your classpath.
    Hopefully that helps.
    --Kevin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • I am not able to compile a program  on my mac...

    I am not able to compile a program  on my mac; i am getting the following message :"Class names, 'ClassName.Java', are only accepted if annotation processing is explicitly requested".  I am new to programming, and I am using a MAC. Any suggestions?  I am typing: "Javac ClassName.Java" at the command prompt.

    You might want to be posting to the developer forum here:
    https://discussions.apple.com/community/developer_forums

  • Not able to compile wrapped package bodies.

    Hi All
    Can anybody pls help me finding me the reason why I m not able to compile .plb (wrapped package body). There are no compilation errors. But when I run the .plb file (as @xyz.plb), sqlplus window hangs. No error shown. Everytime I had to close the window after waiting for 8-10 minutes.
    This is happening only with 11 files out of 200.Rest were compiled.
    Any ideas? Do we have any other way to wrap than using pl/sql wrap utility or pl/sql plug-in for wrapping(which is actually the same as former)??
    ThanksInAdvance!!
    Keep striking the iron until it's hot!

    yes, I did check for locks from pl/sql developer only. No Locks.
    I waited for 10 minutes for a 6 kb .plb file to get compiled. But had to close the session after that.
    I am using oracle 10g, pl/sql developer 7.1.0.1337
    sql*plus Release 10.2.0.2.0

  • Not Able to compile Servlet from ?

    Hi All,
    I am not able to compile Servlet from my package:
    1) I Have set the CLASSPATH Variable using below line in System Variables:
    C:\CC4\prog\jakarta-tomcat-4.1.30\common\lib\servlet.jar
    2) Also Set the CATALINA_HOME with value
    C:\CC4\prog\jakarta-tomcat-4.1.30
    as per above setting servlet should be compiled but still i m getting error message:
    1) C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac ListenerTest
    er.java
    ListenerTester.java:17: cannot resolve symbol
    symbol : class Dog
    location: class com.example.ListenerTester
    Dog dog = (Dog) getServletContext().getAttribute("dog");
    ^
    ListenerTester.java:17: cannot resolve symbol
    symbol : class Dog
    location: class com.example.ListenerTester
    Dog dog = (Dog) getServletContext().getAttribute("dog");
    ^
    2 errors
    2) Error while compiling other file:
    C:\CC4\prog\jakarta-tomcat-4.1.30\project\classes\com\example>javac MyServletCon
    textListener.java
    MyServletContextListener.java:12: cannot resolve symbol
    symbol : class Dog
    location: class com.example.MyServletContextListener
    Dog d = new Dog(dogBreed);
    ^
    MyServletContextListener.java:12: cannot resolve symbol
    symbol : class Dog
    location: class com.example.MyServletContextListener
    Dog d = new Dog(dogBreed);
    ^
    2 errors
    So what could be the posible solution here :
    do reply !!!
    please
    Thanks
    prabhat

    I have added servlet.jar in the classpath. But the program is not compiling.The error message says that it can not find classes like ServletConfig, ServletException, Cookie etc. Please help.

  • Not able to compile .pll or .fmb through installation file in R12 Upgrade.

    While compiling .pll or .fmb individually using this command
    1. frmcmp_batch module=$AU_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb userid=apps/appla1na output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx compile_all=special batch=yes
    OR
    2.frmcmp_batch module=XXIB_I10_EXT_SEARCH.fmb userid=apps/appla1na output_file=$XXIB_TOP/forms/US/XXIB_I10_EXT_SEARCH.fmx compile_all=special
    The file gets compiled and .plx & .fmx is generated.
    Same command in .install file doesnt get compiled. Sample given below
    # +======================================================================+
    # Generation of English Forms
    # +======================================================================+
    echo "------------------------------- " | tee -a $LOG_FILE
    echo "Generating Forms in English ... " | tee -a $LOG_FILE
    echo "------------------------------- \n" | tee -a $LOG_FILE
    export FORMS_PATH=$AU_TOP/resource:$AU_TOP/forms/US:$XXIB_TOP/forms/US:$FORMS_PATH
    #exportFORMS60_PATH=$XXIB_TOP/forms/US:$AU_TOP/resource:$XXIB_TOP/resource:$AU_TOP/forms/US:$FORMS60_PATH
    rmf $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx
    #commented out for R12 Upgrade by KISHAN WIPRO
    #f60gen $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb $APPS_LOGIN_ID Compile_All=YES output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx >> $LOG_FILE 2>> $LOG_FILE
    #command used to compile in R12
    frmcmp_batch module=$AU_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb userid=$APPS_LOGIN_ID output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx compile_all=special batch=yes
    if [ $? -eq 0 ];
    then
    echo "Billed Accounts Level Form Generation successful. " | tee -a $LOG_FILE
    else
    echo "Billed Accounts Level Form Generation failed. \n Please check the log file for error details and re-run." | tee -a $LOG_FILE
    exit 1
    fi
    Need some help urgent
    Contact me @ [email protected]
    Edited by: 862540 on Oct 2, 2011 11:23 PM

    Hi,
    I have tried it, by inserting it before the form compilation code the echo command works , but then while compilation it gives me an error as file not found . This file XXIB_I10_BA_BALEVEL.fmb is existing in the given path . Is it a problem with the userid being given so. As i am able to compile the file individually(During individual compilation i have hard coded the username and password), not through a installlation file . Have even checked the FORMS_PATH even thats right .
    Command used in installation file :
    # +======================================================================+
    echo "------------------------------- " | tee -a $LOG_FILE
    echo "Generating Forms in English ... " | tee -a $LOG_FILE
    echo "------------------------------- \n" | tee -a $LOG_FILE
    export FORMS_PATH=$AU_TOP/resource:$AU_TOP/forms/US:$XXIB_TOP/forms/US:$FORMS_PATH
    #export FORMS60_PATH=$XXIB_TOP/forms/US:$AU_TOP/resource:$XXIB_TOP/resource:$AU_TOP/forms/US:$FORMS60_PATH
    rmf $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx
    #commented out for R12 Upgrade by KISHAN WIPRO
    #f60gen $XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmb $APPS_LOGIN_ID Compile_All=YES output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx >> $LOG_FILE 2>> $LOG_FILE
    echo "Starting with compilation of English Form BA_BALEVEL"
    frmcmp_batch module=XXIB_I10_BA_BALEVEL.fmb userid=$APPS_LOGIN_ID output_file=$XXIB_TOP/forms/US/XXIB_I10_BA_BALEVEL.fmx compile_all=special
    if [ $? -eq 0 ];
    then
    echo "Billed Accounts Level Form Generation successful. " | tee -a $LOG_FILE
    else
    echo "Billed Accounts Level Form Generation failed. \n Please check the log file for error details and re-run." | tee -a $LOG_FILE
    exit 1
    fi
    Not able to diagonis the error .
    Regards
    KISHAN.M.G

  • NOT able to compile servlet and EE java files

    hi
    i am not able to compile java files of servlet
    it is showing cannot resolve symbol for servlet classes
    since i have installed tomcat j2sdk1.4.2_06 and also facing problem with the classpath since i have to set the classpath everytime as i have already created it in environment variables
    show me the way out

    **MAJOR SPAMMING SCUM BAG ALERT**
    I was puzzled in that you asked a SQL Server question in one post and then in another thread asked a Oracle related question... and then I noticed you had cross posted one of your questions at JavaRanch and I was more annoyed....
    and then I found this....
    http://saloon.javaranch.com/cgi-bin/ubb/ultimatebb.cgi?ubb=get_topic&f=10&t=002447
    You sir -> Michael Byrd -> are a scum sucking dirtbag.
    To quickly explain. Mr. Byrd posts his messages (which he copies wholesale from other posters) so that he can get better google caching for the website listed in his profile.
    This is such scummy behaviour I don't even know what to say. Other than basically everyone that has ever helped you had totally wasted their time.
    You are scum. Your company is scum. I hope you rot in hell.

  • Not Able  to Compile Java code

    Hi Java Gurus
    I am not able to compile this code Pl help
    class For {
    public static void main (String [] args) {
    int I = 0;
    show:
         if (I < 2) {
    System.out.print("I is " + I);
    I++;
    continue show;
    }

    class For {
    public static void main (String [] args) {
          for(int i = 0; i < 2; i++){
                  System.out.print("I is " + i);
    }this does the same as your program: the for loop is the best for this, but i agree with the others read some tutorials on loops in java. As posted before java has no concept of the GoTo syntax, loops or recursion are your only options

  • FindClass() not able to find the class in the same path

    Hi,
    I have a c prototype which calls a java function which push a message in JMS. i'm using jdk1.6. i have set JavaVMInitArgs vm_args.version = JNI_VERSION_1_6 when i compile the c code as gcc -g -lgcj -I $JAVA_HOME/include -I $JAVA_HOME/include/linux CallJMS.c the JNI_CreateJavaVM(&jvm, (void*)&env, &vm_args)* returns JNI_ERR. After changing version to 1.4 JavaVMInitArgs vm_args.version = JNI_VERSION_1_4 finally it gives me an executable which calls the java function (how ever the required functionality is not got)
    To get the required functionality i had to use jdk1.6 so i changed the version property to JNI_VERSION_1_6 and the compiling command as gcc -g CallJMS.c -I $JAVA_HOME/include -I $JAVA_HOME/include/linux -L $JAVA_HOME/jre/lib/i386/server -ljvm .This gave me an executable, but when i execute it is not able to find the java class file. I have kept both the java and c file in the same path and also set the CLASSPATH. Please help.

    Hi jschell,
    I got solution to this problem. As you said it is due to wrong CLASSPATH set .
    Before:
    JavaVMInitArgs vm_args;
    JavaVMOption options[3];
    options[0].optionString = "-Djava.class.path=.:/home/programs/JbossMetro/jboss-5.1.0.GA/server/default/deploy/JMSforCNew.war/WEB-INF/classes";
    options[1].optionString="-Djava.library.path=.:/home/program/jdk1.6.0_23/jre/lib/i386/server";
    options[2].optionString="-verbose:jni";
    vm_args.version = JNI_VERSION_1_6; //JDK version. This indicates version 1.6
    vm_args.nOptions = 3;
    vm_args.options = options;
    vm_args.ignoreUnrecognized = 0;
    int ret = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
    if(ret < 0)
    printf("\nUnable to Launch JVM\n");
    else
    printf("\nLaunched JVM\n");
    I was setting the CLASSPATH to the Path where my java class files were kept. When the JVM instance is created only this path (where my java class is residing) is identified and the JMS and other paths which was already set in the CLASSPATH environment variable is lost. Thus when i call the java class from the c program it is not able to find the dependent class files and it was aborting.
    After:
    Before setting the path where my class files are residing to CLASSPATH, get the path's in the CLASSPATH to a variable, append the path where my class files are kept to this variable and then set the CLASSPATH . Similarly do for the LD_LIBRARY_PATH. This works fine.
    char cpathBuff[100000];
    char ldpathBuff[4096];
    JNIEnv *env;
    JavaVMInitArgs vm_args;
    JavaVMOption options[3];
    cpath = (char*) getenv("CLASSPATH");
    sprintf(cpathBuff,"%s%s:%s","-Djava.class.path=",cpath,"/home/programs/JbossMetro/jboss-5.1.0.GA/server/default/deploy/JMSforCNew.war/WEB-INF/classes");
    options[0].optionString = cpathBuff;
    ldpath = (char *)getenv("LD_LIBRARY_PATH");
    sprintf(ldpathBuff,"%s%s:%s","-Djava.library.path=",ldpath,"/home/program/jdk1.6.0_23/jre/lib/i386/server");
    options[1].optionString = ldpathBuff;
    vm_args.version = JNI_VERSION_1_6; //JDK version. This indicates version 1.6
    vm_args.nOptions = 2;
    vm_args.options = options;
    vm_args.ignoreUnrecognized = 0;
    int ret = JNI_CreateJavaVM(&jvm, (void**)&env, &vm_args);
    if(ret < 0)
    printf("\nUnable to Launch JVM\n");
    else
    printf("\nLaunched JVM\n");
    Thanks for your support Peter and JSchell.
    Edited by: 844094 on Mar 15, 2011 2:37 AM

  • 11g forms builder is not able to initiate the Internet explorer

    Hi,
    my problem is that my forms builder is not able to open the form in IE during compilation if Internet explorer is not already running but it is able to open the form in a new tab if Internet explorer is already running.
    My system's specifications :-
    Oracle forms builder 11g
    Windows 2008 SP2
    Internet explorer version :-Internet explorer 9
    Please help.
    Thanks,
    RS

    1. In the Builder verify that you have valid values for the Application Server URL and Browser Location fields in the Builder Preferences Runtime (tab). Do not leave either field blank.
    2. In the browser settings, on the Advanced tab, scroll down to the Security section and check the box labeled, "Allow active content to run in files on My Computer".
    3. Click Ok to save the changes. Close ALL open browsers
    4. Retest

Maybe you are looking for

  • Export on Red Hat 7.1 Oracle 8.1.7.2

    I've been trying to export my oracle databases that I have on our linux machines. I have 2 oracle dbs on a linux machine with 2 cpus. 2 gig ram and 4 gig swap. I can run a full export at night when no one else is on the system but when I try to run a

  • Operation modes in oracle form

    please share difference between enter query mode and normal mode in oracle form precticaly. and how can change mode Edited by: 964427 on Mar 12, 2013 3:21 AM

  • BBM not updating status

    I upgraded my bbm to 5.0.0.57 on both blackberrys. But I noticed that my status does not change when I change it. My contacts can't see it even though it appears when I view my profile. How can this be fixed?

  • Hissing/buzzing in headphones

    Just recently, I've been noticing a buzz in my new Sennheiser HD 280 headphones when using them with my relatively new Macbook. The headphones work fine with my iPod and with other devices. The buzzing seemed to be pretty regular, so I timed it and i

  • Logic Preferences Advice for Imac

    Hi, I just upgraded from a 2009 Mac Mini to a new Imac & have installed Logic Studio. I was hoping on this upgrade of computer for a much smoother and faster work flow. There are a few problems on first look with latency, you know hitting the keyboar