Deployment error with JAX-WS using NB 5.5 and SJAS 9.0

Hi,
I'm trying to expose a session bean as a web service. My service parses MPP files. When a few specific classes are used, the service fails to deploy with a java.lang.NoClassDefFoundError (the class is very much in the classpath). All the other classes used in the bean are taken from the same jar! Removing the offending classes remove the problem. Pls help.
Bean:
for (ResourceAssignment a : allAssignments) {
                net.sf.mpxj.Task task = a.getTask();
                System.out.println("Task name: " + task.getName());
                System.out.println("Outline number: " + task.getOutlineNumber());
                System.out.println("Outline level: " + task.getOutlineLevel());
                System.out.println("\nWBS: " + task.getWBS());
                System.out.println("WSB level: " + task.getWBSLevel());
                task = task.getParentTask();
                if (!task.getNull()) {
                    System.out.println("Parent task name: " + task.getName());
                System.out.println("\nAdding listener...");
                task.addFieldListener(new FieldListener() {
                    public void fieldChange(FieldContainer container, FieldType type, Object oldValue, Object newValue) {
                        System.out.println("Inside listener...");
                        System.out.println("Data type: " + type.getDataType());
                        System.out.println("Name: " + type.getName());
Stacktrace:
Exception occured in J2EEC Phase
java.lang.NoClassDefFoundError: net/sf/mpxj/listener/FieldListener
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2365)
at java.lang.Class.getMethod0(Class.java:2611)
at java.lang.Class.getMethod(Class.java:1579)
at com.sun.xml.ws.modeler.RuntimeModeler.processMethod(RuntimeModeler.java:455)
at com.sun.xml.ws.modeler.RuntimeModeler.processClass(RuntimeModeler.java:355)
at com.sun.xml.ws.modeler.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:251)
at com.sun.tools.ws.wscompile.CompileTool.buildModel(CompileTool.java:633)
at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:538)
at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56)
at com.sun.tools.ws.util.WSToolsObjectFactoryImpl.wsgen(WSToolsObjectFactoryImpl.java:44)
at com.sun.enterprise.webservice.WsUtil.runWsGen(WsUtil.java:1820)
at com.sun.enterprise.webservice.WsUtil.genWSInfo(WsUtil.java:2089)
at com.sun.enterprise.deployment.backend.ModuleDeployer.loadDescriptors(ModuleDeployer.java:396)
at com.sun.enterprise.deployment.backend.EjbModuleDeployer.deploy(EjbModuleDeployer.java:138)
at com.sun.enterprise.deployment.backend.ModuleDeployer.doRequestFinish(ModuleDeployer.java:160)
at com.sun.enterprise.deployment.phasing.J2EECPhase.runPhase(J2EECPhase.java:169)
at com.sun.enterprise.deployment.phasing.DeploymentPhase.executePhase(DeploymentPhase.java:95)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.executePhases(PEDeploymentService.java:871)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:266)
at com.sun.enterprise.deployment.phasing.PEDeploymentService.deploy(PEDeploymentService.java:739)
at com.sun.enterprise.management.deploy.DeployThread.deploy(DeployThread.java:174)
at com.sun.enterprise.management.deploy.DeployThread.run(DeployThread.java:210)

Update: It is working with SJAS 9.1 :). Now I'm sure it is a bug with SJAS 9.0. Still any clue will be appreciated.

Similar Messages

  • Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901

    Hi Everyone,
    I have a program that sends information(analog output) to lab windows cvi in the form of a text file or user input.
    The program runs on the computers that I have the field point explorer and lab windows cvi installed on. In order to run the program without always installing labwindows/cvi and field point; I wanted to create an executable file that could be load on another computer.
    I used the create distribution kit part of labwindows/cvi to do this.After creating the distribution kit, I then installed it
    to another computer.
    My user interface appears on the screen, when the user clicks on the exe. file, but no data is sent to the field point module. I know that the data is being read from the user and textfile because in it appears in the uir.
    The following are some details about the problem:
    1. On another computer without labwindows/cvi and field point explorer not installed - no data is sent to field point module
    I know this because a current is being read on the current meter connected to field point module.
    My questions are the following:
    1. What are the possible reasons for the data not being sent to the field point module?
    2. Do I still need to create an iak. (Installing Field point Explorer) file stored on any new computer that I install my created distribution kit file too?
    Thankyou very much for any help that you can provide. I greatly appreciate it.
    Faen9901

    Re: Hello, I have created a distribution kit for my program.The problem is that the when the program is installed onto another computer, it fails to communicate with field point (Using FP-AO-200 and FP-AO-1000). Help is greatly appreciated, Thanks faen9901Faen9901,
    1) If you do not install FieldPoint Explorer, the FieldPoint Server is not installed so there is nothing on the target computer that knows how to talk to the FieldPoint system.
    2) Yes, you need an IAK file on the target computer. Assuming the settings (i.e. com port#) are identical you can simply include the iak file as part of the distribution.
    3) You also need to include as part of your installer the file "fplwmgr.dll". If this file is not installed, your program will not be able to access the FieldPoint Server. Alternatively, this file is installed automatically if FieldPoint Explorer detects LabWindows/CVI or Measurement Studio Development versions on the target computer or if you choose to do a custom FieldPoint Explorer installation and
    choose to provide LabWindows/CVI support.
    Regards,
    Aaron

  • The recent software update on my HTC One has caused errors with Exchange ActiveSync issues. Calendar, mail and tasks sync fine but contacts won't sync. How do you correct this?

    The recent software update on my HTC One has caused errors with Exchange ActiveSync issues. Calendar, mail and tasks sync fine but contacts won't sync. How do you correct this?

    I had the same problem.  Here is what worked for me.  Open the mail app and delete your exchange account (Settings > Delete Account).  Then re-add your Exchange account.  After this my Exchange contacts showed up again. 

  • Deployment error with LabVIEW 8.0 using a Desktop PC as a RT Target

    Hello!
    I am attempting to use LabVIEW Real-Time 8.0 with a desktop PC as the RT Target.
    Everything appears fine when I look at the computer using MAX. I can fiddle with the Target’s IP, install software and transfer files between my Windows machine and the RT machine without any difficulties.
    To get started with LabVIEW I have followed the instructions in NI’s document: "Getting Started with the LabVIEW Real-Time Module".
    ( A copy may be found at this location: http://www.ni.com/pdf/manuals/371375a.pdf )
    My difficulties arise under the "Creating a Real-Time Project and Application" subsection, which begins on page 8 of the document.
    I follow the instructions to create a project using the Real-Time Project Wizard and all goes well – I can connect to the target without issue in LabVIEW and monitor its performance with the Real-Time System Manager – until I try to deploy and run the VIs on the RT Target.
    The deployment process fails nearly without exception every time I try to deploy any of the dependent VIs using the Project Explorer (I say nearly because maybe 1/100 times a VI is deployed successfully). I believe all the permissions have been properly set (in both LabVIEW and Windows) to allow the host and the target to communicate and collect data so I am not sure what the problem is.
    Interestingly enough, VILIB dependencies always deploy successfully -- And the intrigue does not end there! If I build a standalone Real-Time application (like that detailed on pages 18-21 of the manual linked above) I am able to deploy to the RT Target. Setting the application to run on startup, the RT computer successfully reboots and is able to generate a sine wave and I can view using the host VI on My Computer.
    I would like to be able to build and deploy VIs freely using the Project Explorer but am not sure how to achieve this seemingly simple goal. If anyone has encountered a problem similar to mine even feels that they know if the problem is related to hardware or software the help would be much appreciated.
    Thanks,
    Tom

    Bob,
    My System uses Windows XP. I use MAX 4.0.0.3001 to install software on the Real-Time computer. I am using LabVIEW 8.0 to deploy VIs to the Real-Time System. Also, if its any help, I am a D-Link DGE-550T Gigabit Ethernet Adapter.
    The Remote System uses LabVIEW Real-Time 8.0. Note that a fair amount of software to add functionality to the system has also been installed here from My System via MAX.
    Here is an example of how my Deployment fails:
    I follow the instructions in "Getting Started with the LabVIEW Real-Time Module" and create a project using the Real-Time Project Wizard. (The contents of such a program may be viewed in a picture that is included in the ZIP file I have attached.)
    I open the LVPROJ window and proceed by connecting to my RT device. I right click on the target and choose 'Connect'.
    A Deployment window will pop up and display the following text:
    Deploying RT (successfully deployed target settings)
    I close the window and proceed to deploy my primary VI titled 'target - multi rate - variables - fileIO.vi. I right-click on the target and choose to deploy. Again, a deployment window will pop up - this time with the following text:
    Deploying My Computer
    Deploying variables - network - RT.lvlib
    Deploying variables - network - RT.lvlibistop \\192.168.1.2\ variables - network - RT\stop.
    Deploying variables - network - RT.lvlibidata \\192.168.1.2\ variables - network - RT\data.
    Deploying RT (successfully deployed target settings)
    Deploying support - acquire data.vi (3.20K)
    Deploying Trim Whitespace.vi Failed to download Trim Whitespace.vi
    The deployment usually, but NOT always, fails on Trim Whitespace.vi. In any case, the deployment will always fail for some VI and continue to fail in the same manner until My System is rebooted. Attempting to individually deploy any of the VIs also fails the vast majority of the time and if any VI fails it will continue to do so (...until a hard reboot, in which case it may or may not fail assuredly).
    Attached to this post is a ZIP containing all the files associated with this RT Project (not including the libraries of dependencies associated with LabVIEW, of course).
    If you feel that more information about hardware or software in use would be useful, please ask.
    Thanks,
    Tom
    Attachments:
    LabVIEW RealTime Project.zip ‏193 KB

  • TestStand Deployment Error Code 1055 when using LabVIEW Storage VIs

    After a couple of days of playing with the TestStand Deployment. I final tracked down the VI that was causing this Error.
    It was using thethe LabVIEW Storage VIs to save data to a TDM file.
    My work around at the moment is to use a Wrapper VI and call this VI by reference.
    That way the TestStand Deployment can't detect the Storage VIs.
    I'm using LabVIEW 8.6.1 and TestStand 4.1.1 does anyone know if this issue has been address in TestStand 4.2?
    Looks like the upgrade might be worth it.
    Simon Holman
    Software Engineer
    Certified LabVIEW Developer
    Certified TestStand Developer
    measX GmbH & Co. KG.
    http://www.measx.com
    Solved!
    Go to Solution.

    Hi Simon,
    I tested your sequence file in TestStand 4.2 and I didn't get any error! Which version of TestStand do you have? Can you post a screenshot of the complete internal error pop up?
    Usually internal errors can be eliminated with the Clean Reinstall Procedure.doc, where you will remove all NI software and all references to NI software from your computer to start over with a fresh installation!
    I hope these informations help you!
    Best regards
    Suse
    Certified LabVIEW Developer (CLD)
    Attachments:
    Clean Reinstall Procedure.doc ‏32 KB

  • Error with Links if using x3 primary keys

    Hi Folks:
    Here is the error code I'm receiving:
    ORA-01422: exact fetch returns more than requested number of rows
    Unable to fetch row.
    Background: I am using Application Express 3.2
    All of the pages I have created that rely on x2 primary keys (first_name, last_name) work fine.
    I have a table that has x3 primary keys: Table is called "time_off_awards". The x3 primary keys are: last_name, first_name, approval_date.
    I created a report that works properly and lists the awards for each person (each person can receive more than one award-on different dates).
    I also created an edit link that works properly IF *(only if)* each individual has only one award. If the individual has more than one award then I get the error above. When I set up the link I used all three keys. The x3 PK's should uniquely identify each row, but if the same last name/first name appear more than once (that is if the person has more than one award) I get the error. I thought at first maybe it was just not reading the 3rd key/part of the link (approval_date), but it shows properly if you move your cursor over the edit link.
    Here is a link to a screen pic of how I have my link set in Apex:
    [http://www.wczone.com/link_settings.gif]
    Here is a link to a pic of the report with some info:
    [http://www.wczone.com/report_link.gif]
    If needed, here is my table info:
    CREATE TABLE PERSONNEL.TIME_OFF_AWARDS (
    LAST_NAME VARCHAR2(40) NOT NULL,
    FIRST_NAME VARCHAR2(25) NOT NULL,
    APPROVAL_DATE DATE NOT NULL,
    HOURS_OFF NUMBER(3),
    CITATION VARCHAR2(1500),
    /* Keys */
    PRIMARY KEY (LAST_NAME, FIRST_NAME, APPROVAL_DATE),
    /* Foreign keys */
    CONSTRAINT TOA_PERSONNEL
    FOREIGN KEY (LAST_NAME, FIRST_NAME)
    REFERENCES PERSONNEL.MARC_PERSONNEL(LAST_NAME, FIRST_NAME)
    TABLESPACE PERSONNEL;
    Thanks for any help, I've tried looking at a couple of Apex books, but they didn't help much.
    Matt
    Edited by: user10495310 on Mar 4, 2009 8:21 AM

    Thank you everyone for the help and information you gave to me.
    Your ideas and advice helped me to think through the issues involved.
    The way i actually found to work around this issue was a little different.
    What I did was the following (which may only be usable with empty tables. If its possible to create a new column with a sequence and trigger on a table that already contains data it should work also):
    1. I removed the current PK's that were currently set.
    2. I added a single, unique PK (that used a sequence and trigger to automatically increment) to the table as was suggested in this thread and other APEX forum threads.
    3. I changed the link on the report so that it used the new PK, and also changed the PK used on the forms (under Processes - both the page rendering and page processing processes).
    The Difference:
    4. Next I changed the table (not by using APEX, but directly) from using the automatically generated ID as the PK, back to using the compound PK (x3 keys). I then added an constraint to make sure that the automatically generated column was unique. So now I have the compound PK that my supervisor wants us to use, and I'm able to use a unique, automatically generated key for APEX to use.
    I found also that if you already have a column that uses a unique/auto-generated key you can still use it with APEX without switching keys around.
    1. I added the new column to the sql in the reports source section so that the new column was searched (and then used 'hidden' so it wouldn't be displayed on the report users would see).
    2. You can still add the unique key under the processes on the form that is being linked too under the Primary key tabs. If its not a PK it won't show up in the pop up which is to the right of "Item Containing Primary Key Column Value" but it can be entered manually (i.e. p23_AUTO_ID) and it will work fine. You would also need to edit your form so that the auto ID that is being passed from the report is part of the form - but hidden if desired).

  • URGENT!! ERROR WITH EXPIRED CERTIFICATE USING JDK 1.4.2.05

    Hi,
    I have created a client/server application with SSL and have found the following problem.
    I have made these two tests:
    1) jdk 1.4.2.03 --> the certificate is expired, I obtain this exception "No trusted certificate found". it's ok
    2) jdk 1.4.2.06 --> the certificate is expired, no error occurs. WHY?????
    Someone can help me?
    Gianna

    The problem is not the expired certificate! I know that it is expired, but I don't understand why using jdk 1.4.2.05 this certificate is not recognize invalid.
    With this jdk the channel is created. Using jdk 1.4.2.03 instead the certificate was recognized expired and the channel is not created between client and server.
    For me the correct behavior has with the old version of the JDK and not the new.
    WHY?????

  • Deployment error with sun app server 8.2

    hi,
    i'm a newbieto java programming.
    i'm following the j2ee tutorial.
    but i'm stuck when deploying
    could anyone help me on this?
    thanks in advance.
    Distributing /opt/CustomerBook/dist/customerbook.ear to [localhost:4848_server]
    Unable to construct properties list for: getConnectionPoolProperties
    deployment started : 0%
    Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    /opt/CustomerBook/nbproject/build-impl.xml:219: Deployment error: Deployment timed out after 120 seconds.. See the messages.log file for details.
    BUILD FAILED (total time: 2 minutes 54 seconds)
    EXECUTION SECTION
    =================
    line 219:
    ** <nbdeploy clientModuleUri="${client.module.uri}" clientUrlPart="${client.urlPart}" forceRedeploy="${forceRedeploy}" debugmode="false"/>**

    For future references:
    this happens to me too and I found that the cause is that the AM server you are going to configure, is already registered into the directory server.
    Try running this command (with the obvious parameters substituted)
    ldapsearch -B -T -D 'cn=directory manager' -w YOUR_CREDENTIALS -b ou=1.0,ou=iPlanetAMPlatformService,ou=services,YOUR_BASEDN -s base objectclass=* | grep YOUR_SERVERNAMEIf you found that the server you are configuring is listed here try going to AMserver console (if you have another AMserver configured) and browse to Configuration->System Properties->Platforms. If the server is here, remove it, if not, just hit Save (very important).
    If this is your first AM and is a first installation you can just get rid of the Directory Server suffix and recreate it with the Top Entry alone.
    Edited by: flistello on Mar 27, 2008 4:30 PM

  • CS6 deployment error with Application Manager Enterprise 3.1 Edition

    Hello everyone,
    I am currently trying to create a DesignWebPremium and Master Collection CS6 deployment package with AMEE 3.1 (Application Manager Enterprise Edition) on Windows 7 EE x64 without any luck.
    I keep getting the following error log:
    11/16/2012 06:35:51[INFO] AdobePackageBuilder - Build Version - 3.1.105.0
    11/16/2012 06:35:51[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    11/16/2012 06:35:55 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
    11/16/2012 06:35:57 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    11/16/2012 06:35:59 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    11/16/2012 06:37:31 [ERROR] AdobePackageBuilder - Failed to create Setup.ini file for Acrobat Customized Wizard.
    11/16/2012 06:37:32 [ERROR] AdobePackageBuilder - Failed to create the zip file.
    11/16/2012 06:37:32 [ERROR] AdobePackageBuilder - Error zipping PkgConfig.xml.
    so I thought I could be smart and just take out Acrobat from the install package, but still no luck:
    11/15/2012 07:39:41[INFO] AdobePackageBuilder - Build Version - 3.1.105.0
    11/15/2012 07:39:41[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    11/15/2012 07:39:46 [INFO] AdobePackageBuilder - Copied Setup file/folder (packages)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied Setup file/folder (resources)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (Set-up.exe)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    11/15/2012 07:39:48 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    11/15/2012 07:42:10 [ERROR] AdobePackageBuilder - Failed to create the zip file.
    11/15/2012 07:42:10 [ERROR] AdobePackageBuilder - Error zipping PkgConfig.xml.
    I have tried creating the deployment package as both 32-Bit, 64-Bit, including updates and not including them, running AMEE 3.1 with administrative access and without - it just doesn't work...
    I'll be grateful for any constructive help.

    Hi,
    I just did come across this error today, and thought of sharing with the solution. This error is due to insufficient previlages of user, while he is trying to configure the hyperion Products. So all you have to do to solve this is, while you try to configure, right click on the configuration utility and run as administrator, and do the configuration as usual.This would solve this issue. I did not have this issue with Windows 2003 Server, but faced this while installing on Windows 2008 Server.
    Thanks,
    Leo Jose.

  • Compiler Error with simple vi using MatLab script nodes

    While attempting to build a simple vi to test the capabilities of LabView's interface with MatLab, I received a compiler error message that said I should report the problem to National Instruments Tech Support. The error said, "reference to undefined label from: refPC=0x41C." I've attached the vi that created the error. I am using LabView 7.0 on a PC running Windows 98.
    Attachments:
    Compliererror.vi ‏11 KB

    I don't know if this will help your problem, but there is a fix for some problems with LabVIEW 7.0 and Matlab:
    http://digital.ni.com/public.nsf/websearch/4475BC3CEB062C9586256D750058F14B?OpenDocument
    Good luck,
    -Jim

  • Deployment Error with VS2012/3 and Lightswitch

    I'm getting an error every time I try to run my Lightswitch app via debug mode  (F5) in both VS 2012 and 2013.
    I have a simple app that takes as its data source a SharePoint list in sp2010. I have managed to link to my site collection and checked the list I want. The columns are imported into LightSwitch and I build a screen from these.
    I then enable SharePoint in LightSwitch
    I press F5 and then I get this error (I get the same error in both VS2012 and 2013) no matter which site collection I use or which lists:
    There are deployment errors. Continue?
    I click No
    I then this error
    Error occurred in deployment step 'Uninstall app for SharePoint': Method "GetAppInstancesByProductId" does not exist
    Any ideas? Thanks in advance

    Hi,
    According to your post, my understanding is that you got error when using the visual studio lightswitch.
    You can check the errors in the stack trace to see if anything unexpected occurred.
    You can get the stack trace by following article:
    http://blogs.msdn.com/b/mthalman/archive/2013/08/16/how-to-get-a-stack-trace-in-lightswitch.aspx
    What’s more, to ensure whether it is the code issue, you can create a new and clean app to check whether it works.
    http://blogs.msdn.com/b/bethmassi/archive/2011/06/29/using-sharepoint-data-in-your-lightswitch-applications.aspx?Redirected=true
    As the issue is related to LightSwich, I recommend you post the question to the forum of
    Visual Studio LightSwich.
    http://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=lightswitch
    More experts will assist you, then you will get more information relation to LightSwich.
    Thank you for your understanding and support.
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Deployment error with netbeans vwp

    when i try to run my vwp project i get this error.
    Starting server Bundled Tomcat (5.5.17)
    Starting of Tomcat failed.
    D:\Documents and Settings\Erdal\erdalWEB\nbproject\build-impl.xml:475: Deployment error:
    Starting of Tomcat failed.
    See the server log for details.
    all i do is to open a new Visual Web Application project, drag and drop a label and deploy it. nothing complicated but couldn't found where the problem is. please give me a hand, a hint, a way to get over this...

    Read this, as it says:
    See the server log for details.

  • HT4914 My computer stopped working and I bought a new iPhone. Can I buy this with ought the use of a computer and will it work with no computer?

    I have all of my music on my old iPhone 3GS (8gb) I now have a iPhone 4s and I want to get the music from one phone to another with ought the use of a computer Can I use iTunes Match?

    Hi Paul ,
    It could be a compatibility issue as well as Acrobat 8 is an older version.
    Do you get any error message while registering for the product?
    Try repairing it and once and also check for updates as well.
    Is it happening with all the word files or any specific one'?
    Regards
    Sukrit Dhingra
    Acrobat 8 and Windows 7 Don't Work

  • I need a USB Headset with Mic to use for Webinar's and Go To Meeting sessions. There looks to be very few options that work with the Mac as they seem to be designed for Windows.  Any suggestions on equipment?

    I am looking for a binaural USB headset with microphone to use during Go To Meeting sessions and Webinar's. Seems to be little that works with the iMac and most of the web searches have not been encouraging. Any suggestions on units that work.  I have a new iMac running Snow Leopard 10.6.8.
    Bob

    I am looking for a binaural USB headset with microphone to use during Go To Meeting sessions and Webinar's. Seems to be little that works with the iMac and most of the web searches have not been encouraging. Any suggestions on units that work.  I have a new iMac running Snow Leopard 10.6.8.
    Bob

  • Error while deploying ABCS with custom XPATH using AID

    Hi All,
    I use a custom xpath function as given below in the Provider ABCS BPEL.
    <copy>
    <from expression="sql:queryToWhereClause(ora:getNodes('xxx','xxxx','xxxxxxxx'))"/>
    <to variable="variableName" part="predicate"/>
    </copy>
    When I deploy this ABCS from jdeveloper, everything works fine.
    When I try to deploy the ABCS composite using the AID, it throws this error,
    [scac] error: in QueryPersonEbizProvABCSImplProcess.bpel(733): could not resolve xpath function "queryToWhereClause", because function "sql:queryToWhereClause" not registered.
    I have dropped the classe into $SOA_HOME/soa/modules/oracle.soa.ext_11.1.1/classes, and it still looks like the AID is not able to locate the class. Am I dropping the classes into the right location, or is it something else that is missing? Any pointers are appreciated.
    Thanks
    Anish.

    Anish,
    this comes from the fact that the SOA compilation tools don't include $SOA_HOME/soa/modules/oracle.soa.ext_11.1.1 in the class path, e.g. in $SOA_HOME/bin/ant-sca-compile.xml which is in turn used by AID for compiling composites.
    You can work around this by adding the custom classes/libraries to the classpath in $SOA_HOME/bin/ant-sca-compile.xml. Insert the following entry in section '<path id="scac.tasks.class.path">':
    <pathelement path="${oracle.home}/soa/modules/oracle.soa.ext_11.1.1/oracle.soa.ext.jar"/>
    With that ant-sca-compile.xml and therefore also AID will be aware of your custom xpath function and the compilation error should disappear.
    Gerhard

Maybe you are looking for