Unable to locate connection factory

env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://164.179.168.157:389");
jndiContext = new InitialContext(env);
queueConnectionFactory = (QueueConnectionFactory)
               //jndiContext.
               jndiContext.lookup("jms/QueueConnectionFactory");I've set up a domain controller and a sun app server on machine A. I created a queue using the java tutorial and using the admin console. My connectionFactory (queue) is named jms/QueueConnectionFactory
Now I'm running my prog on Machine B. But the lookup failed.
JNDI API lookup failed: javax.naming.InvalidNameException: jms: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001AA, problem 2006 (BAD_NAME), data 8350, best match of:
     'jms'                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Here's what I did in detail...
I've set up a win2k domain controller radwebdc.tfcorp.org on server RAD_WEB (164.169.168.157). On my local host montanoj01, I run SimpleQueueSender java program with this initial context entry.
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.ldap.LdapCtxFactory");
env.put(Context.PROVIDER_URL, "ldap://164.179.168.157:389");
env.put(Context.SECURITY_PRINCIPAL, "jan montano");
env.put(Context.SECURITY_CREDENTIALS, "password");I've managed to get pass through jndiContext = new InitialContext(env); with no errors. Meaning I've established a connection with my ldap server right?
//jndiContext.lookup("QueueConnectionFactory");
//jndiContext.lookup("jms/QueueConnectionFactory");
//jndiContext.lookup("jms");* neither of these 3 works
When I'm looking for the connectionfactory I get an error
javax.naming.InvalidNameException: QueueConnectionFactory: [LDAP: error code 34 - 0000208F: NameErr: DSID-031001AA, problem 2006 (BAD_NAME), data 8350, best match of:
'QueueConnectionFactory'
I know I created a connection factory on rad_web using the sun application server admin console. and my connection factory's name is jms/QueueConnectionFactory. I can also see this using asadmin list-connector-resources.
I researched error code 34 and it says :
LDAP_INVALID_DN_SYNTAX: Indicates that the syntax of the DN is incorrect. (If the DN syntax is correct, but the LDAP server's structure rules do not permit the operation, the server returns LDAP_UNWILLING_TO_PERFORM.)source: http://www.directory-info.com/LDAP/LDAPErrorCodes.html
What am I doing wrong? Please I need your help. Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • Unable to set up connection factory for stand-alone resource adapter

    I'm testing out JCA 1.5 in OC4J P4, and I try to register a resource apapter by configuring oc4j-ra.xml like this:
    <connector-factory location="MySomething" connector-name="Something">
    However, I get the following error:
    05/09/28 17:14:24 Notification ==> Warning. Unable to set up connection factory
    to location MySomething for a resource adapter deployed as stand-alone.
    Is this a bug, or just me?
    Would appreciate it if someone knew what was wrong.
    Regards
    -am

    Looks like you need to tell us more...
    How is your adapter packaged?
    Which files are included (deployment descriptors, etc)?
    --olaf                                                                                                                                                                                                                                                                                   

  • ATV2 Connected with HDMI for video and fiber optics for Sound but unable to located the fiber optics option in ATV2

    hello everyone, I currently have my ATV2 connected from HDMI to my TV for Audio&Video but I want to run just my HDMI for Video and my Fiber optics cable for my Sound.  I am unable to locate in the settings where I can change my sound to Fiber optics output.
    Thank you
    Steve

    ok so I figured it out.. I just needed to go into my surround sound and select optical out. 

  • HT204409 I am trying to log onto my wireless connection but it keeps telling me I'm unable to locate any wireless network.  I know there are several networks nearby. Is this a problem with my phone or my router?

    I am trying to log onto my wireless connection but it keeps telling me I'm unable to locate any wireless network.  I know there are several networks nearby. Is this a problem with my phone or my router?

    I found a solution that has worked on both iPhone 4's I have that have had the same issues, and also including not being able to download updates in the App store.
    Go to Settings > WiFi and turn it OFF.
    Next go to General > Cellular > Cellular Data and turn it OFF
    Next go back to Settings > WiFi and turn it ON, (wait a few seconds for it to sync with your network)
    Finally go back to General > Cellular > Cellular Data and turn it ON.
    I had the same issues on both my wife's phone, and my own, and it fixed it immediately without changing any proxy settings or reboots, (which I did try on my phone and did not work, but did not try on my wife's phone)
    Hope this helps!

  • Unable to locate server even though wireless is connected.

    Greetings All
    I've been having an odd issue with my wrt54G.   My wife and I have 2 laptops wirelessly connected to the router (win xp media certer ver and win xp home ver).
    In addition we have 3 win 98 boxes and 1 notebook using xp tablet edition all of which use ethernet. 
    Periodically both of our notebooks that are wirelessly connected will periodically give an "unable to locate server" message when when using IE6.  I tried Firefox also to attempt to narrow it down and the same problem is present.  Oddly though both notebooks still have our wireless signal connected.  I have proxy and both firewalls (xp and symantec) off on these 2 notebooks.  They connect using wpa-tkip with mac filtration off ssid broadcast off.   Usually we can cold boot our laptops and get reconnected again although sometimes it will happen again almost immediately.  I can't remember if we are able to browse network drives (using our wireless notebooks) when this happens.  None of our ethernet connected pc's have this problem when this is going on.
    I have rebooted the cable modem and the wrt54g and this doesn't seem to matter. 
    My firmware version is v3.03.6, Jan. 6, 2005v3.03.6.
    Thanks in advance for any help you may be able to offer.

    Okay the problem has resurfaced. When this is happening (no web access, no nntp access) I am still able to ping websites that I am unable to open in IE or Mozilla. Also I am still able to listen on streaming audio during these times of no web access. I am also unable to connect to my router's config page while this is happening.
    While web access is being denied I am still able to connect to other pc's on my home network.
    I'm beginning to think that there must be some kind of http, https and NNTP traffic during certain times but I cannot find anything obvious in my router's setting via the web tool.
    This baffles me. I am inclined to to think it's something other than just http and nntp traffic that's being stopped. The reason I say this is because I have had to reboot again following and initial reboot that restored web access and then denied it again in just a matter minutes.
    Maybe my router is croaking out?
    Thanks

  • Unable to locate a suitable JDBC driver to establish a connection to URL

    Hi experts,
    I have developed an interface IDOC to JDBC (MS ACCESS) but when try to deliver the message in the MS ACCESS I get this error in the communication channel:
         Error during database connection to the database URL 'jdbc:odbc:Driver={Microsoft Access Driver (.mdb)};DBQ=//10.YY.YY.10/XXXX/XXXXX/pdddd.mdb' using the JDBC driver 'sun.jdbc.odbc.JdbcOdbcDriver': 'com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL 'jdbc:odbc:Driver={Microsoft Access Driver (.mdb)};DBQ=//10.YY.YY.10/XXXX/XXXX/pdddd.mdb''.
    The parameters of the Communication channel are:
    Driver: sun.jdbc.odbc.JdbcOdbcDriver
    Conection: jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=//10.YY.YY.10/XXXX/XXXX/pdddd.mdb
    In my local (windows) I have developed a litlle java code to check the connection with the ms access, I was fine. I'm in the same network that PI.
    I don't know if the JdbcOdbcDriver is compatible with UNIX or I would need a diferent driver to connect. What driver connect PI and MS Access?
    Any idea?
    Thanks in advance.
    Jose

    Hi
    Please go through the below forum
    Re: File - XI - MS Access JDBC Adpater
    Thanks
    Ramg

  • Unable to create Queue Connection factory

    Hello All,
    I am configuring JMS listner with my enterprise appliaction using Sun application Server 8.2 PE.
    Let me tell you my setup first: I have created a connection factory *'TCSQCF'* on appliaction server (sun app ser 8.2) which is directing to Sun MQ 4.1 broker listning on port 7677 using this address list 'mq://10.44.5.14:7677/'
    My JNDI configurations through which I can acess and post a mess on queues using my simple application employing following setup. (My simple app contains appserv-admin.jar, appserv-rt.jar, imqjmsra.jar and j2ee.jar files ONLY in lib directory)
    props.setProperty(Context.INITIAL_CONTEXT_FACTORY,"com.sun.appserv.naming.S1ASCtxFactory");
    props.setProperty(Context.PROVIDER_URL,"iiop://10.44.5.14:3700");
    String jmsConnectionFactoryName = "TCSQCF";
    Object obj = jmsContext.lookup(jmsConnectionFactoryName);
    Now when i copy all these four jar files into my enterprise application *'ext'* directory and uses the same setup as shown above I am having the following error??:(
    2008-12-03 16:11:57,104 [JMSListener-Thread-12] DEBUG jmslistener - JMSListener.run(), Listener thread started
    2008-12-03 16:11:57,119 [JMSListener-Thread-12] INFO jmslistener - **** JMSListener version 1.1.1 ****
    2008-12-03 16:11:57,119 [JMSListener-Thread-12] DEBUG jmslistener - Input Queue : INQ
    2008-12-03 16:11:57,119 [JMSListener-Thread-12] DEBUG jmslistener - Output Queue : OUTQ
    2008-12-03 16:11:57,119 [JMSListener-Thread-12] DEBUG jmslistener - Dead Letter Queue :
    2008-12-03 16:11:57,119 [JMSListener-Thread-12] DEBUG jmslistener - Use transactional queues : false
    2008-12-03 16:11:57,120 [JMSListener-Thread-12] DEBUG jmslistener - Number of threads : 5
    2008-12-03 16:11:57,120 [JMSListener-Thread-12] DEBUG jmslistener - JNDI Factory Name : TCSQCF
    2008-12-03 16:11:57,120 [JMSListener-Thread-12] DEBUG jmslistener - JNDI Initial Factory : com.sun.appserv.naming.S1ASCtxFactory
    2008-12-03 16:11:57,132 [JMSListener-Thread-12] DEBUG jmslistener - JNDI Provider URL : iiop://10.44.5.14:3700
    2008-12-03 16:11:57,133 [JMSListener-Thread-12] DEBUG jmslistener - JNDI Security Principal :
    2008-12-03 16:11:57,133 [JMSListener-Thread-12] DEBUG jmslistener - JNDI Security Credentials :
    2008-12-03 16:11:57,133 [JMSListener-Thread-12] DEBUG jmslistener - ****
    2008-12-03 16:12:01,878 [JMSListener-Thread-12] ERROR commonjms - jndiLookup : JNDI lookup failed for:TCSQCF:
    javax.naming.CommunicationException: serial context communication ex [Root exception is com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI]
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:317)
    at javax.naming.InitialContext.lookup(InitialContext.java:351)
    at com.temenos.tocf.commonjms.JMSUtil.jndiLookup(Unknown Source)
    at com.temenos.tocf.commonjms.JMSUtil.getQueueConnectionFactory(Unknown Source)
    at com.temenos.plugin.jmslistener.JMSListener.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:595)
    Caused by: com.sun.enterprise.connectors.ConnectorRuntimeException: Failed to look up ConnectorDescriptor from JNDI
    at com.sun.enterprise.naming.factory.ConnectorObjectFactory.getObjectInstance(ConnectorObjectFactory.java:68)
    at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
    at com.sun.enterprise.naming.SerialContext.lookup(SerialContext.java:293)
    ... 5 more
    2008-12-03 16:12:01,881 [JMSListener-Thread-12] ERROR jmslistener - run : Unable to create a queue connection factory... Stopping
    Please Note that my enterprise 'ext' directory contains 20-30 other jar files and I researched on it that MIGHT BE one of the existing 'jar' file are conflicting with the new 4 jar files i have mentioned. I am unable to find out whats wrong and I do not have nay idea which one is causing this issue and how to resolve it.???
    Please reply if you have information regarding this issue and if you need anyother information please let me know.
    Thanks.

    Finally I found the problem which takes me over a week to understand and its SILLY. I am posting here for all of us to never forget this atleast :-)
    anyway the above problem as i mentioned earlier is that my newly added JAR files and existing were conflicting somehow.
    I just had to add a class path of all of my new four JAR files to force my application to use these jar only not any other
    which was missing and my application fails but test application works using ECLIPSE as i did not had anyother files in its 'lib' directory. I edit my script code from BEFORE to After and it all worked. (SILLY SILLY SILLY)
    Before _
    java -jar ../lib/MyApplication.jar $*
    After_
    java -cp ../ext/appserv-admin.jar:../ext/appserv-rt.jar:../ext/imqjmsra.jar:../ext/j2ee.jar:../lib/MyApplication.jar $*Hope this helps for people like me :-(
    Thanks for your help. Best of luck
    Regards

  • I have a problem with my iPad 1 st. the problem is that I unable to locate even when connected to a WiFi network and the location is activated and restore and same thing happens .. may be I need help!  Thank you ...!

    I have a problem with my iPad 1 st. the problem is that I unable to locate even when connected to a WiFi network and the location is activated and restore and same thing happens .. may be I need help!
    Thank you ...!

    Hi there beni_m,
    You may find the troubleshooting steps in the articles below helpful.
    iOS: Not responding or does not turn on
    http://support.apple.com/kb/ts3281
    iOS: Device not recognized in iTunes for Mac OS X
    http://support.apple.com/kb/ts1591
    iOS: Device not recognized in iTunes for Windows
    http://support.apple.com/kb/ts1538
    -Griff W. 

  • I cant accese iitunes store? "unable to locate requested page please check your connection"

    ok, today i installed itunes, i live in india....so after i insalled i dint open it!
    i just reboot  my laptop (windows 7, home basic)
    k then as i on my lapton and itunes i imported all music..
    when i click the itunes stores it dosent opens.
    i just wait... but after tat it shows  "unable to locate requested page please check your connection"
    dah!... why? please answer me!

    Close your iTunes,
    Go to command Prompt -
    (Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
    (Win XP SP2 &amp; above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
    In the "Command Prompt" screen, type in
    netsh winsock reset
    Hit "ENTER" key
    Restart your computer.
    If you do get a prompt after restart windows to remap LSP, just click NO.
    Now launch your iTunes and see if it is working now.
    If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
    iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
    http://support.apple.com/kb/TS4123?viewlocale=en_US

  • A stale Connection Factory or Connection Handle may be used in SOA 11g

    Hi all,
    I am working on a outbound process from oracle apps to BPEL. I am using SOA 11.1.1.3 version. I have created connection pool in admin server.
    But BPEL does not pick the messages from ecx_outqueue present in apps.
    Also when i update the Aqadapter in the admin server i get the following message
    Selected Deployments were updated.
    You must also activate the pending changes to commit this, and other updates, to the active system.
    The soa diagonostic log is provided below
    [2011-02-14T02:29:21.248-07:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 004b3eilKBAE4UVQu2q2TH0006H0000Fay,1:30378] [APP: soa-infra] [dcid: 49c8ed318246db94:41013faa:12d7ab8287f:-7fff-0000000000002a49] [URI: /em/faces/ai/soa/composite] JCABinding=> Invoice_OracleApps *Error while performing endpoint Activation: javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQ/ExtEBizConn_Factory from JNDI and get a new Connection Handle.*
    [2011-02-14T02:29:21.248-07:00] [soa_server1] [ERROR] [] [oracle.soa.adapter] [tid: [ACTIVE].ExecuteThread: '1' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 004b3eilKBAE4UVQu2q2TH0006H0000Fay,1:30378] [APP: soa-infra] [dcid: 49c8ed318246db94:41013faa:12d7ab8287f:-7fff-0000000000002a49] [URI: /em/faces/ai/soa/composite] JCABinding=> Invoice_OracleApps [[
    javax.resource.spi.IllegalStateException: [Connector:199176]Unable to execute allocateConnection(...) on ConnectionManager. A stale Connection Factory or Connection Handle may be used. The connection pool associated with it has already been destroyed. Try to re-lookup Connection Factory eis/AQ/ExtEBizConn_Factory from JNDI and get a new Connection Handle.
    Can anyone provide some inputs on this?

    Hi Anuj,
    I have followed the following steps mentioned in the metalink ID 1235943.1 but still it is throwing the same error.
    1.Log on to your Admin console and navigate to Domain -> Deployments -> <adapter name> -> Configuration Tab -> Outbound Connection Pools Tab -> Under Groups and Instances expand the javax.resource.cci.ConnectionFactory
    2.Locate and select the adapter JNDI and click on the Connection Pool Tab.
    3.Please check to see if Shrinking is enabled. If not, please enable it.
    4.Please check the value for Shrink Frequency Seconds. The default for some connection pools is as high as 900 seconds. Please reset this to 120 seconds or less.
    5.Activate your changes.
    6.If this does not improve the situation, please also try increasing the max size of your connection pool.
    Please advice if any other solution is there.
    Thanks,
    Dhiraj Mishra

  • My iPod touch is unable to locate any WiFi networks

    I Have followed all instructions, reset the iPod both using the buttons and via itunes, but the iPod seems unable to locate any active networks... Ay clues as to what I can try next?

    Does the iPod connect or even see other networks?
    Do other devices now connect?
    Did the iPod connect before?
    Try:                  
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on the router
    - Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    - Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    Maybe this:
    See:
    iOS: Wi-Fi or Bluetooth settings grayed out or dim
    If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
    Apple Retail Store - Genius Bar

  • Unable to locate timecode in batch capture

    Hi there, I have been working on this problem for a while and would really appreciate some help.
    I have a documentary project I have been working on for some time and have completed the EDL. I am now trying to batch capture the footage again in full res and am having problems with a couple of the tapes.
    First the specs:
    The video was shot on a Sony HDR-HC1 in HDV(1080) mode.
    I am using this camera to capture the footage.
    I am trying to recapture the footage in a sequence with the easy setting on HDV1080i50.
    I had originally captured the footage in SD on an older version of final cut pro (I am now working with FCP6) and didn't realise that my 16:9 footage was actually all 4:3 letterboxed. To fix this problem I used the media manager to export and then in the new project batch capture all the footage again from the tape. The project uses 18 tapes, 16 of which were batch digitised with only minor troubleshooting required. However 2 of the tapes are proving to be very problematic. It seems that whatever clip I select on the tape it gives me a message saying "unable to locate timecode".
    I have tried setting the tape to the exact location of the clip before selecting the batch capture, but the computer always seems to look for a spot which is 2-3 mins out of sync with the clip. For example, if the in point is 00:10:00:00 the computer will roll the tape to around the 00:12:00:00 mark and start jogging around there for about 30 seconds until eventually giving me the "unable to locate timecode" message. Looking in the information in the bins, the in and out points are accurate, its just that when I try to capture, the computer rolls the tape to the wrong position.
    If anyone knows a workaround for this that will help me avoid having to edit the footage all over again I will be extremely grateful.
    Thanks
    Liam

    HI I have the same problem, the capture window says: Waiting for time code, the device must set in vcr mode and then This operation could not be complete as there is no video, the F!#!%$$ problem is very illogical ,at this mooring I do batch capture without a problem but since the second tape this problem starting, I update to FCP 6.0.4 and,. @@#%#@%#$ the first tape capture but the second not capture and the problem starting againd, note that IMOVIE capture the tape and work very well, iI replace fire wire, camera VCR and , I trayu with Canon, Sony, JVC and the problem persist , I have quicktime 7.4.5, FCO 6.0.4, note that I have two Macs with the same problem in both macs IMOVIE work like a PRO edition Software but FCP is very bad, I have with this problem a long time, I formated Mac, reinstall FCS2 many timers and the problem persist. IS not a problem whit easy setup or wherever , I download the FireWire SDK from Apple and test all connection with the applications of sdk and in all case , the camera and the fire wire are OK, the problem is with quicktime and FCP, If any one is working OK with FCP and DV NTSC devices and JVC PRO HD devices, please tell us HOW DO. I'm working with FCP since 2000 and in this month FCP makes me very UNHAPPY.

  • I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.  I've been unable to locate an app that will do this.

    I want to make a slideshow to view on my television with image's duration ranging from seconds to an hour or more and I want to use my iPhone or iPad mini to control the television through my Apple tv.
    I've been unable to locate an app that will do this.  The Photos app that comes with the phone or iPad has extremely limited duration controls.  PhotoStream seems to load everything from my phone or iPad not allowing me to just load up a set group of images.
    iPhoto for iPad is getting some terrible recent reviews.  I tried a couple other free apps but they don't use Airplay.
    I can do something like this with iPhoto and my MB Air, but it's kind of ugly to have the computer open in order to connect by Airplay to my Apple TV.  I've thought the iPad or iPhone would be a lower profile controller.
    Am I out of luck?

    Thanks for your help.  Since I'm uninterested in loading all my photos (the only option) into photostream, I won't be able to use the settings in ATV.  I guess I'm just stuck with using iPhoto on my MB Air.  Thanks again.
    paul

  • Unable to locate Spring NamespaceHandler for XML schema namespace

    I am not sure if this is the best practice approach but this is the problem I am ruining into. Below, I explain what I am doing:
    1) What I am doing:
    =============
    Based on the oracle incubator example (http://coherence.oracle.com/display/INCUBATOR/Processing+Pattern+Examples); I am running a server and submitting tasks through a proxy application that submits them to ProcessingPatternConfigurator; let's call my task processReport.
    a) my processReport is using spring and ibatis together, I created a utility static class to obtain a spring context and retrieves beans using the following lines ( see exhibit "A1 and A2" below).
    b) when my task calls the context and that spring loads, it is failing with the error show in exhibit "B".
    I suspect I am missing a lib? I googled the error and searched you site but could find a meaningful discussion on it. I guess my question is if this is not the best approach, how do I integrated with spring initializing beans and setting up ibatis framwork, providing beans and database access through Ibatis for each task ruining on the grid (processReport).
    thanks
    A1) processReport (submitted in the grid) uses this line
    AbstractXmlApplicationContext ctx = (AbstractXmlApplicationContext) AmrContextUtil.getInstance();
              System.out.println("Classpath loaded. Executing Report...");
              ReportProcessor repProcessor = (ReportProcessor) ctx.getBean("reportProcessor");
    A2) Here is the AmrContextUtil:
    import org.springframework.context.support.AbstractApplicationContext;
    import org.springframework.context.support.ClassPathXmlApplicationContext;
    public final class AmrContextUtil {
         private static AbstractApplicationContext ctx = null;
         public AmrContextUtil() {
              super();
         public final static synchronized AbstractApplicationContext getInstance(){
              if (ctx == null){
                   ctx = new ClassPathXmlApplicationContext("classpath:config/applicationContext.xml");
                   setCtx(ctx);
              return ctx;
         public final static synchronized AbstractApplicationContext getCtx() {
              return ctx;
         public final static synchronized void setCtx(AbstractApplicationContext ctx) {
              AmrContextUtil.ctx = ctx;
    B) Here is the error reported by the server:
    2010-02-10 15:42:28.312/57.986 Oracle Coherence GE 3.5.2/463 <Warning> (thread=GridExecutor:Thread-2
    , member=1): TaskRunner - Failed to process 0x00000126B99E5524AC1F007AAB1587BBCFEC5E6637E1DED6CCB984
    03D6AADF4D due to:org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Failed to import bean definitions from URL location [classpath:config/reports-application.xml] Offending resource: class path resource [config/applicationContext.xml]; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: Configuration problem: Unexpected failure during bean definition parsing
    Offending resource: class path resource [config/reports-application.xml] Bean 'reportSqlMapConfig'; nested exception is org.springframework.beans.factory.parsing.BeanDefinitionParsingException: *Configuration problem: Unable to locate Spring NamespaceHandler for XML schema namespace [http://www.springframework.org/schema/util]*
    *Offending resource: class path resource [config/reports-application.xml] Bean 'reportSqlMapConfig'*
    -> Property 'resourceMap'
    c)Here is my application-context.xml offending line:
    <bean id="reportSqlMapConfig"
    class="com.xx.report.generator.ReportSqlMapConfig">
    <property name="resourceMap">
    <map>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.FPA"/>
    </key>
    <value>classpath:config/diehardReportSqlMapConfig.xml</value>
    </entry>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.FCN"/>
    </key>
    <value>classpath:config/falconReportSqlMapConfig.xml</value>
    </entry>
    <entry>
    <key>
    <util:constant static-field="com.xx.report.domain.ReportType.ODS"/>
    </key>
    <value>classpath:config/odsReportSqlMapConfig.xml</value>
    </entry>
    </map>
    </property>
    </bean>

    My guess is that something is broken in the configuration of the cacheServer and its not finding
    all of the dependencies that your process pattern application needs. Probably the best way
    to debug this stuff is to define a static main in your runnable task which will make the call
    to the run() method and invoke it as the main class using the identical settings (classpath,
    run directory) that you are using to launch the Coherence cache server.
    Regards,
    Bob

  • Can't invoke WS from BPEL process: Unable to locate activated endpoint

    I have a simple Calculator Web Service deployed on Glassfish, that I can access with any kind of SOAP client (e.g. soapUI). I have then created a BPEL process that invokes this external Web Service (which happens to run on the same Glassfish server, but that's largely irrelevant I suppose). I can instantiate and invoke the BPEL process (I've tried it with a dummy assign earlier just to make sure, and it runs successfully), but the BPEL process doesn't seem to be able to locate the external Web Service. I get the following fault:
    <S:Envelope xmlns:S="http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <ns2:Fault xmlns:ns2="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns3="http://www.w3.org/2003/05/soap-envelope">
    <faultcode>ns2:Server</faultcode>
    <faultstring>javax.jbi.messaging.MessagingException: Unable to locate activated endpoint for service connection {SigningCompositeApp}CalculatorService SignedCalculatorService.</faultstring>
    <detail>
    <ns2:exception class="java.lang.RuntimeException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false" xmlns:ns2="http://jax-ws.dev.java.net/">
    <message>javax.jbi.messaging.MessagingException: Unable to locate activated endpoint for service connection {SigningCompositeApp}CalculatorService SignedCalculatorService.</message>
    <ns2:stackTrace>
    <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube$AsyncProviderCallbackImpl" file="AsyncProviderInvokerTube.java" line="114" method="sendError"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="136" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="94" method="invoke"/>
    <ns2:frame class="sun.reflect.GeneratedMethodAccessor305" line="unknown" method="invoke"/>
    <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/>
    <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="597" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="72" method="invoke"/>
    <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="115" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="166" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="80" method="processRequest"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="595" method="__doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="554" method="_doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="539" method="doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="388" method="run"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="885" method="runTask"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="907" method="run"/>
    <ns2:frame class="java.lang.Thread" file="Thread.java" line="619" method="run"/>
    </ns2:stackTrace>
    <ns2:cause class="javax.jbi.messaging.MessagingException" note="To disable this feature, set com.sun.xml.ws.fault.SOAPFaultBuilder.disableCaptureStackTrace system property to false">
    <message>Unable to locate activated endpoint for service connection {SigningCompositeApp}CalculatorService SignedCalculatorService.</message>
    <ns2:stackTrace>
    <ns2:frame class="com.sun.jbi.messaging.MessageService" file="MessageService.java" line="492" method="addressExchange"/>
    <ns2:frame class="com.sun.jbi.messaging.MessageService" file="MessageService.java" line="326" method="doExchange"/>
    <ns2:frame class="com.sun.jbi.messaging.DeliveryChannelImpl" file="DeliveryChannelImpl.java" line="209" method="send"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="268" method="sendInOut"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="479" method="executeSOAP"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.InboundMessageProcessor" file="InboundMessageProcessor.java" line="215" method="execute"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="134" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.AsyncJBIProvider" file="AsyncJBIProvider.java" line="94" method="invoke"/>
    <ns2:frame class="sun.reflect.GeneratedMethodAccessor305" line="unknown" method="invoke"/>
    <ns2:frame class="sun.reflect.DelegatingMethodAccessorImpl" file="DelegatingMethodAccessorImpl.java" line="25" method="invoke"/>
    <ns2:frame class="java.lang.reflect.Method" file="Method.java" line="597" method="invoke"/>
    <ns2:frame class="com.sun.jbi.httpsoapbc.jaxwssupport.InvokerImpl" file="InvokerImpl.java" line="72" method="invoke"/>
    <ns2:frame class="com.sun.xml.ws.api.server.Invoker" file="Invoker.java" line="115" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.InvokerTube$2" file="InvokerTube.java" line="166" method="invokeAsyncProvider"/>
    <ns2:frame class="com.sun.xml.ws.server.provider.AsyncProviderInvokerTube" file="AsyncProviderInvokerTube.java" line="80" method="processRequest"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="595" method="__doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="554" method="_doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="539" method="doRun"/>
    <ns2:frame class="com.sun.xml.ws.api.pipe.Fiber" file="Fiber.java" line="388" method="run"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="885" method="runTask"/>
    <ns2:frame class="java.util.concurrent.ThreadPoolExecutor$Worker" file="ThreadPoolExecutor.java" line="907" method="run"/>
    <ns2:frame class="java.lang.Thread" file="Thread.java" line="619" method="run"/>
    </ns2:stackTrace>
    </ns2:cause>
    </ns2:exception>
    </detail>
    </ns2:Fault>
    </S:Body>
    </S:Envelope>
    For good measure, here's the WSDL (and partner link defn) for the external WS:
    <?xml version="1.0" encoding="UTF-8"?>
    <definitions name="CalculatorWSExternal" targetNamespace="http://j2ee.netbeans.org/wsdl/CalculatorWSExternal"
    xmlns="http://schemas.xmlsoap.org/wsdl/"
    xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="http://j2ee.netbeans.org/wsdl/CalculatorWSExternal" xmlns:ns="http://calculator.me.org/" xmlns:plnk="http://docs.oasis-open.org/wsbpel/2.0/plnktype" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
    <types>
    <xsd:schema targetNamespace="http://j2ee.netbeans.org/wsdl/CalculatorWSExternal">
    <xsd:import namespace="http://calculator.me.org/" schemaLocation="CalculatorWSService.xsd"/>
    </xsd:schema>
    </types>
    <message name="addRequest">
    <part name="add" element="ns:add"/>
    </message>
    <message name="addReply">
    <part name="addResponse" element="ns:addResponse"/>
    </message>
    <portType name="CalculatorWSExternalPortType">
    <operation name="add">
    <input name="input1" message="tns:addRequest"/>
    <output name="output1" message="tns:addReply"/>
    </operation>
    </portType>
    <binding name="CalculatorWSExternalBinding" type="tns:CalculatorWSExternalPortType">
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
    <operation name="add">
    <soap:operation/>
    <input name="input1">
    <soap:body use="literal"/>
    </input>
    <output name="output1">
    <soap:body use="literal"/>
    </output>
    </operation>
    </binding>
    <service name="CalculatorWSExternalService">
    <port name="CalculatorWSExternalPort" binding="tns:CalculatorWSExternalBinding">
    <soap:address location="http://localhost:8080/CalculatorApp/CalculatorWSService"/>
    </port>
    </service>
    <plnk:partnerLinkType name="CalculatorWSExternal1">
    <!-- A partner link type is automatically generated when a new port type is added. Partner link types are used by BPEL processes.
    In a BPEL process, a partner link represents the interaction between the BPEL process and a partner service. Each partner link is associated with a partner link type.
    A partner link type characterizes the conversational relationship between two services. The partner link type can have one or two roles.-->
    <plnk:role name="CalculatorWSExternalPortTypeRole" portType="tns:CalculatorWSExternalPortType"/>
    </plnk:partnerLinkType>
    </definitions>
    Any help? I've seen someone post a similar problem on the forum at http://forum.java.sun.com/thread.jspa?threadID=5273187&messageID=10157363#10157363
    but I haven't seen any answers. Thanks!
    Edited by: tboubez on Jun 9, 2008 10:56 AM

    Check the ports of Web services and those of BPEL, as Hambo have different communication ports.
    Normally Webservices point to the port 8080 and BPEL to 18181 or 9084.
    Check and I accounts.
    Greetings.

Maybe you are looking for

  • Quicksilver 2002, best AGP card that I can use ADC port?

    I currently have a 2002 QS 933mhz, and would like to add Core Image support. However, I am kind of on a budget, and need to still be able to use my 17'' ADC studio display. I'm okay with having to tape pins 3 and 11 if necessary, but I need the card

  • Applescript: How to know who called this handler?

    Hi - I have a script that is called by an OSX application (EyeTV calls "on recordingDone()" in the file "RecordingDone.scpt" when a TV show is done recording). I've heavily modified the called script. I also have an "on run{}" handler in the script s

  • Airport Security in Menu bar

    I notice that the new airport menu bar minuet marks 'other ' available systems as locked/not locked with an icon. I think I have mine (WEP etc.) set up correctly; should I also see an lock icon for my system or not? Or, does the lock icon for other s

  • After switching from iphone 4 to iphone 6 i lost sync with iMessage on my mac book

    Hello I have jsut switched from iPhone 4 to iPhone 6. Previously I could use iMessage sync'ed on my iPhone and my Mac-Book. Now I doesn't work anymore. I went into settings->messages->SMS transfert from the iPhone. I saw the Mac Book being referenced

  • Latest Database patch set

    I have Win 2k3 standard server and oracle9i Rel2 i need to install patchset asap on my server Is the patchset 9.2.0.5 the lates? or there a 9.2.0.6???? Thanks in Advance Regards Tony G.