New Bie Question: Doing Flex Salesforce integration for the first time

Dear Friends,
I want to connect to Salesforce using Flex API and I have tried two-three approaches but all in vain.
It give me an error 'INVALID_LOGIN: Invalid username, password, security token; or user locked out.'
PLEASE HELP ME TO FIX THIS .
Also, I would like the highlight the fact that my username and password work only for 'test.salesforce.com' and not for ' login.salesforce.com'. Could it be reason for login failure. I have used the token as suggested.
I have also tried setting different serverURL like ''serverUrl=https://test.salesforce.com/services/Soap/u/9.0 and https://login.salesforce.com/services/Soap/u/9.0 .
Below are two of the techniques I have used. 
(1) Using AIR API.
For this I have done as mentioned in 'http://wiki.developerforce.com/index.php/Force.com_Flex_Quick_Start_Tutorial'.
(2) Trying to tun the below code, that I found in one of the quick start tutorial.
<?xml version="1.0" encoding="utf-8"?>
<s:WindowedApplication 
xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="
library://ns.adobe.com/flex/spark" xmlns:mx="
library://ns.adobe.com/flex/mx" xmlns:salesforce="http://www.salesforce.com/">
<fx:Declarations>
<salesforce:AIRConnection id="force"/>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<mx:DataGrid id="dgSolutions" right="10" top="10" left="10" bottom="10" />
<fx:Script>
<![CDATA[
import com.salesforce.AsyncResponder; 
import com.salesforce.objects.LoginRequest; 
import com.salesforce.results.LoginResult; 
import com.salesforce.results.QueryResult; 
import mx.collections.ArrayCollection; 
import mx.controls.Alert; 
import mx.rpc.AsyncRequest; 
private function init():void { 
var lr:LoginRequest = new LoginRequest();lr.username =
'myusername'; // I have given my username herelr.password =
'mypassword'; // I have given my password herelr.callback =
new AsyncResponder(loadGrid);force.login(lr);
private function loadGrid(lr:LoginResult):void {Alert.show(
'Hi');force.query(
"Select Id, FirstName, LastName From Contact", 
new AsyncResponder( function (qr:QueryResult):void {dgSolutions.dataProvider = qr.records;
]]>
</fx:Script>
</s:WindowedApplication>
ANYHELP IN THIS REGARD WOULD BE REALLY APPRECIATED.
THANKS IN ADVANCE.

do we need to go the server route to have all these features even though none of it will go though the internet?
"need"? no, but you might prefer to do so.
Let me explain.
First off, there's nothing in Mac OS X Server, per se, that says it's designed for internet-facing applications. Sure, some of the services are internet-leaning, but don't think that internet/non-internet is the deciding factor of whether to use Server over client.
The fact is that much of what you describe can be done via Mac OS X Client, but it can be done much easier with Mac OS X Server. You might find that the hours you save, and the productivity you gain far outweighs the cost of Mac OS X Server.
Case in point, you have three workstations, right? Is each one used by an individual? or are they shared?
If they're shared, would it be easier for any user to be able to log on at any workstation and get their normal desktop environment, preferences, etc? That's something that's easy to do with Mac OS X Server, but not via Mac OS X Client.
You've already touched on shared iCal and contacts, neither of which are part of Mac OS X client, so you'll have to decide how much they're worth to you.
At the end of the day, you'll have to decide for yourself. Of course, you could take the easy option and defer until Mac OS X 10.7 (Lion) comes later in the summer, in which case the server functions are included as optional installs for no additional cost (i.e. buy client and get the Server for free).

Similar Messages

  • I have a brand new ipad2 connecting to iTunes 10.7 for the first time... It is not recognizing it in iTunes. It on windows and anti virus is off.  What do I need to do?

    I have a brand new ipad2 connecting to iTunes 10.7 for the first time... It is not recognizing it in iTunes. It on windows and anti virus is off.  What do I need to do?

    On the apple website that is correct i beleive.... but i have an italian american express and am able to purchase stuff here in the US.
    I mean, i dont think it really matters

  • Does Roaming data syncs for the first time when app data are in download and installation process?

    Hi,
    I will store user Id in "HighPriority" Roaming data. When user will install app in another computer (with the same Microsoft Account), app will get user Id from Roaming data. Then I can implement all data sync over my cloud service.
    There are 2 scenarios:
    1. User downloads and installs app in another computer, but roaming data syncs/downloads for the first time only after several minutes -
    It's bad for my app :(
    2. User downloads and installs app in another computer and roaming data syncs/downloads at the same time (then I can get user Id immediately)
    - Its great for my app :)
    Which scenario is real in practice?
    Does Roaming data syncs for the first time when app data are in download and installation process?

    Umm no not that i remember. It just randomly started happening. I reformatted the hard drive for mac (journaled) but it was working fine since i did it until now

  • New Mac Mini. Can not boot for the first time.

    Hello Mac to all the mini community. I recently buy a mac mini and it is not able to boot for the first time.
    The only progress is the apple logo, the grey screen and the loading circle.
    I was able to boot in safe mode by holding the power button and plug the power cord and i saw the following message:
    'Unable to find driver for this platform: \ACPS\.\n'0/sourcecache/.....
    debugger called <panic>
    can't perform kext scan: no kext summary
    OSD process name correspondling to current threat: unknown
    MAC OS Version:
    Not yet set
    Kernel Version:
    Orvin Kernetl Version 11.0.1....
    So can you please provide any feedback on how to reslove the issue?
    Thanks in advance

    A new Mac should already have OS X installed on it and boot right up .....?
    Mac Pro & Mac mini Fast Start: The new user's guide to the Mac
    You should be able to open the box, plug in the power cord, your Display, Keyboard and Mouse, push the power button and start using it.
    If not, then you need to return it or exchange it for one that works properly.

  • My PC thinks my new ipad2 is a camera when syncing for the first time - any suggestions - I have updated the latest Itunes version 10.5 and rebooted by PC and still a problem

    By new Ipad 2 wont sync for the first time to my pc - I have rebooted my pc and updated itunes with version 10.5 - my pc thinks my ipad 2 is a camera - very frustrating any suggestions?

    Itis normal and expected for the compuer to see the iPod as a camera. That is how you get phots taken and saved to the iPod off the iPod.  To get iTunes to see the iPod:
    iPhone, iPad, or iPod touch: Device not recognized in iTunes for Windows

  • I made the wrong choice when I connected my new iPhone 5 to my MacBook Pro for the first time (lost ALL my new photos because it restored settings that were 9 months old) - can I re-do this somehow and configure it as a new phone?

    I connected my new iPhone 5 to my (now fully updated after two separate operating system upgrades!) MacBook Pro so that I could add my music to my new phone.  Rather than configuring it as a new iPhone, I chose to configure it as my old iPhone, thinking that this would make it easier for my music to be there.  WRONG.  Now my new iPhone 5 looks exactly like my old iPhone 4 did in OCTOBER, 2012 - photos, messages, contacts... anything done since then is gone (that was the last time I had backed up my old phone, which unfortunately was not connected to the cloud and is also lost somewhere in a New England lake :-().  What I could really, really use help with is finding out if I can have a do-over on my choice and at least get my new phone looking/acting like the new phone it is, and bonus would be to have the photos and videos I took with it this past weekend (it's only five days old!) restored.  Please help! 

    Look iTunes>Preferences>Devices...is a backup listed for your iPhone 5 dated BEFORE you restored your iPhone 4 backup to your iPhone 5? If not, your data is gone. If there is a backup, on your iPhone 5: Settings>General>Reset>Erase All Content & Settings. You should now be able to restore that backup, if it exists, to your iPhone 5.

  • When i open a new tab even i have set the start page in "blank" babylon home page keeps coming on.always on new tab.never when i open firefox for the first time. what can i do to fix the problem?

    i tried to find any babylon programs on my computer but i didnt found something.

    '' get rid of babylon toolbar and get back home page"
    see the first answer, the one from the-edmeister in
    :https://support.mozilla.com/en-US/questions/860950

  • HT1386 i bought a new iphone and im trying to sync for the first time.  Do I restore from the backup of my old phone or set up from my new iphone

    any thoughts

    If you want to restore the settings and data from your old phone to your new one, restore from the backup of your old phone (see http://support.apple.com/kb/HT2109).  You will still have to sync with iTunes to transfer apps, music, and other iTunes media back to your phone.

  • Backup up an old iphone for the first time ever...

    I'm helping a friend transfer data (over 1,000 photos and some notes)  from her old iPhone to a new one. When connecting to iTunes for the first time with the old phone, it wants to set everything up for the first time and I'm afraid it will erase everything BEFORE we get a chance to back it up.
    Are my assumptions incorrect? How do we avoid losing her data and get a sucessful first-time back up? Any suggestions are greatly appreciated.... THANKS!

    Yes.
    Take a look at this document: https://discussions.apple.com/docs/DOC-3141

  • I am trying to use the liquify tool for the first time. I created a new document (RGB/8) and before I place my photo, the liquify option is available. After I place the photo, the liquify option disappears. What am I doing wrong?

    I am trying to use the liquify tool for the first time. I created a new document (RGB/8). Before I place my photo, the liquify option is available. After I place the photo, the liquify option disappears. What am I doing wrong?

    What am I doing wrong?
    For one thing you forgot to mention the version of Photoshop you use.
    Did you place the image as a Smart Object? Liquify got Smart-capabilities with Photoshop CC.

  • Setting up a cluster for the first time: newbie questions

    Any help appreciated with this situation:
              I'm trying to set up a cluster for the first time and running into
              issues (no big surprise). I'll outline my situation and pose questions
              as they arise. If/when I get things to work I'll post a step-by-step
              summary of what it took to get a simple cluster going.
              Here's what I have:
              machines:
              1 Windows 2000 machines with WL 6.1
              2 RedHat Linux machines with WL 6.1
              All machines are on the same Home LAN, can see each other, etc.
              IP addresses are:
              Windows box: 192.168.1.100
              Linux box 1: 192.168.1.102
              Linux box 2: 192.168.1.103
              servers:
              I've set up the Windows machine as my admin server, and set up
              a managed server on each Linux machine. I created a cluster that consists
              of the 2 Linux machines and deployed the web app and EJB to the cluster.
              The Windows machine is acting as a Proxy using ClusterServlet.
              The web application has been set as the Default Web Application on the
              two Linux machines. All 3 machines are listening on ports 80/443. I also
              set up session memory replication through the console.
              Application:
              I have an application that I package as an EAR file. I'm using it as a
              "reference" application designed to mimic a real world app as much as possible.
              The EAR file contains a web application that uses Struts. It also consists
              of a single Stateless Session Bean. The WAR file and EJB Jar are all
              packaged up into the EAR file. I've been able to run this application just
              fine on a single managed server on all 3 machines.
              The web application works fine, and it can invoke the EJB. I can also
              invoke the EJB from Java stand-alone clients. Struts works great. All is
              well with the world. Now I'm trying to "cluster-ize" this app using
              the environment described above and encountering issues.
              I've read the docs and followed the instructions according to the
              "Weblogic Bible" book. I can bring up all 3 servers and the Linux
              managed servers connect to the cluster just fine. I can also
              see the Struts messages in their logs which normally happens and tells me
              the webapp is initialized properly. The console tells me that the managed
              servers are running. I get no error messages starting up any of the serves.
              Here are the problems I am encountering.
              When I try to access the Web Application (through a browser on the
              Windows machine using http://localhost) I get the following error message:
              <Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
              x,admin) found no context for "/". This request does not match the context path
              for any installed web applications and there is no default web application confi
              gured.>
              Also, when I try to invoke the EJB through a stand-alone Java client,
              I get a JNDI lookup error on the EJB's home interface.
              Questions:
              Question1: I noticed when setting up the machines that console lets you
              define a "Machine" or a "Unix Machine". What's the difference? Should I
              define the Linux machines as Unix machines or machines, and what are the
              consequences of either choice?
              Question2:
              I'm not totally clear on how my web.xml should look to set up Struts,
              the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
              Here is what I had before I tried to cluster and which works fine:
              <filter>
              <filter-name>MainFilter</filter-name>
              <filter-class>com.refapp.servlets.MainFilter</filter-class>
              <init-param>
              <param-name>myAttribute</param-name>
              <param-value>Foo</param-value>
              </init-param>
              </filter>
              <filter-mapping>
              <filter-name>MainFilter</filter-name>
              <url-pattern>/*</url-pattern>
              </filter-mapping
              <!-- Struts ActionServlet Configuration -->
              <servlet>
              <servlet-name>action</servlet-name>
              <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              <init-param>
              <param-name>application</param-name>
              <param-value>refappstruts</param-value>
              </init-param>
              <init-param>
              <param-name>config</param-name>
              <param-value>/WEB-INF/struts-config.xml</param-value>
              </init-param>
              <init-param>
              <param-name>debug</param-name>
              <param-value>2</param-value>
              </init-param>
              <init-param>
              <param-name>mapping</param-name>
              <param-value>org.apache.struts.action.RequestActionMapping</param-value>
              </init-param>
              <load-on-startup>2</load-on-startup>
              </servlet>
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <welcome-file-list>
              <welcome-file>index.do</welcome-file>
              <welcome-file>index.jsp</welcome-file>
              <welcome-file>index.html</welcome-file>
              </welcome-file-list>
              (I have set up a "dummy" 0-length file called index.do that triggers
              Struts to go into its ActionServlet when first accessing the web site).
              Here is how I added ClusterServlet to web.xml:
              servlet>
              <servlet-name>ClusterServlet</servlet-name>
              <servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
              <load-on-startup>0</load-on-startup>
              <init-param>
              <param-name>defaultServers</param-name>
              <param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
              </init-param>
              <init-param>
              <param-name>DebugConfigInfo</param-name>
              <param-value>ON</param-value>
              </init-param>
              </servlet>
              <servlet-mapping>
              <servlet-name>InitServlet</servlet-name>
              <url-pattern>/servlet/InitServlet</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>action</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>/</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.html</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.jsp</url-pattern>
              </servlet-mapping>
              <servlet-mapping>
              <servlet-name>ClusterServlet</servlet-name>
              <url-pattern>*.do</url-pattern>
              </servlet-mapping>
              Clearly there is a problem with the Default Web application not being
              seen/mapped properly. Any chances my URL mappings for the filter servlet,
              Struts, and ClusterServlet are stepping on each other?
              With respect to the EJB, here is what my weblogic-ejb-jar looks like:
              <weblogic-ejb-jar>
              <weblogic-enterprise-bean>
              <ejb-name>Hello</ejb-name>
              <stateless-session-descriptor>
              <pool>
                   <max-beans-in-free-pool>100</max-beans-in-free-pool>
              </pool>
              <stateless-clustering>
              <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
              <stateless-bean-load-algorithm>
              round-robin
              </stateless-bean-load-algorithm>
              <stateless-bean-methods-are-idempotent>
              true
              </stateless-bean-methods-are-idempotent>
              </stateless-clustering>
              </stateless-session-descriptor>
              <jndi-name>Hello.Home</jndi-name>
              </weblogic-enterprise-bean>
              I run this through ejbc and package everything up into the EAR file.
              However, I get a JNDI lookup failure when I try to access the Bean from
              a standalone Java client running on the Windows machine.
              Here is the jndi.properties file that I am using:
              java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              java.naming.provider.url=t3://localhost:80
              Any ideas what I'm doing wrong here? I can post config.xml also if needed.
              Thanks in advance!
              

    Let me try to answer :)....
              A1> No need to name diff machines by default weblogic
              considers the servers are physically located in diff boxes.
              The names are used to differtiate the mang servers which are in
              multihomed
              Some things to chk
              1> Did u targeted the ear file Target as cluster.
              2> Can u see on the Admin console that both the man servers
              are participated in the cluster( u can see by clicking the monitoring
              tab on the Cluster node).
              3>Is the URL:PORT for the default web app correct?
              the reason: is I dont see the port# on the link u mentioned
              4> probably ur ejb might not been deployed on the target thats the
              reason u cant access thru java client. If u correct the targets that
              will probably fix it.
              Hope this helps
              Please post the result
              Thanks
              Sudhir
              [email protected] (Chris) wrote in message news:<[email protected]>...
              > Any help appreciated with this situation:
              > I'm trying to set up a cluster for the first time and running into
              > issues (no big surprise). I'll outline my situation and pose questions
              > as they arise. If/when I get things to work I'll post a step-by-step
              > summary of what it took to get a simple cluster going.
              > Here's what I have:
              >
              > machines:
              > 1 Windows 2000 machines with WL 6.1
              > 2 RedHat Linux machines with WL 6.1
              > All machines are on the same Home LAN, can see each other, etc.
              > IP addresses are:
              > Windows box: 192.168.1.100
              > Linux box 1: 192.168.1.102
              > Linux box 2: 192.168.1.103
              >
              > servers:
              > I've set up the Windows machine as my admin server, and set up
              > a managed server on each Linux machine. I created a cluster that consists
              > of the 2 Linux machines and deployed the web app and EJB to the cluster.
              > The Windows machine is acting as a Proxy using ClusterServlet.
              > The web application has been set as the Default Web Application on the
              > two Linux machines. All 3 machines are listening on ports 80/443. I also
              > set up session memory replication through the console.
              >
              > Application:
              > I have an application that I package as an EAR file. I'm using it as a
              > "reference" application designed to mimic a real world app as much as possible.
              > The EAR file contains a web application that uses Struts. It also consists
              > of a single Stateless Session Bean. The WAR file and EJB Jar are all
              > packaged up into the EAR file. I've been able to run this application just
              > fine on a single managed server on all 3 machines.
              > The web application works fine, and it can invoke the EJB. I can also
              > invoke the EJB from Java stand-alone clients. Struts works great. All is
              > well with the world. Now I'm trying to "cluster-ize" this app using
              > the environment described above and encountering issues.
              >
              > I've read the docs and followed the instructions according to the
              > "Weblogic Bible" book. I can bring up all 3 servers and the Linux
              > managed servers connect to the cluster just fine. I can also
              > see the Struts messages in their logs which normally happens and tells me
              > the webapp is initialized properly. The console tells me that the managed
              > servers are running. I get no error messages starting up any of the serves.
              >
              > Here are the problems I am encountering.
              >
              > When I try to access the Web Application (through a browser on the
              > Windows machine using http://localhost) I get the following error message:
              >
              > <Nov 19, 2002 6:44:33 AM EST> <Error> <HTTP> <HttpServer(1754841,null default ct
              > x,admin) found no context for "/". This request does not match the context path
              > for any installed web applications and there is no default web application confi
              > gured.>
              >
              > Also, when I try to invoke the EJB through a stand-alone Java client,
              > I get a JNDI lookup error on the EJB's home interface.
              >
              > Questions:
              > Question1: I noticed when setting up the machines that console lets you
              > define a "Machine" or a "Unix Machine". What's the difference? Should I
              > define the Linux machines as Unix machines or machines, and what are the
              > consequences of either choice?
              >
              > Question2:
              > I'm not totally clear on how my web.xml should look to set up Struts,
              > the ClusterServlet, and a servlet filter I'm using to test Servlet filters.
              > Here is what I had before I tried to cluster and which works fine:
              >
              > <filter>
              > <filter-name>MainFilter</filter-name>
              > <filter-class>com.refapp.servlets.MainFilter</filter-class>
              > <init-param>
              > <param-name>myAttribute</param-name>
              > <param-value>Foo</param-value>
              > </init-param>
              > </filter>
              >
              > <filter-mapping>
              > <filter-name>MainFilter</filter-name>
              > <url-pattern>/*</url-pattern>
              > </filter-mapping
              >
              >
              > <!-- Struts ActionServlet Configuration -->
              > <servlet>
              > <servlet-name>action</servlet-name>
              > <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
              >
              > <init-param>
              > <param-name>application</param-name>
              > <param-value>refappstruts</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>config</param-name>
              > <param-value>/WEB-INF/struts-config.xml</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>debug</param-name>
              > <param-value>2</param-value>
              > </init-param>
              >
              > <init-param>
              > <param-name>mapping</param-name>
              > <param-value>org.apache.struts.action.RequestActionMapping</param-value>
              > </init-param>
              > <load-on-startup>2</load-on-startup>
              > </servlet>
              >
              > <servlet-mapping>
              > <servlet-name>action</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              > <welcome-file-list>
              > <welcome-file>index.do</welcome-file>
              > <welcome-file>index.jsp</welcome-file>
              > <welcome-file>index.html</welcome-file>
              > </welcome-file-list>
              >
              > (I have set up a "dummy" 0-length file called index.do that triggers
              > Struts to go into its ActionServlet when first accessing the web site).
              >
              > Here is how I added ClusterServlet to web.xml:
              >
              > servlet>
              > <servlet-name>ClusterServlet</servlet-name>
              > <servlet-class>weblogic.servlet.internal.HttpClusterServlet</servlet-class>
              > <load-on-startup>0</load-on-startup>
              > <init-param>
              > <param-name>defaultServers</param-name>
              > <param-value>192.168.1.102:80:443|192.168.1.103:80:443</param-value>
              > </init-param>
              > <init-param>
              > <param-name>DebugConfigInfo</param-name>
              > <param-value>ON</param-value>
              > </init-param>
              > </servlet>
              >
              > <servlet-mapping>
              > <servlet-name>InitServlet</servlet-name>
              > <url-pattern>/servlet/InitServlet</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>action</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>/</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.html</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.jsp</url-pattern>
              > </servlet-mapping>
              >
              > <servlet-mapping>
              > <servlet-name>ClusterServlet</servlet-name>
              > <url-pattern>*.do</url-pattern>
              > </servlet-mapping>
              >
              >
              > Clearly there is a problem with the Default Web application not being
              > seen/mapped properly. Any chances my URL mappings for the filter servlet,
              > Struts, and ClusterServlet are stepping on each other?
              >
              > With respect to the EJB, here is what my weblogic-ejb-jar looks like:
              >
              > <weblogic-ejb-jar>
              > <weblogic-enterprise-bean>
              > <ejb-name>Hello</ejb-name>
              > <stateless-session-descriptor>
              > <pool>
              >      <max-beans-in-free-pool>100</max-beans-in-free-pool>
              > </pool>
              > <stateless-clustering>
              > <stateless-bean-is-clusterable>true</stateless-bean-is-clusterable>
              > <stateless-bean-load-algorithm>
              > round-robin
              > </stateless-bean-load-algorithm>
              > <stateless-bean-methods-are-idempotent>
              > true
              > </stateless-bean-methods-are-idempotent>
              > </stateless-clustering>
              > </stateless-session-descriptor>
              > <jndi-name>Hello.Home</jndi-name>
              > </weblogic-enterprise-bean>
              >
              > I run this through ejbc and package everything up into the EAR file.
              > However, I get a JNDI lookup failure when I try to access the Bean from
              > a standalone Java client running on the Windows machine.
              > Here is the jndi.properties file that I am using:
              >
              > java.naming.factory.initial=weblogic.jndi.WLInitialContextFactory
              > java.naming.provider.url=t3://localhost:80
              >
              > Any ideas what I'm doing wrong here? I can post config.xml also if needed.
              >
              > Thanks in advance!
              

  • Time Machine: Repeated errors when backing up for the first time using a new external firewire drive

    My Iomega 500GB firewire external drive failed on me last week and I have just replaced it with an identical model. I used to use the old drive with Time Machine on my MacBook Pro running 10.5.8 with no issues, until the drive had a hardware failure and stopped spinning up, hence the replacement.
    Two days ago I tried using Time Machine for the first time with the replacement external drive. The backup failed and each subsequent backup attempt has failed since then with a different error each time. The drive cannot be ejected using Finder (Finder says disk is in use and cannot be ejected even when no processes are running except for Finder and Time Machine has been disabled), by dragging it to the dock (hangs computer which can only be fixed by a hard reboot), in Disk Utilities (drive cannot be unmounted) or in Terminal ("no such file or directory").
    The first backup attempt failed after 3 hours of "preparing" with the message "The backup was not performed because an error occured while creating backup directory".
    I tried repairing the disk in Disk Utilities and Disk Utilities said the drive was OK ("the volume Time Machine Backups appears to be OK"). I tried ejecting the drive (hard reboot of computer and disconnecting the drive), plugging it back in again and trying again.
    This time it started backing up, then failed after a few minutes with the message "an error occured while copying files to the backup volume". I had a look at the troubleshooting suggested on http://web.me.com/pondini/Time_Machine/C3.html and followed instructions. It failed again, so I did a full reset as per http://web.me.com/pondini/Time_Machine/A4.html.
    It failed again, so I tried reparing the drive again in Disk Utilities and again it said it was OK. I tried using different cables and ports (Firewire 400 instead of Firewire 800), and backups still fail.
    I have turned off anti-virus scanning (Sophos). I have tried excluding it from Spotlight but this causes an error message from Spotlight. I have tried trashing the com.apple.TimeMachine.plist file and rebooting. I have tried selecting deselecting the drive as the back up in Time Machine preferences, selecting "None", then "Stop Backing Up" then quitting preferences, rebooting, disconnecting the drive, reconnecting the drive and selecting the drive again as the backup disk in Time Machine preferences. I have tried erasing the drive completely, rebooting, and trying to back up again.
    None of these have worked. This is a brand new drive and I do not want to have to replace it again if I do not have to.
    Does anyone have any suggestions? Thank you.

    Hello, some possible clues...
    Should you click “Start New Backup”? Not yet! If you see the dialog above, your existing Time Machine backup is corrupt, and you might not be able to recover data from it. But you can save a copy of the corrupt bundle and, perhaps, extract some data from it if needed.
    Ask yourself if Time Machine has saved data you might need before deciding what to do next:
    If you are sure you won’t need anything backed up before today, click “Start New Backup” and let Time Machine do its thing.
    Otherwise, click “Back Up Later” and save a copy before letting Time Machine start a new backup. Just look for a file called “computername.sparsebundle” (for network backups) or “Backups.backupdb” (for local ones) and create a copy with a different name. You can open sparsebundle files with DiskImageMounter and browse them like any other disk. More information is available here.
    There you go. If you click “Start New Backup” when you see this dialog box, Time Machine will erase all of your old backup data and start a new bundle. It won’t be corrupt, but it will be empty.
    Note that you can manually initiate a Time Machine backup integrity check by option-clicking the “Time Machine” icon in the menu bar and selecting “Verify Backups.”
    http://blog.fosketts.net/2010/08/11/time-machine-completed-verification-backups- improve-reliability-time-machine-create-backup/
    According to This Time Machine resource   “This appears only on Snow Leopard, and started with the Time Capsule Backup Update 1.0 in mid-May of 2010.  It also seems to have been included in the 10.6.3 v1.1 update and 10.6.4.”
    So, what can you do about it?  Grin and bear it, it seems, until Apple fixes it.
    One thing you can do to make the backup take less time is to connect your machine to your Time Capsule or other backup drive via Ethernet for the duration of the initial backup.
    http://www.theinternetpatrol.com/the-dreaded-time-machine-has-completed-a-verifi cation-of-your-backups-to-improve-reliability-time-machine-must-create-a-new-ba c kup-for-you-message-and-why-you-are-seeing-it/
    Time Machine: About "Time Machine completed a verification of your backups. To improve reliability, Time Machine must create a new backup for you."...
    http://support.apple.com/kb/HT4076
    Or a different/better solution in my experiences...
    Get carbon copy cloner to make an exact copy of your old HD to the New one...
    http://www.bombich.com/software/ccc.html
    Or SuperDuper...
    http://www.shirt-pocket.com/SuperDuper/
    Or the most expensive one & my favorite, Tri-Backup...
    http://www.tri-edre.com/english/products/tribackup.html

  • TS3772 Hi Team, I fairly new at this & I'm trying for the first time to download a movie, however its not allowing me to play as it says I need to download quicktime which I have tried to do, I have this application now but its still not allowing me to vi

    Hi Team, I am fairly new at this & I'm trying for the first time to download a movie, however its not allowing me to play as it says I need to download quicktime which I have tried to do, I have this application now but its still not allowing me to play movie, any help please for someone who hasnt got a clue

    where did you download the movie from?
    what is it doing when it wont allow you to play the movie?
    since you downloaded quicktime is it still asking you to download quicktime?

  • Updated to iOS 7, when my phone came on for the first time I could see I had 2 new viber messages.  When I went to open viber it asked me to register my number, which I did. Once the app was open I noticed all my message history was gone.

    Hi,
    I have only just upgraded to iOS 7 on my iPhone 4 and am having a  problem with Viber. When my phone came on for the first time after the update I could see I had 2 new viber messages, when I went to open viber it asked me to register my number, which I did. Once the app was open I noticed all my message history was gone...
    I still have an itunes backup of my phone just before the update, I restored it to this backup, followed the same process and now viber will not even work (the access code wont sms to me and the phone call option for recieving this code also come up with some error about not being able to do this at this time).
    I have been able to access viber using another phone number (I have two sims which I use as I am currently overseas in south korea, my referenced australian sim has worked previously on viber overseas and I definently do have roaming on) but again I have no message history.
    So to questions:
    1) Why is my activation not working under my referenced australian number?
    2) Can I recover all my message history which should be saved in my itunes backup?  I am willing to revert to this backup state again if needed.
    Please help.
    Thanks.

    Look iTunes>Preferences>Devices...is a backup listed for your iPhone 5 dated BEFORE you restored your iPhone 4 backup to your iPhone 5? If not, your data is gone. If there is a backup, on your iPhone 5: Settings>General>Reset>Erase All Content & Settings. You should now be able to restore that backup, if it exists, to your iPhone 5.

  • Why does my iphone 3gs screen go white after it goes "to sleep" for the first time after turning it on?

    Why does my iphone 3gs screen go white after it goes "to sleep" for the first time after turning it on?
    The screen isn't broken because it works after i turn the device off and back on, but after it goes black once, it's only white again.
    But it takes the touches although it's only white, because I can answer my phone when I slide my finger on the bottom of the screen, eventhough there in not the button to see.
    This is so weird. I have already done everything I can think of that might help. But I cannot think of anything that might be causing it, because nothing has happened to the device.

    Let me know if I should start a new discussion instead of opening a new topic here.
    My wife's iPhone is the same vintage as mine 3Gs, but has never had the battery problem.  Its affliction instead is that it cannot detect WiFi networks unless it is quite close to the source.  Often, when my iPhone not only detects but shows a maximum cells connection with a network, hers cannot detect the network at all.  In contrast, her iPhone seems to detect ourcellular carrier just as well as mine does.
    Is there any help for this affliction?

Maybe you are looking for

  • Is it possible to use  one imac to control the screen of another?

    Hi, I'm thinking of buying a new iMac. At present I have an older intel iMac (1.83, 17 inch, 2 Gigs ram, 250 hd) and I work mainly with Logic Pro 8. Logic Pro 8 has a node function which allows you to use the processing power of a second computer to

  • Calling a dll from a new menu item in Bridge.  Idiot help needed

    Hi, I'm trying to what I believe is a fairly simple script.  I'm coming from a hobbiest Delphi background, and to be honest I'm finding JavaScript a little bit hard to understand.  My requirements are simple - add a new menu item to Bridge which exec

  • Prestage content no longer working after SCCM 2012 R2 CU1 update

    I run SCCM 2012 R2 CU1 on a Windows 2008 R2 server. I upgraded to CU1 in June, and today is the first time I've attempted to pre-stage a package since then.  After pre-staging my package and getting the content out to the target DP, I went to propert

  • In general, how do I put code into a loop?

    I have access to a procedure that takes a parameter and spits out a single result. I need to figure out how to use that procedure and spit out many results. This example should clear things up. VARIABLE enum NUMBER; EXEC :enum := 7566; -- my procedur

  • Same value date between

    <DIV><FONT face=Tahoma size=2><SPAN class=694555900-16112007>Dear,</SPAN></FONT></DIV> <DIV><FONT face=Tahoma size=2><SPAN class=694555900-16112007>I have the data like below, i need same value between start_date and end_date period. Please..</SPAN><