Error-maintaing Reservation Characteristic in Resource (Capa Reservation)

Hi All, we are trying to implement Capacity Resolution scenario on APO SCM7.0
While maintaining Descriptive Characteristic in the Resource, we are getting error: u201CThe Reservation Characteristic is not validu201D (as mentioned in step 6). The related message number is u201C/SAPAPO/CAPREV003u201D.
We have done following setup:
1. Maintained the field catalog containing the required fields/characteristic (MATNR, WERKS, KUNNR)
2. Maintained a consumption group.
3. Maintained Capacity Reservation Group containing consumption group with all characteristic
4. Assigned the consumption group to the product master. (Demand tab page of the location-product). Assigned requirements strategy = 20 (Planning with final assembly) u2026 u2026 suitable for descriptive characteristics.
5. Maintained a (PP/DS) Time Continuous Resource
6. Need to maintain Capacity Reservation Group & Characteristic for the resource. For that we followed: Tab-PP/DS Bucket Cap. --> Button-Capacity Reservation. But, while maintaining Descriptive Characteristic, we are getting error: u201CThe Reservation Characteristic is not validu201D.
Query:
(a) When we do F4 in Characteristic under Descriptive Characteristic, we can view two columns Char. & Descriptive Char. In the column Characteristic the 3 fields are present. But against these 3 fields no value is present in the column descriptive Characteristic. Is it the reason for issue, If yes, what can be the fix.
Characteristic     Descriptive Characteristic
KUNNR     
MATNR     
WERKS     
(b) Is it required to assign Capacity Reservation Group to Resource? If yes, How/where?
7. In Demand Planning created a master planning object structure containing the descriptive characteristics. (also Planning Area)
8. Created characteristic value combinations that include the values of the descriptive characteristics
9. Created a forecast for the product using Demand Planning functionality.
10. Released the Forecast to SNP. The descriptive characteristic can be verified in product view (after clicking on the triangle).
Thanks & Regards,
Milind Joshi

Hi Milind,
Have you maintained number range intervals for capacity reservations?
Please refer the SAP note 1073568 for more details.
Also, please check the following,
1. in consumption group creation you maintained the correct planning area.
2. You have initiated planning version for your planning area.
3. You have used the same planning version in your resource.
Since the Characteristic values in MPOS are linked to Capacity reservation Group through Planning Area, there may be some inconsistency in these settings only.
Also refer the SAP note 1368244 if it is helpful,
Regards,
Manimaran M.

Similar Messages

  • Unknown error in reservation system (API error type A code 3)

    Good Day
    I hope someone can give me some info for the following error.
    I create a travel plan and when I click on Book I do some times get the following error
    "Unknown error in reservation system (API error type A code 3)"
    Can anyone please assist, as this does not always happens.
    Regards
    Jaco Nel

    MONO PKGBUILDs have a number of unique requirements. Have a look at some of the official ones, like Banshee itself, or F-spot, for example.

  • RFC Resource Cap Exceeded

    I'm getting the message " RFC Resource Cap Exceeded"in the EFWK Resource Manager batch job on my Solution Manager system. Any idea what his means?
    Log file from the batch job
    Job log overview for job:    EFWK Resource Manager (01 Minute / 13292300
    Step 001 started (program E2E_EFWK_RESOURCE_MGR, variant , user ID SMD_RFC)
    Worklist Pass 1 with * worklist items.                                                                               
    PR4 E2E_LUW_ME_CORE_SSR  R A0A6CD91579BFD5FD57D0833E94041D2 SM_PR4CLNT300_READ   Resource allocated successfully
    DR4 E2E_ME_RFC_ASYNC  R C93328FEAACEEEDBD3C42C54C6EF7418 SM_DR4CLNT300_READ      Resource allocated successfully
    QR4 E2E_ME_RFC_ASYNC  R BD366CBD7D64373F7BFF4EAA051B5CCB SM_QR4CLNT300_READ      Resource allocated successfully
    QP4 E2E_ME_RFC_ASYNC  R B8EBD209EA7BC1C9111C7B6FC4D87CE2 SOLMANDIAG              Resource allocated successfully
    QP4 E2E_ME_RFC_ASYNC  W B752CD1338491A17EF21AAEDE904DBBC SOLMANDIAG              RFC Resource Cap Exceeded
    PP4 E2E_ME_RFC_ASYNC  W B63BEEDDC2242DF411FF65FD938BA311 SOLMANDIAG              RFC Resource Cap Exceeded
    PR4 E2E_ME_RFC_ASYNC  W 9BD94F0CBE395638B7D80B917CF34EDB SOLMANDIAG              RFC Resource Cap Exceeded
    DR4 E2E_ME_RFC_ASYNC  W 98E031268E5D1E5CEDBD24A6A02D99E8 SOLMANDIAG              RFC Resource Cap Exceeded
    DB4 E2E_ME_RFC_ASYNC  W 957D32A9E59D7A9F24DECCED5E2DF53A SOLMANDIAG              RFC Resource Cap Exceeded
    QR4 E2E_ME_RFC_ASYNC  W 5FBB1CE85153E619EEA69FE0E6771902 SOLMANDIAG              RFC Resource Cap Exceeded
    PB4 E2E_LUW_ME_CORE_SSR  R 59DEEECAE564B756473F567030E8546B SM_PB4CLNT300_READ   Resource allocated successfully
    Requested Resource not found                                                                               
    Job cancelled after system exception ERROR_MESSAGE

    Hi,
    On note 1435043 - E2E Workload Analysis - No applicable data found there is a note
    3) EFWK Resource Manager Job
    This is the central job that controls all data loading steps. Make sure this job is released in transaction SM37. The job name is E2E_HK_CONTROLLER
    - Make sure that you release the job with user SMD_RFC to avoid authority problems.
    - Make sure the job is not scheduled more than once for the same timestamp.
    - Check the job spool for any errors.
    - Check the test job logs in Solution Manager Workcenter -> "  Extractor FWK Administration", click on "Latest Job Logs".
    Common issues: "RFC Resource Cap. Exceeded". Increase the value of the RFC Resource Cap in table E2E_RESOURCES using SE16.
    So may be it could help.
    Rgds,

  • Error encountered while polling the resource for the service endpoint

    Hello everyone
    I'm a newbie on OSB world. Yesterday, I've tried to test OSB with FTP transport and got some problems.
    As you see in the title, I've search this forum to get a solution already, but I couldn't find anything. So that I create a new thread.
    I created a new OSB project, create a new Proxy service to connect to my FTP server:
    - service type: messaging service
    - request message type: Text, response message type: None
    - FTP transport: external user (I used a Service account), Post read action: archive, transfer mode: ascii, some directories needed were created in /tmp directory
    - Message flow: Start node -> pipeline pairs
    in request pipeline of pipeline pairs node: i created a new stage: Assign action -> Log (to get file contents, error severity) -> Assign -> Log (get file name)
    The expected results are: file file content and file name (display in osb console) after I submit a text file to ftp server (using test console or ftp client)
    But, some error occur continuously after I submit a text file (I can get the file content because error raise and log catch it). The error message is show below:
    <Jun 6, 2011 10:04:59 AM EDT> <Error> <ALSB Logging> <BEA-000000> < [PipelinePairNode1, PipelinePairNode1_request, show_text_info, REQUEST] file contents: li
    ag
    a
    glakjgk
    >
    <Jun 6, 2011 10:05:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: *javax.naming.NameNotFoundException:* While trying to lookup *'wlsb.internal.transport.task.queue.ftp'* *didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
    *javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'*
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         Truncated. see log file for complete stacktrace
    >
    <Jun 6, 2011 10:06:30 AM EDT> <Error> <WliSbTransports> <BEA-381602> <Error encountered while polling the resource for the service endpoint ProxyService$FTPTestProject$ProxyServices$FTPTestPS: javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
    javax.naming.NameNotFoundException: While trying to lookup 'wlsb.internal.transport.task.queue.ftp' didn't find subcontext 'wlsb'. Resolved ''; remaining name 'wlsb/internal/transport/task/queue/ftp'
         at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:1139)
         at weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:247)
         at weblogic.jndi.internal.ServerNamingNode.lookupHere(ServerNamingNode.java:182)
         at weblogic.jndi.internal.BasicNamingNode.lookup(BasicNamingNode.java:206)
         at weblogic.jndi.internal.WLEventContextImpl.lookup(WLEventContextImpl.java:254)
         Truncated. see log file for complete stacktrace
    >
    ...There are many BEA-381602 errors that occur continuously.
    My question is how to solve this problem.
    Any suggestion is appreciated.
    Thank in advance.
    Regards, CuongPT
    Edited by: Doubt_Man on Jun 6, 2011 11:17 AM

    Thank atheek1, I remember that I didnt do any manual configuration on my domain :). I use that domain for testing so that I will create a new domain for comparison.

  • Error in service call of Resource

    Hi,
    We are getting following error after logging to portal . the error message is
        Portal Runtime Error
    An exception occurred while processing your request
    Exception id: 06:51_10/11/09_9448_11617051
    See the details for the exception ID in the log file.
    And also please find the attached defaulttrace log.
    #1.5 #002481D1537E003D000001040000146A00047804045B3BBC#1257858555338#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#Guest#0####3f30e2a0cdfa11dec4e1002481d1537e#SAPEngine_Application_Thread[impl:3]_84##0#0#Error#1#/System/Server#Java###Exception ID:06:39_10/11/09_8424_11617050
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.hrms.runtime.logon.default
    Component class : com.sapportals.portal.ume.component.logon.SAPMLogonComponent
    User : Guest
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
         at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
         at com.sap.security.core.logonadmin.ComponentAccessToLogic.gotoPage(ComponentAccessToLogic.java:109)
         at com.sap.security.core.sapmimp.logon.SAPMLogonLogic.executeRequest(SAPMLogonLogic.java:258)
         at com.sapportals.portal.ume.component.logon.SAPMLogonComponent.doContent(SAPMLogonComponent.java:36)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.ume.component.logon.SAPMLogonCertComponent.doContent(SAPMLogonCertComponent.java:33)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
         at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
         at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Original exception:
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:83)
         at sapportalsjspumLogonPage.service(_sapportalsjsp_umLogonPage.java:57)
         at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:360)
         at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
         ... 49 more
    Caused by: java.lang.NumberFormatException: null
         at java.lang.Integer.parseInt(Integer.java:436)
         at java.lang.Integer.parseInt(Integer.java:518)
         at sapportalsjspumLogonPage.subDoContent(_sapportalsjsp_umLogonPage.java:1176)
         at sapportalsjspumLogonPage.doContent(_sapportalsjsp_umLogonPage.java:77)
    Please suggest..
    Regards,
    Velu

    We are getting the same error (See below). Can anyone suggest what could be possible solution?
    Exception ID:05:33_15/11/10_0119_84931051
    [EXCEPTION]
    com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Resource
    Component : com.cvg.pct.hcm.pcr_voluntarytermination.default
    Component class : com.sap.pct.fin.util.isrprocessevent.IsrProcessEvent
    User : N000061957
                    at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:969)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:444)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:527)
                    at com.sapportals.portal.prt.component.AbstractComponentResponse.include(AbstractComponentResponse.java:89)
                    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:232)
                    at com.sapportals.portal.htmlb.page.JSPDynPage.doOutput(JSPDynPage.java:76)
                    at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:129)
                    at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
                    at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
                    at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
                    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                    at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
                    at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
                    at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
                    at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
                    at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
                    at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:545)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
                    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
                    at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
                    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
                    at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
                    at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
                    at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
                    at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
                    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: com.sapportals.portal.prt.component.PortalComponentException: Error occurs during the compilation of java generated from the jsp
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:109)
                    at com.sapportals.portal.prt.core.broker.PortalComponentItemFacade.service(PortalComponentItemFacade.java:355)
                    at com.sapportals.portal.prt.core.broker.PortalComponentItem.service(PortalComponentItem.java:934)
                    at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:435)
                    ... 38 more
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: Error occurs during the rendering of jsp component
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2189)
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
                    at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:284)
                    at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:134)
                    ... 41 more

  • When I try to log in to my BC account I get a message that says this"Server Error in '/' Application.  The resource cannot be found.  Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its nam

    When I try to log in to my BC account I get a message that says this"Server Error in '/' Application.  The resource cannot be found.  Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable.  Please review the following URL and make sure that it is spelled correctly.   Requested URL: /Admin/Index2.aspx"
    Any ideas???

    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Not Authorized HTTP Error 401. The requested resource requires user authentication.

    Hi All,
    I have MDS web application on one server and MDS DB on another, both in same domain .
    MDS web application is created as new website on same IIS with SharePoint and have their own port assign
    In IIS Windows Authentication is added and enabled.
    Users do have function permission and module enabled.
    MDS is accessible only on server where web application is.
    When it is accessed from any computer within domain error is
    Not Authorized
    HTTP Error 401. The requested resource requires user authentication.
    Can anyone offer any suggestions?
    Thanks
    Zorko

    Hi Zorko,
    The issue may happen in case:
    1. The Master Data Service(MDS) web application is running under a domain user account
    2. You didn't register a Service Principal Name(SPN) for the account
    3. You are using fully qualified domain name(FQDN) or host name to access the MDS
    4. You are able to access the MDS by IP address(http://<ip address>)
    If I am right, it is because of the browser choose to use Kerberos authentication to connect to the MDS.
    So then, to fix the issue, please:
    Register SPN for the application pool account. Enable the delegation.
    Or, please force the web site to use NTLM authentication only.
    For more information, please see:
    How to use SPNs when you configure Web applications that are hosted on Internet Information Services:
    http://support.microsoft.com/kb/929650
    Forcing NTLM Authentication (IIS 6.0):
    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/7258232a-5e16-4a83-b76e-11e07c3f2615.mspx?mfr=true
    Thanks,
    Jinchun Chen
    Jinchun Chen(JC)
    TechNet Community Support

  • Error: Could not find compiled resource bundle 'components' for locale 'en_US'

    We are porting a fairly large body of Flex3 code developed under FlexBuilder 3 to Flex4 under FlashBuilder 4.  Most of the conversion appears to be working fine, with one exception.  When I launch the Flex4 version, all my data interchanges with the server works.  Just as it is about to show the UI, the following error occurs:
         Error: Could not find compiled resource bundle 'components' for locale 'en_US'
    I am actually using a locale of fr_FR, but I assume it couldn't find that, reverted to en_US, failed again and then barfed.  If I look in
         ~Adobe Flash Builder 4\sdks\4.0.0\frameworks\locale\fr_FR
    I see a lot of swc files, and of course no 'components.swc'.  I believe the problem is that our Flex3 code is using mx components, and the compatibility mode is not properly handling it for some reason.  I think this is mostly from our in-house UI library.  The properties for that library (and for my main app I am testing now) have:
         - Use default SDK (currently "Flex 4.0")
         - Use Flex 3 compability mode
         - Use minimum version (Flash Player) required by the Flex SDK
         - Enable strict type checking
         - Enable warnings
    I also tried putting the compatibility flag in the mxmlc compile line, with no change in behavior.  This project is built by the following script:
    ruby scripts/concat_properties.rb -o resources.properties ^
         src/main/flex/locale/fr_common/res_myname_fr_common.properties ^
         src/main/flex/locale/fr_common/scout/res_myname_scout_fr_common.properties ^
         src/main/flex/locale/fr_fr/res_myname_fr_fr.properties ^
         ../../scout/common/src/locale/fr_common/mypals/resources.properties
    mxmlc -locale=fr_FR -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    copy src\main\resources\bundles\mypals\fr_fr_resources.swf ^
         bin-debug\bundles\mypals
    What have I missed???

    You have two posts. I will try to answer each completely.  Second one first. You say I should change my build to include the framework resources.  I am afraid I am not sure which and what to do there.  We combine all our properties file into one large one, then use the following build line:
    mxmlc -locale=fr_FR,en_US -source-path=. ^
         -compatibility-version=3.0.0. ^
         -static-rsls=true ^
         -include-resource-bundles=resources ^
         -output src/main/resources/bundles/mypals/fr_fr_resources.swf
    I am assuming you are telling me to change the "-include-resource-bundles" line, but what to add?  The "sdks\4.0.0\frameworks\locale\en_US" holds 13 swf files.  I tried adding that entire folder (along with the fr_FR folder) to the project library path (in the project properties dialog), but that made no change.  I also tried reverting the library path tab back to "MX Only" instead of "MX + Spark", but again no change.
    ====================
    For your first message, I did a search for 'spark' in the entire project.  It only existed on 3 lines, each at the start of css files:
        @namespace s "library://ns.adobe.com/flex/spark";
    I had put those in based on reading needed changes to naming in CSS.  Since I was not actually using any spark ('s') components yet, I removed these lines.  The entire project now does not have the word 'spark' anywhere in it. No change in behavior (as I expected).
    I did a search for "s:" throughout the project.  That does exist in probably 100 places, but all are legitimate. Things like (xmlns:mx="http://www.adobe.com/2006/mxml") or variable names ("var matches:Object").  No reference to any s: object.  (While on the topic, why does FlashBuilder still not have a "whole word" box to limit searches??).
    Note that when I first reported this problem, the compiler was set to ONLY support fr_FR.  In fighting this, I changed it to "en_US,fr_FR" hoping that would tell the compiler to load whatever en_US items it was looking for.  We really do not want any English support in this version. (We do have another SWF created with only support for en_US, and another for en_UK, etc.  Each language is a separate node on our server, so there is no need to mix & match at runtime)
    The console shows a lot of swf loads that I do not understand...
    The console output shows (my comments after ==> indicator)
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 2,229,992 bytes after decompression
                 ==> our locale is set here, after the above load and before the next line
    Look for name file at: ./data/fr_fr/names.csv
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf - 21,200 bytes after decompression
    Loaded 2278 names.       ==> indicates successful load of data retrieved from server
    Loaded 154 bad words     ==> our second data set has been retrieved and loaded
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 58,777 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 322,606 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\bundles\mypals\fr_fr_resources.swf - 595,025 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
        ==> not sure what this next warning means.  I'm guessing I will later have to research it and return to 'secure' comm with server, but I'm ignoring for now
    Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The 'secure' attribute is only permitted in HTTPS and socket policy files.  See http://www.adobe.com/go/strict_policy_files for details.
    Resource bundle loaded for locale fr_fr  ==> at this point, we appear to have our French assets loaded successfully
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 202,168 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 1,303,976 bytes after decompression
    [Unload SWF] C:\ConnectedProducts\common-web\myname\bin-debug\myname.swf  ==> some runs see this, but others do not. I expect it is a timing issue of whether it is reached or not before the crash
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 794,898 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 194,635 bytes after decompression
    [SWF] C:\ConnectedProducts\common-web\myname\bin-debug\styles\mypals_style.swf - 261,589 bytes after decompression
    ==> everything looks fine up to here.  This is then when the third call to installCompiledResourceBundles occurs
    Error: Could not find compiled resource bundle 'components' for locale 'en_US'.
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()[E:\dev\4.0.0\frameworks \projects\framework\src\mx\resources\ResourceManagerImpl.as:340]
        at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()[E:\dev\4.0.0\framework s\projects\framework\src\mx\resources\ResourceManagerImpl.as:269]
        at mx.core::FlexModuleFactory/installCompiledResourceBundles()
        at mx.core::FlexModuleFactory/docFrameHandler()
        at mx.core::FlexModuleFactory/docFrameListener()

  • Error: Could not find compiled resource bundle 'sparkEffects' for locale 'en_US'

    I have a multi-module application that I am building in Flash Builder 4.5 Premium.
    When I launch the application It starts with a basic login page and looks ok. After logging in, modules and style sheets are loaded dynamically and  I get this exception stack trace.
    Error: Could not find compiled resource bundle 'sparkEffects' for locale 'en_US'.
              at mx.resources::ResourceManagerImpl/installCompiledResourceBundle()
              at mx.resources::ResourceManagerImpl/installCompiledResourceBundles()
              at mx.core::FlexModuleFactory/installCompiledResourceBundles()
              at mx.core::FlexModuleFactory/docFrameHandler()
              at mx.core::FlexModuleFactory/docFrameListener()
    Windows 7
    Flashbuilder 4.5 Premium
    Compiled with SDK 4.5.1
    Flex 3 Compatibility Mode: No
    Framework Linkage: RSL
    SWC Project Linkage: RSL
    Can anyone help me fix this?

    I have determined at least that it is the very first style sheet that I am loading into the application that is causing the exception as I modified to not load anything else.
    Style sheets are loadingusing this method. FlexGlobals.topLevelApplication.styleManager.loadStyleDeclarations

  • Error "file is not a resource file" after updating to LV2010

    Hello everybody,
    my problem is that I can't call a c++ dll after updating to LV2010 and Visual Studio 2010. The DLL is written in Visual Studio 2008 and worked perfectly. Now I compiled the dll again because add some new functionality. In the development pc I fixed that problem. I manually replace the call library function nodes and configured it again. I made a installer package from my lv project. This installation don't work with the dll on the target with same error "file is not a resource file". The rest of the application works fine.
    Development PC: Win 7 Enterprise 32Bit
    Target PC: Win XP Service Pack 3 32Bit

    Hi
    Verify that all your files have correct extensions and rebuild the.exe file.
    I hope this will help
    Kind regards,

  • Error message "Unable to lock resource channel ' BTS '"

    i have a solution which use Biztalk 2010 and Dynamic AX 2009. recently the Biztalk server always raise error:
    Error message "Unable to lock resource channel '<BTS>'".
    the Biztalk can not receive message from Dynamic AX and the message in queue of Dynamic AX also can not be sent out. what i know to do is that stop biztalk server and delete the lock data from Dynamic AX,then start biztalk server.
    what i want to know is why it happen? is it a Bug? how can i solve it?

    Hi,
    There is a hotfix available to fix this issue, which updates the AX BizTalk Adapter and Schema assemblies.
    If you are running Microsoft Dynamics AX 2009 RTM (Build v5.0.593.x), the fix is included in AX 2009 RTM Hotfix
    Rollup 4 Kernel.
    If you are running Microsoft Dynamics AX 2009 Service Pack 1 (Build v5.0.1000.52 or v5.0.1500.x), the fix is included in AX 2009 SP1 Hotfix
    Rollup 6 Kernel.
    NOTE: To
    check the version of the AX server version in use, find AX32SERV.EXE on your AOS servers, and chek the file properties.
    For detailed steps refer:
    https://social.msdn.microsoft.com/Forums/en-US/f4633ce4-7c77-402b-8b9c-6669ff392077/error-message-unable-to-lock-resource-channel-ax-channel-name?forum=biztalkr2adapters
    Rachit

  • " Server Error [2009]: Failed to allocate resources for results data" IR Error

    Hi,
    We recently moved form 9.3.3. to 11.1.2.3 and we run only IR and SQR reports. When we run few IR reports we get the below error.
    "Script(x):uncaught exception:  Server Error [2009]: Failed to allocate resources for results data."
    Any thought on what could be the cause. I changed the DSA setting, HTTP config settings for timeouts. I followed a oracle Knowledge base document to make sure I'm setting the right parameters still it doesn't work.
    Any advise will be appreciated.
    Thank you.

    Hi,
    Can you please try to increase the timeout settings for workspace and check the issue.
    You can refer following KM article for more information :
    Hyperion Interactive Reporting (IR) When Processing a BQY in Web Client and iHTML Error: "Server Error [2009] Failed To Allocate Resources To Results Data" [ID 1089121.1]
    To try in 11.1.2.x check these settings in workspace :
    Please go to Navigate -> Administer -> Reporting and Analysis -> Web Applications -> Right click on RA_FRAMEWORK_LWA and select Properties. A
    Window pops up. In that, go to Applications tab and then go to Data Access Servlet. There are two values there
    i) Hyperion Intelligence Client Polling Time(seconds) => Set this to zero
    ii) DAS Response Timeout => Set this to 3600
    Restart the R&A services and WebApp after this change.
    Hope this information helps.
    regards,
    Harish.

  • Error 10 Could not locate resource

    I tried to auto download the JRE using the JREInstaller and the DownloadServlet (sample in jdk 1.5) from a local server. I got the error 10 Could not locate resource.
    <j2se version="1.5.0*"  href="http://127.0.0.1:8080/Web-Test2/install/javaws-1_0_1-j2re-1_5_0-windows-i586.jnlp"/>If I only take <j2se version="1.5.0*"  href="http://127.0.0.1:8080/Web-Test2/install"/>, I will get an error: "Missing version field in response from server when accessing resource"
    Any idea?

    The request made by java web start to download the jre is a using the extension protocol (version protocol) see the jnlp spec at:
    http://jcp.org/aboutJava/communityprocess/mrel/jsr056/index.html
    basically what this means is that you need to be running a servlet or jsp page on the target that implements the version protocol. see:
    http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/downloadservletguide.html
    I don''t know what you have at the target address of the jre:
    javaws-1_0_1-j2re-1_5_0-windows-i586.jnlp
    but you need servlet running at http://127.0.0.1:8080/Web-Test2/install to implement the version protocol.
    /Andy

  • Error : Severity and Description Path Resource Location Creation Time     Id

    i have this error :
    Severity and Description Path Resource Location Creation Time Id
    invalid character or markup found in script block. Try surrounding your code with a CDATA block. essai/src essai.mxml Unknown 1236103965593 182
    my source is attach code
    Many thanks for your help , 
    Lionceau,

    look my source :
    <![CDATA[
    import mx.controls.Alert;
    import com.adobe.rtc.events.SessionEvent; //utilisé
    pour les trois blocs
    import com.adobe.rtc.messaging.UserRoles; //utilisé
    pour les trois blocs
    import com.adobe.rtc.collaboration.AudioPublisher; //
    AudioPublisher me sert pour la gestion du microphone
    import com.adobe.rtc.collaboration.AudioSubscriber; // me
    sert pour choisr l' aboné écouté
    //import com.adobe.rtc.collaboration; // me sert pour la
    gestion du microphone
    //import com.adobe.rtc.clientManagers;// me sert pour la
    gestion du microphone
    import com.adobe.rtc.events.StreamEvent;// pour le son
    (audio xml)
    import mx.events.ItemClickEvent; //pour le son ( audio xml)
    import mx.controls.Label;
    import mx.core.UIComponent; // me sert pour la gestion du
    microphone
    import flash.events.EventDispatcher;// me sert pour la
    gestion du microphone
    // import com.adobe.rtc.components:ResizableCanvas; amettre?
    //debut bloc share
    import
    com.adobe.rtc.sharedManagers.descriptors.FileDescriptor;
    import mx.utils.UIDUtil;
    import mx.collections.ArrayCollection;
    import com.adobe.rtc.collaboration.FileSubscriber;
    import com.adobe.rtc.sharedManagers.UserManager;
    import com.adobe.rtc.messaging.NodeConfiguration;
    import com.adobe.rtc.events.CollectionNodeEvent;
    import com.adobe.rtc.collaboration.FilePublisher;
    import com.adobe.rtc.sharedManagers.FileManager;
    [Bindable]
    private var applicationTitle:String = "File Publisher
    Example";
    // list of managers
    private var _fileManager:FileManager;
    private var _filePublisher:FilePublisher;
    private var _fileSubscriber:FileSubscriber;
    private var _userManager:UserManager;
    // our datagrid dataprovider will use this collection
    [Bindable]
    private var _fileDescriptors:ArrayCollection = new
    ArrayCollection();
    // file sharing group id, it is similiar to that of folder
    concept
    private var _groupid:String = "_filePublisherExample";
    //fin bloc share
    //debut bloc camera
    import com.adobe.rtc.events.UserEvent;
    import com.adobe.rtc.events.SharedPropertyEvent;
    import com.adobe.rtc.events.ConnectSessionEvent;
    import mx.controls.Button;
    import com.adobe.coreUI.controls.CameraUserBar;
    import mx.core.UITextField;
    import com.adobe.rtc.events.SharedPropertyEvent;
    import com.adobe.rtc.sharedModel.SharedProperty;
    import com.adobe.rtc.collaboration.WebcamSubscriber;
    import mx.containers.VBox;
    import com.adobe.rtc.events.UserEvent;
    import com.adobe.rtc.sharedManagers.StreamManager ;
    import
    com.adobe.rtc.sharedManagers.descriptors.StreamDescriptor ;
    private var currentSubscriber:WebcamSubscriber ;
    private var sharedProperty:SharedProperty ;
    * This example shows how the camera component can be used
    with a publisher and a
    * number of subscribers. The publisher has a big view while
    subscribers have a small view.
    * A shared property is used to pass the stream to the
    publisher's user interface.
    * Every user is provided with play and pause handlers.
    private function onCreationComplete():void
    sessionManager.roomManager.autoPromote = true ;
    sessionManager.roomManager.guestsHaveToKnock = false ;
    sharedProperty = new SharedProperty();
    sharedProperty.isSessionDependent = true ;
    sharedProperty.sharedID = "webcamShare2" ;
    sharedProperty.connectSession = sessionManager ;
    sharedProperty.subscribe();
    sharedProperty.addEventListener(SharedPropertyEvent.CHANGE,onChange);
    sessionManager.userManager.addEventListener(UserEvent.USER_REMOVE,onUserRemove)
    * @private
    protected function onUserRemove(p_event:UserEvent):void
    if ( sharedProperty.value &&
    p_event.userDescriptor.userID == sharedProperty.value[0]) {
    sharedProperty.value = [] ;
    * When the main big stream changes, all users can view it
    via the sharedProperty.
    private function onChange(p_evt:SharedPropertyEvent):void
    if ( currentSubscriber != null ) {
    clickedContainer.removeChild(currentSubscriber);
    currentSubscriber.close();
    currentSubscriber = null ;
    if ( sharedProperty.value == null ||
    sharedProperty.value.length == 0 ) {
    return ;
    currentSubscriber = new WebcamSubscriber();
    currentSubscriber.connectSession = sessionManager ;
    currentSubscriber.subscribe();
    currentSubscriber.webcamPublisher = webCamPub ;
    currentSubscriber.publisherIDs = sharedProperty.value ;
    currentSubscriber.addEventListener(UserEvent.USER_BOOTED,onCleared);
    currentSubscriber.addEventListener(UserEvent.STREAM_CHANGE,onCameraPause);
    clickedContainer.addChild(currentSubscriber);
    invalidateDisplayList();
    * If the big image is stopped, clear it.
    private function onCleared(p_evt:UserEvent):void
    if ( sessionManager.userManager.myUserRole ==
    UserRoles.OWNER ) {
    sharedProperty.value = [] ;
    * Clicking on the small image below makes it large.
    private function onClick(p_evt:MouseEvent):void
    if ( (p_evt.currentTarget is WebcamSubscriber) &&
    !(p_evt.target.parent is CameraUserBar)) {
    sharedProperty.value = (p_evt.currentTarget as
    WebcamSubscriber).publisherIDs;
    * Handler for a user pausing the camera.
    protected function onCameraPause(p_evt:UserEvent):void
    var userStreams:Array =
    sessionManager.streamManager.getStreamsForPublisher(p_evt.userDescriptor.userID,StreamMan ager.CAMERA_STREAM);
    if (userStreams.length == 0) {
    trace("onCameraPause: no userStreams");
    return;
    for (var i:int = 0; i< userStreams.length ; i++ ) {
    if (userStreams
    .type == StreamManager.CAMERA_STREAM ) {
    break;
    var streamDescriptor:StreamDescriptor = userStreams;
    if ( streamDescriptor.streamPublisherID ==
    sessionManager.userManager.myUserID ) {
    sessionManager.streamManager.pauseStream(StreamManager.CAMERA_STREAM,!streamDescriptor.pa use,streamDescriptor.streamPublisherID);
    * Handler for a user stopping the camera.
    private function onBooted(p_evt:UserEvent):void
    if ( (p_evt.currentTarget is WebcamSubscriber) &&
    (p_evt.userDescriptor.userID == sessionManager.userManager.myUserID
    || sessionManager.userManager.myUserRole == UserRoles.OWNER)) {
    webCamPub.stop();
    if ( (p_evt.currentTarget.parent as VBox).getChildAt(1) is
    Button ){
    ((p_evt.currentTarget.parent as VBox).getChildAt(1) as
    Button).label = "Start" ;
    if ( sharedProperty.value && (sharedProperty.value
    as Array)[0] == p_evt.userDescriptor.userID ) {
    sharedProperty.value = [] ;
    ]]>
    </mx:Script>

  • EclipseLink Error looking up external Transaction resource under JNDI name

    I want to verify my EJB 3.0 setup for a Java EE project to be deployed on Weblogic 10.3.3 (11gR2) - however when trying to run the JUnit test from eclipse I keep getting the following exception :
    Exception [EclipseLink-23004] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.TransactionException
    Exception Description: Error obtaining the Transaction Manager
    Internal Exception: Exception [EclipseLink-23001] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.TransactionException
    Exception Description: Error looking up external Transaction resource under JNDI name [weblogic.transaction.TransactionManager]
    Internal Exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at org.eclipse.persistence.exceptions.TransactionException.errorObtainingTransactionManager(TransactionException.java:125)
         at org.eclipse.persistence.transaction.JTATransactionController.<init>(JTATransactionController.java:69)
         at org.eclipse.persistence.transaction.wls.WebLogicTransactionController.<init>(WebLogicTransactionController.java:27)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at java.lang.Class.newInstance0(Class.java:355)
         at java.lang.Class.newInstance(Class.java:308)
         at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.newInstanceFromClass(PrivilegedAccessHelper.java:354)
         at org.eclipse.persistence.platform.server.ServerPlatformBase.initializeExternalTransactionController(ServerPlatformBase.java:247)
         at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.preConnectDatasource(DatabaseSessionImpl.java:656)
         at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.loginAndDetectDatasource(DatabaseSessionImpl.java:581)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryProvider.login(EntityManagerFactoryProvider.java:228)
         at org.eclipse.persistence.internal.jpa.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:369)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:151)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:207)
         at org.eclipse.persistence.internal.jpa.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:195)
         at com.junit.ejb.orclperf.EjbValidation.setUp(EjbValidation.java:27)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
         at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
         at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
         at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
         at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
         at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
         at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
         at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
         at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
         at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
         at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:46)
         at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:467)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:683)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:390)
         at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:197)
    Caused by: Exception [EclipseLink-23001] (Eclipse Persistence Services - 2.0.2.v20100323-r6872): org.eclipse.persistence.exceptions.TransactionException
    Exception Description: Error looking up external Transaction resource under JNDI name [weblogic.transaction.TransactionManager]
    Internal Exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at org.eclipse.persistence.exceptions.TransactionException.jndiLookupException(TransactionException.java:47)
         at org.eclipse.persistence.transaction.AbstractTransactionController.jndiLookup(AbstractTransactionController.java:434)
         at org.eclipse.persistence.transaction.wls.WebLogicTransactionController.acquireTransactionManager(WebLogicTransactionController.java:35)
         at org.eclipse.persistence.transaction.JTATransactionController.<init>(JTATransactionController.java:67)
         ... 40 more
    Caused by: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file:  java.naming.factory.initial
         at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:645)
         at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:288)
         at javax.naming.InitialContext.getURLOrDefaultInitCtx(InitialContext.java:325)
         at javax.naming.InitialContext.lookup(InitialContext.java:392)
         at org.eclipse.persistence.transaction.AbstractTransactionController.jndiLookup(AbstractTransactionController.java:432)
         ... 42 more
    [EL Finest]: 2010-05-23 21:29:36.629--ServerSession(30149247)--Thread(Thread[main,5,main])--End deploying Persistence Unit PERFEJB; session file:/C:/Users/owner/workspace/PERFEJB/build/classes/_PERFEJB; state Deployed; factoryCount 2The code for the JUnit test is the following:
    package com.junit.ejb.orclperf;
    import static org.junit.Assert.*;
    import java.util.Calendar;
    import java.util.Date;
    import javax.persistence.EntityManager;
    import javax.persistence.EntityManagerFactory;
    import javax.persistence.Persistence;
    import javax.persistence.Query;
    import org.junit.Before;
    import org.junit.Test;
    import eJBgetSet.Attachment;
    import eJBgetSet.Request;
    public class EjbValidation {
         private static final String PERSISTENCE_UNIT_NAME="PERFEJB";
         private EntityManagerFactory factory;
         @Before
         public void setUp() throws Exception {
              factory = Persistence.createEntityManagerFactory(PERSISTENCE_UNIT_NAME);
              EntityManager em = factory.createEntityManager();
              em.getTransaction().begin();
              Query q = em.createQuery("select r from Request r");
              Calendar c = Calendar.getInstance();
              c.add(Calendar.DAY_OF_MONTH,5);
              Date dnow = c.getTime();
              String[] type= {"Databank","SQL File","Script","Scenario Recording","Other"};
              byte[] junitattachment  = (byte[])"abcdefghijklmnopqrstuvwxyz".getBytes();
              boolean createNewEntries = (q.getResultList().size()==0);
              if(createNewEntries){
                   assertTrue(q.getResultList().size() == 0);
                   Request request = new Request();
                   request.setRequestid(0);
                   request.setReqdescription("JUnit Testing record addition with JPA");
                   request.setReqjustification("Validate EclipseLink/WebLogic/EJB 3.0 setup for this project");
                   request.setProjectreference("Development Task Performance Analysis 1");
                   request.setReqresultdate(dnow);
                   request.setReqstatus(0);
                   em.persist(request);
                   int x=0;
                   for(int i=0; i<10;i++){
                        Attachment attachment = new Attachment();
                        attachment.setAttachmentid(i);
                        attachment.setAttachname("File"+i);
                        attachment.setAttachdate(c.getTime());
                        if(i==5){
                             x=0;
                        }else{
                             x++;
                        attachment.setAttachtype(type[x]);
                        attachment.setAttachuser("User"+i);
                        attachment.setAttachsize(String.valueOf(junitattachment.length));
                        attachment.setAttachfile(junitattachment);
                        em.persist(attachment);
                        request.getPerfAttachments().add(attachment);
                        em.persist(attachment);
                        em.persist(request);
                   em.getTransaction().commit();
                   em.close();
         @Test
         public void testFindAll() {
              EntityManager em = factory.createEntityManager();
              Query q = em.createQuery("select a from perf_attachment a");
              assertTrue(q.getResultList().size() == 10);
              em.close();
         @Test
         public void testSave() {
              EntityManager em = factory.createEntityManager();
              Query q = em.createQuery("select r from req_perf_header");
              assertTrue(q.getResultList().size() == 1);
              assertTrue(((Request) q.getResultList()).getPerfAttachments().size() ==10);
              em.close();
    }Finally the persistence.xml file being used is the following:
    <?xml version="1.0" encoding="UTF-8"?>
    <persistence version="1.0"
         xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
         <persistence-unit name="PERFEJB" transaction-type="JTA">
              <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider>
              <jta-data-source>jdbc/ORCLPERF</jta-data-source>
              <class>eJBgetSet.User</class>
              <class>eJBgetSet.Transaction</class>
              <class>eJBgetSet.Request</class>
              <class>eJBgetSet.PerfStatus</class>
              <class>eJBgetSet.Attachment</class>
              <class>eJBgetSet.Approver</class>
              <properties>
                   <property name="eclipselink.target-server" value="WebLogic_10" />
                   <property name="eclipselink.logging.level" value="FINEST" />
                   <property name="eclipselink.jdbc.driver" value="oracle.jdbc.OracleDriver" />
                   <property name="eclipselink.jdbc.platform"
                        value=" org.eclipse.persistence.platform.database.oracle.OraclePlatform " />
                   <property name="eclipselink.jdbc.url"
                        value="jdbc:oracle:thin:@localhost:1521:orcl11g:create=true" />
                   <property name="eclipselink.jdbc.user" value="<username>" />
                   <property name="eclipselink.jdbc.password" value="<password>" />
                   <property name="eclipselink.logging.level" value="ALL" />
                   <property name="eclipselink.logging.timestamp" value="true" />
                   <property name="eclipselink.logging.exceptions" value="true" />
                   <property name="eclipselink.logging.session" value="true" />
                   <property name="eclipselink.ddl-generation" value="drop-and-create-tables" />
                   <property name="eclipselink.ddl-generation.output-mode"
                        value="database" />
              </properties>
         </persistence-unit>
    </persistence>Any help would be much appreciated. Many Thanks

    You have it set to run on the WebLogic platform so it is looking up the TransactionManager from JNDI, but are running the test from within the EclipseIDE. Try deploying it to Weblogic and running it there, or change your persistence.xml settings so that it can connect/run outside the server.
    Best Regards,
    Chris

Maybe you are looking for