Java app and flex charting

I am in the process of making a flex charting application
that receives data from a java applet. I've made the
flex-javascript connection using the FABridge but when Flex adds
the data to the chart it jumps around. In the following link is the
app running to show you it, I have allowed the source to be viewed
as well.
Has anyone had this problem before? Or can see a solution?
This jumping around doesn't just affect the chart, if I add
another element not even within the chart area, but somewhere else
in the application it moves around too.
Thanks

Hi,
I apologize for delayed response. Yes, in general you can move Java EE applications to Oracle Java Cloud Service and move the corresponding data to Oracle Database Cloud Service. But you need to make sure that your application fits the surface area exposed by Java Cloud Service. You can check that in couple of ways: (1) when you try to deploy your application in our cloud, it will run a whitelist process that will indicate if you are using features/APIs that are currently unavailable in the cloud. Your can run the whitelist offline using the Java Cloud Service SDK. The SDK zip has a help file that explains how to run the whitelist. (2) You can read the chapter in our documentation that explains what is available in Java Cloud Service today. Here is the link http://docs.oracle.com/cloud/CSJSU/feat_implement.htm#CSJSU7149
Once you determine that your application can fit within the surface area of the Java Cloud Service, you can deploy it. You can move you data as explained here -- http://docs.oracle.com/cloud/CSDBU/develop.htm#CSDBU204
Hope that helps.
Thanks,
-AnandK.

Similar Messages

  • Open java app and insert text

    Hello All!
    I'm looking for a little help on an exact problem that seems to have been solved here before (but doesn't work for me).
    Here's the original archived thread:
    https://discussions.apple.com/thread/2631967?start=0&tstart=0
    The question asked is exactly the same....
    I have a java app for a Speco Technologies DVR. After opening the app, you must type in a rather long url and then click connect. If you enter the url, then quit the app, when you relaunch it, it does not remember the url that had been entered the previous time.
    I would like to create a script that will launch the Java app and then input the url (text string). I cannot get this to work.
    I've gotten as far as this:
    on run
    tell application "Finder" to activate open document file "DVRVIEWER(DO_NOT_DELETE).jar" of folder "Applications" of startup disk
    delay 5
    set myString to "192.168.0.118"
    repeat with currentCharacter in every character of myString
    tell application "system events"
    keystroke currentCharacter
    end tell
    delay 0.25
    end repeat
    tell application "system events"
    keystroke return
    end run
    AppleScript has a Syntax Error of "Expected end of line, etc. but found command name."
    Does anyone ( taylor.henderson where are you! ) have a fix, or even a better way to do this? Can I edit the existing .jar to have the info directly in there?
    I would actually love to add another section in there that fills in the username and password after entering in the IP address!
    Just for clarification on how this goes:
    Launch .jar.
    Window Launches and prompts for IP address
    Enter in IP address
    Press RETURN
    Windows disappears and new window appears and prompts for username and password
    Enter Username
    Press TAB
    Enter Password
    Press RETURN
    Thank you guys, I'm sure it's easy, but hey, for me Photoshop and Illustrator are a breeze :-0
    -AndyTheFiredog

    Hi
    andythefiredog wrote:
    Is it possible to use similar commands to maximize the java window?
    Yes.
    You must enable the checkbox labeled "Enable access for assistive devices" in the Universal Access System Preference pane
    Add these lines after the last line wich contains "keystroke return"
      delay 2
      tell (first process whose frontmost is true) to click button 2 of window 1 -- zoom
    Here's my test script ( the Speco camera demo), that works without problems here, I use the application "DVRJavaView4.1.jar", this script checks the existence of ui element (more reliable) rather than any delay.
    on run
         do shell script "/usr/bin/open '/Applications/DVRJavaView4.1.jar'"
         tell application "System Events" to tell (first process whose frontmost is true)
              repeat until exists window "Please Input DVR address"
                   delay 1
              end repeat
              keystroke "millapt.ddns.specoddns.net"
              keystroke return
              repeat until exists button "OK" of window 1
                   delay 1 -- wait until the login window is frontmost
              end repeat
              keystroke "user"
              keystroke tab
              delay 0.1
              keystroke "4321"
              delay 0.1
              keystroke return
              repeat until name of window 1 starts with "DVRJavaView"
                   delay 1 --wait while the login window is frontmost
              end repeat
              click button 2 of window 1 -- zoom
         end tell
    end run

  • Java app and cloud

    Hello,
    we have a java based app and an oracle database 11g
    We are currently hosting (for our customers) the app and the database on our own infrastructure
    We are planning to move the app and the oracle database on Oracle cloud
    Is it possible?
    What licenses are required?
    How would the database be moved to Oracle Cloud?
    How would the app be deployed on oracle cloud
    Thanks

    Hi,
    I apologize for delayed response. Yes, in general you can move Java EE applications to Oracle Java Cloud Service and move the corresponding data to Oracle Database Cloud Service. But you need to make sure that your application fits the surface area exposed by Java Cloud Service. You can check that in couple of ways: (1) when you try to deploy your application in our cloud, it will run a whitelist process that will indicate if you are using features/APIs that are currently unavailable in the cloud. Your can run the whitelist offline using the Java Cloud Service SDK. The SDK zip has a help file that explains how to run the whitelist. (2) You can read the chapter in our documentation that explains what is available in Java Cloud Service today. Here is the link http://docs.oracle.com/cloud/CSJSU/feat_implement.htm#CSJSU7149
    Once you determine that your application can fit within the surface area of the Java Cloud Service, you can deploy it. You can move you data as explained here -- http://docs.oracle.com/cloud/CSDBU/develop.htm#CSDBU204
    Hope that helps.
    Thanks,
    -AnandK.

  • AIR app and Flex app in same Flex builder project

    Hi,
    I've developed a flex app with a lot of custom components.
    Now I want to create a desktop version of the same using the same
    exact same components. Is it possible that I add an mxml
    application, make it a WindowedApplication and compile it to
    produce an AIR app? Or are there any workarounds to accomplish
    this.

    Easiest way I have found is to complete your Flex Web app.
    Then create a new Flex AIR app and then copy code from your working
    Flex Web app over.
    Yes, you end up with two complete sets of code, but if that
    is going to become an issue with keeping both versions up to date
    you can simply use one set of source.
    To do this, create two projects, one Web, one Air. Then you
    can create a third folder (not project) that contains all the
    common code.
    In each of your projects, simply import the code you want to
    use using the project options.
    No, not ideal, but does work. Would be nice to see Flex
    Builder changed so you can have rooted projects.
    E.g. A project called "MyBigApplication" that isn't targetted
    at any platform. Within this you could then produce sub-projects
    that target a particular platform, be it web or air but share code.
    Maybe in the next version.....
    Cheers
    Ian

  • I think this goes here, Oracle, Java, JSP and Flex

    Ok so I apologize if this does not belong here....
    I want to connect Flex to a Oracle 10g data base, and I managed to connect Java to the oracle data base, now the middle ware is the jsp file. I need to parse the connection through a jsp file in such that what gets produced when a SQL statement of say SELECT * FROM BLA; is a html page that displays all XML so i can through that through flex and display it in a data grid. everything is ready to go but the jsp part...
    How do i get java to spit out the select statment, or any statement that is through the jsp file?

    Adrienk wrote:
    I want to connect Flex to a Oracle 10g data base, and I managed to connect Java to the oracle data base, now the middle ware is the jsp file. I need to parse the connection through a jsp file You're using the word "parse" in a way that makes no sense. You seem to mean "use".
    in such that what gets produced when a SQL statement of say SELECT * FROM BLA; is a html page that displays all XMLWell, then it's not really an HTML page. But you can still use JSP for XML, I believe. But keep in mind that JSP is awful, and you may not even need it.
    so i can through that through flex and display it in a data grid. So basically, you want to create a web service, accessible from your Flex client, that exposes data from that table in XML.
    How do i get java to spit out the select statment, or any statement that is through the jsp file?I suppose you could have a servlet that uses JDBC to query the database, and then forwards to the JSP page to render it.
    But you may not even need JSP for something like this. If it's just a SQL query result set, i.e., basically a grid, the XML may be so simple that the servlet could render it all by itself just fine, maybe by just printing XML code directly, or maybe by making a DOM and serializing it to the servlet's HttpServletResponse output stream.
    There are apparently also taglibs for JSP that can do db queries, but the less you touch JSP the better IMHO.
    The details here would depend on your environment. If you're using an object/relational mapping tool, you wouldn't use JDBC directly. Etc.
    Also I'd advise you to consider caching the rendered XML if the table isn't going to change a lot.

  • Since recent upgrade, I can't see any of my projects in Shutterfly. Their customer support says it may be issue with Java app and Adobe Flash Player

    see above-- are there known issues with these apps?

    Your Java player (if relevant) is not clearly indicated in your plugins list, and your Flash player is several versions behind. If Apple has an update site, you might check that first. Mozilla's site is here: http://www.mozilla.org/plugincheck/

  • Windows 8 Apps and flex

    I'm just starting into the world of Flex as my chosen environemnt to really focus on for developing apps for Cloud applications, and creating applications taht all for easy data access across platforms and devices.
    However I see Windows 8 apps as almost untouched and open season for great apps as the Surface and more Win 8 mobile devices come out.  Is there a roadmap for developing Win 8 apps (Metro) or for Windows phone?
    thanks.

    This should be helpful for you:
    [Windows 8 Recovery & Repair|http://aps2.toshiba-tro.de/kb0/TSB2A03ES0000R01.htm]
    Probably the best choice would be the option Refresh your PC
    You could refresh the system without loosing your files.

  • Getting remote messaging to work with Java/Spring and Flex

    I am trying to get remote messaging working on a Flex client with a Java/Spring backend.
    I have the channel is setup on the server as such:

    channel-definition id="long-polling-channel"
    class="mx.messaging.channels.AMFChannel">
    <endpoint
    url="http://{server.name}:{server.port}/{context.root}/messagebroker/amflongpolling"
    class="flex.messaging.endpoints.AMFEndpoint" />
    <properties>
    <!-- Values for near-real time messaging -->
    <polling-enabled>true</polling-enabled>
    <polling-interval-millis>0</polling-interval-millis>
    <wait-interval-millis>-1</wait-interval-millis>
    <max-waiting-poll-requests>
    10
    </max-waiting-poll-requests>
    </properties>
    </channel-definition>
    In the Spring context, I am setting up the MessageBroker, MessageTemplate, and some custom wrapper code:
    <? 
    xml version="1.0" encoding="UTF-8"?>< 
    beans xmlns="http://www.springframework.org/schema/beans"
    xmlns:flex="http://www.springframework.org/schema/flex" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://www.springframework.org/schema/beans
    http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
    http://www.springframework.org/schema/flex
    http://www.springframework.org/schema/flex/spring-flex-1.0.xsd" >
    <flex:message-broker id="messageServiceBroker" />
    <flex:message-destination id="event-bus"
    message-broker="messageServiceBroker" channels="long-polling-channel"
    message-time-to-live="1000"
    subscription-timeout-minutes="5"
    throttle-inbound-max-frequency="500" throttle-inbound-policy="ERROR"
    throttle-outbound-max-frequency="500" throttle-outbound-policy="IGNORE" />
    <bean id="defaultMessageTemplate" class="org.springframework.flex.messaging.MessageTemplate">
    <property name="defaultDestination" value="event-bus" />
    <property name="messageBroker" ref="messageServiceBroker" />
    </bean>
    <bean id="MessagingServices" class="com.bofa.esm.utility.messaging.MessagingServices">
    <property name="messageTemplate" ref="defaultMessageTemplate" />
    <property name="destinationName" value="event-bus" />
    <property name="scheduler" ref="PersistentQuartzScheduler" />
    </bean></ 
    beans>
    The custom wrapper code is insignificant, but it basically creates a thread and posts a custom context over and over every minute.  The actual message is posted with this bit of code:
         messageTemplate.send(msgCtx);
    On the Flex side, I create a Channel and ChannelSet like thus:
    public  
    static function getMessageChannelSet():ChannelSet{ 
    if(messageChannelSet == null){messageChannelSet =
    new ChannelSet();
    //e.g. 'http://{server.name}:{server.port}/{context.root}/messagebroker/amfpolling';
    var messageURL:String = getBaseUrl() + MESSAGE_URL; 
    var channel:AMFChannel = new AMFChannel(MESSAGE_CHANNEL_NAME,messageURL);messageChannelSet.addChannel(channel);
    return channelSet;}
    And then, latter I create a Consumer and add the channelset to it:
    var  
    _messageConsumer:Consumer = new Consumer(); 
    var msgChannel:ChannelSet = RemotingUtility.getMessageChannelSet();
    var encrypted:Object = this.encrypt(_sessionModel.username, _sessionModel.password); 
    var token:AsyncToken = msgChannel.login(encrypted.userId, encrypted.password); 
    _messageConsumer.channelSet = msgChannel;
    _messageConsumer.destination =
    "event-bus";_messageConsumer.addEventListener(MessageEvent.RESULT,
    this.onMessage);
    The problem is, I dont get the messages from the server.  In fact, from what I can tell by the logs when I post a message from the server, it doesn't appear that anything is listening to the channel:
    09:32:03,106 INFO [MessagingServices] Posting message...
    09:32:08,184 INFO [STDOUT] [BlazeDS]Before invoke service: message-service
    incomingMessage: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3211B4-F80E-15FE-076C-00C963ED5D01
    timestamp = 1278595928184
    timeToLive = 0
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@159a771
    09:32:08,200 INFO [STDOUT] [BlazeDS]Before invoke service: message-service
    incomingMessage: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3211B4-F80E-15FE-076C-00C963ED5D01
    timestamp = 1278595928184
    timeToLive = 0
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@159a771
    09:32:08,200 INFO [STDOUT] [BlazeDS]Sending message: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3211B4-F80E-15FE-076C-00C963ED5D01
    timestamp = 1278595928184
    timeToLive = 1000
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@159a771
    to subscribed clientIds: []
    09:32:08,200 INFO [STDOUT] [BlazeDS]Sending message: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3211B4-F80E-15FE-076C-00C963ED5D01
    timestamp = 1278595928184
    timeToLive = 1000
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@159a771
    to subscribed clientIds: []
    09:32:08,200 INFO [STDOUT] [BlazeDS]After invoke service: message-service; execution time = 0ms
    09:32:08,200 INFO [STDOUT] [BlazeDS]After invoke service: message-service; execution time = 0ms
    09:32:08,200 INFO [STDOUT] [BlazeDS]After invoke service: message-service
    reply: null
    09:32:08,200 INFO [STDOUT] [BlazeDS]After invoke service: message-service
    reply: null
    09:32:12,075 INFO [STDOUT] [BlazeDS]Before invoke service: message-service
    incomingMessage: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3236D0-7B0D-182C-5632-C84FB4D1E215
    timestamp = 1278595932075
    timeToLive = 0
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@1a6595b
    09:32:12,075 INFO [STDOUT] [BlazeDS]Before invoke service: message-service
    incomingMessage: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3236D0-7B0D-182C-5632-C84FB4D1E215
    timestamp = 1278595932075
    timeToLive = 0
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@1a6595b
    09:32:12,075 INFO [STDOUT] [BlazeDS]Sending message: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3236D0-7B0D-182C-5632-C84FB4D1E215
    timestamp = 1278595932075
    timeToLive = 1000
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@1a6595b
    to subscribed clientIds: []
    09:32:12,075 INFO [STDOUT] [BlazeDS]Sending message: Flex Message (flex.messaging.messages.AsyncMessage)
    clientId = CC2B0D5D-B00A-CD8B-CE43-0430C8CC10DF
    correlationId = null
    destination = event-bus
    messageId = CC3236D0-7B0D-182C-5632-C84FB4D1E215
    timestamp = 1278595932075
    timeToLive = 1000
    body = com.bofa.esm.utility.messaging.SimpleMessageContext@1a6595b
    to subscribed clientIds: []
    09:32:12,075 INFO [STDOUT] [BlazeDS]After invoke service: message-service; execution time = 0ms
    09:32:12,075 INFO [STDOUT] [BlazeDS]After invoke service: message-service; execution time = 0ms
    09:32:12,075 INFO [STDOUT] [BlazeDS]After invoke service: message-service
    reply: null
    09:32:12,075 INFO [STDOUT] [BlazeDS]After invoke service: message-service
    reply: null
    Shouldn't the "subscribed clientIds: []" have something listed as subscribed?  What am I missing?

    I made some modifications to the code section that registers the Consumer:
      Alert.show(
    "onRegister running","AppShellMediator",Alert.OK); 
      var _messageConsumer:Consumer = new Consumer(); 
      var msgChannel:ChannelSet = RemotingUtility.getMessageChannelSet();  _messageConsumer.channelSet = msgChannel;
      _messageConsumer.destination =
    "event-bus";  _messageConsumer.addEventListener(MessageEvent.RESULT,
    this.onMessage);  _messageConsumer.subscribe(
    "MessagingClient"+Math.random()); 
    if(_messageConsumer.connected)      Alert.show(
    "Message Channel is connected","AppShellMediator",Alert.OK); 
      if(_messageConsumer.authenticated)      Alert.show(
    "Message Channel is authenticated","AppShellMediator",Alert.OK); 
      if(_messageConsumer.subscribed)      Alert.show(
    "Message Channel is subscribed, clientId: "+_messageConsumer.clientId,"AppShellMediator",Alert.OK);
    I am now calling the subscribe method, then testing to see if the consumer is connected, authorized, and subscribed.  The first two return True, the last one does not.  So, despite the call to subscribe(), the Consumer is not subscribed.  Is there a way to figure out why?  Possibly there was an error somewhere?

  • Java Webservice and Flex

    Hello All,
    I am stuck at getting webservice result from flex. I have
    created a webservice which has following method:
    @WebMethod
    public String Login(@WebParam(name = "userID") String
    userID, @WebParam(name = "password") String password) {
    // TODO Store privilege and user ID in session
    String privilege =
    UserManager.getInstance().validateUserLoginInfo(userID,password);
    return privilege;
    I was getting correct response from this service(as object
    format) untill I defined
    @WebResult(name="userPrivilege") in the method. after that I
    am getting null if I defined Web service defination in flex MXML as
    follows:
    <mx:WebService id="wsLogin"
    service="NMSMainServiceService" port="NMSMainServicePort"
    wsdl="
    http://localhost:8080/NMS/NMSMainService?wsdl"
    >
    <mx:operation name="Login"
    result="loginResultHandler(event)"
    fault="loginFaultHandler(event)">
    <mx:request>
    <userID>{userID.text}</userID>
    <password>{password.text}</password>
    </mx:request>
    </mx:operation>
    </mx:WebService>
    I don't know any reason, then if I define resultFormat="xml"
    or "e4x" I do get response by event.result however I can not access
    a node in the response array or xml.
    private function loginResultHandler(event:ResultEvent):void{
    //var myXML:Array = event.result as Array;
    var can:String = event.result.LoginResponse.userPrivilege;
    Alert.show(can);
    is giving me error saying : A term is undefined. When I
    checked response in log file it is :
    <ns2:LoginResponse xmlns:ns2="
    http://service.nms.satpath.com/"
    xmlns:S="
    http://schemas.xmlsoap.org/soap/envelope/">
    <userPrivilege>manager</userPrivilege>
    </ns2:LoginResponse>
    I have created namespace too
    private var ns2:Namespace = new Namespace("
    http://service.nms.satpath.com/");
    private var S:Namespace = new Namespace("
    http://schemas.xmlsoap.org/soap/envelope/");
    but no luck.
    I would really appreciate if somone could help me this,
    please do let me know if you need any more information. Please
    help, its urgent.
    Thanks.

    Thanks for your response Sujit, however in this case I can
    not store complex results like this:
    <S:Envelope xmlns:S="
    http://schemas.xmlsoap.org/soap/envelope/">
    <S:Body>
    <ns2:GetUsersResponse xmlns:ns2="urn:satpath/service">
    <users>
    <active>No</active>
    <address>----</address>
    <createdBy>----</createdBy>
    <department>----</department>
    <email>----</email>
    <loginID>admin</loginID>
    <phone>----</phone>
    <privilege>Manager</privilege>
    <superVisor>----</superVisor>
    <userName>----</userName>
    </users>
    <users>
    <active>No</active>
    <address>----</address>
    <createdBy>----</createdBy>
    <department>----</department>
    <email>----</email>
    <loginID>meena</loginID>
    <phone>----</phone>
    <privilege>Network Operator</privilege>
    <superVisor>----</superVisor>
    <userName>----</userName>
    </users>
    </ns2:GetUsersResponse>
    </S:Body>
    </S:Envelope>
    Actually I have a data grid in which I am displaying results
    obtained by web service, result is a bean which has all the details
    related to a user in the system like userName, loginID, Address,
    phone etc. I am getting all the result and displaying them by
    <mx:Datagrid dataprovider="myService.myOperation.lastResult"
    > and its working fine.
    Now I want to display 3 columns (user name, log in id and
    user privilege) when I click on one row I want to use states and
    transictions so that I can display user deatils (all other
    information obtained from the web service) for that I have to store
    the result somewhere possibly in a bean so that I can fetch it in
    the changed state( which is user detail) based on user has selected
    which row.
    I don't know how can I store the result in the bean at flex
    side, if I declare resultFormat as object I am unable to typecast
    it in some collection, if I take xml as result format soap headers
    are creating problem. Or should I follow some other approach?
    Please help its really urgent.
    Thanks for all the help & support.

  • Impossible JDNI problem with standalone java app and WAS

    I'm working with this IBM java application called Extended Search (ES) -. I know that not many people will have used it, but my problem is more to do with JNDI and JREs - becoming desperate now as I have a deadline looming! Hoping someone can help.
    Anyway, I have to write a class that is loaded by Extended Search which does a JNDI lookup to an EJB running on a WAS server on the same machine.
    ES runs on what looks like a cut-down version of the IBM JRE.
    Despite ES itself being an EJB client, my class, within the context of ES, does not have access to naming.jar and all the other libraries I need to set the intial context and make the JNDI call.
    If I run my class outside of ES from eclipse, with the required JARs as recommended by other posters to this forum, I can easily make the call. I have done versions that work with either the Sun JRE or the IBM JRE that comes with Eclipse.
    In ES, I have attempted to copy in the jars I need as follows:
    - ecutils.jar
    - ibmorb.jar
    - j2ee.jar
    - lmproxy.jar
    - naming.jar
    - namingclient.jar
    - ras.jar
    - sas.jar
    - wsexception.jar
    - wssec.jar
    I resolved all of the noclassdeffound errors I was getting on trying to make the JNDI lookup, but now it appears to be calling a method from an object in the ES cutdown JRE which does not exist:
    An error occurred:
    com.ibm.CORBA.iiop.ORB: method createObjectURL(Ljava/lang/String Lcom/ibm/CORBA/iiop/ObjectURL; not found
    java.lang.NoSuchMethodError: com.ibm.CORBA.iiop.ORB: method createObjectURL(Ljava/lang/String Lcom/ibm/CORBA/iiop/ObjectURL; not found
    at com.ibm.ws.naming.util.WsnInitCtxFactory.parseIiopUrl(WsnInitCtxFactory.java:1731)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.parseBootstrapURL(WsnInitCtxFactory.java:1475)
    at com.ibm.ws.naming.util.WsnInitCtxFactory.getInitialContextInternal(WsnInitCtxFactory.java:371)
    at com.ibm.ws.naming.util.WsnInitCtx.getContext(WsnInitCtx.java:102)
    at com.ibm.ws.naming.util.WsnInitCtx.getContextIfNull(WsnInitCtx.java:408)
    at com.ibm.ws.naming.util.WsnInitCtx.lookup(WsnInitCtx.java:131)
    at javax.naming.InitialContext.lookup(InitialContext.java:360)
    at com.ibm.bts.es.srv.links.CHIPESLink.search(CHIPESLink.java:162)
    This problem is driving me nuts. I find it hard to believe that its so difficult to make a call from one bloody IBM product to another, just because JNDI seems to require the entire WAS library dir to work and I don't understand why JNDI has to be so properitary to specifc appservers (sorry, just letting my frustration show there ;)
    Does anyone have any suggestions of how I can get round this? I have limited control over ES - and it won't even start up if I add the WAS lib dir to its classpath.
    Many thanks for any advice
    Marc

    i couldn't agree more.
    well, actually the core was server isn't too bad - but its ludicrous that application clients have to be this complicated. if sun can manage it with only two jars, then why does ibm need 17???
    i tried adding the extra ones from the list, but same problem. i can't help thinking i've brought over older versions of the corba classes, but its hard to identify what jar is responsible for what.
    i've logged a bug with ibm support now. considering ditching the ejb and placing the jdbc code directly into the extended search classes. but if i do that, i lose my connection pooling etc - performance is going to be rubbish.
    i can't believe i've spent days working on one jndi call. :(

  • System Connection Test was not fully tested but all web dynpro java app and Transaction iviews working fine.Any problem for this Kind of activity Lets give some idea.

    System Connection Tests
    You can test the connectivity to the backend application represented by the current system object. Choose the relevant tests.
    Note: The test is based on the properties currently defined in the system object. It does not check if the system properties are correct.
    System Connection Tests
    Test Name
    Description
    Status
    SAP Web AS Connection
    Tests the connection to an SAP Web Application Server
    ITS Connection
    Tests the connection to an SAP ITS server
    Connection Test for Connectors
    Tests the connection to a backend system using an associated connector
    Test
    Clear Results
    Results
    SAP Web AS Connection
    Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether a SAP system is defined in the system object
    4. Validate the following parameters: WAS protocol; WAS host name
    5. Checks if the host name of the server can be resolved.
    6. Pings the WAS ping service; works only if the service is activated on the ABAP WAS.
    7. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. The system object represents an SAP system
    4. The following parameters are valid: Web AS Protocol (http) Web AS Host Name 
    5. The host name ssprdxi.stylespasapnet.com was resolved successfully.
    6. The Web AS ping service was pinged successfully.
    7. An HTTP/S connection to was obtained successfully.
    ITS Connection
    Test Details:
    The test consists of the following steps:
    1. Checks the validity of system ID in the system object.
    2. Checks if the system can be retrieved from the PCD.
    3. Check whether the system object has a valid system alias
    4. Check whether a SAP system is defined in the system object
    5. Validate the following parameters: ITS protocol; ITS host name
    6. Checks if the host name of the server can be resolved.
    7. Checks HTTP/S connectivity to the defined back-end application
    Results
    1. The system ID is valid
    2. The system was retrieved.
    3. Retrieval of the default alias was successful
    4. The system object represents an SAP system
    5. The following parameters are valid: ITS Protocol (http) ITS Host Name ()
    6. The host name ssprdxi.stylespasapnet.com was resolved successfully.
    7. An HTTP/S connection to was obtained successfully.
    Test Connection with Connector
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results
    Retrieval of default alias successful
    Connection failed. Make sure that Single Sign-On is configured correctly
    regards
    Antony

    Hi Stefan,
    This correct see SAP Note [947081|https://service.sap.com/sap/support/notes/947081]
    If the locale for the Web Dynpro iView is changed in the portal (through portal personalization), this is not reflected in the running login session. The user needs to logoff and login again, in order to see the locale change in the Web Dynpro iView.
    Regards,
    Leo

  • Drag and drop file onto java app

    Hi,
    I would like to drag and drop a file from windows explorer onto a panel in my java app.
    All I need is that when the file is 'dropped', I can get a reference to the path of file.
    e.g.
    There is a file, C:\myFile.txt
    There is a String in my program called 'filePath'.
    I start my java app and dnd the file onto it.
    I want the path of the file to be assigned to the filePath String.
    I can then do more proccessing on the file which I already know how to do.
    Can anyone help.
    Thanks,
    Jim

    Tristan,
    I am stuck in the same place. Perhaps we could work on this together.
    I am trying to drag a single item from a JList to a text editor, Word, etc. I have two problems:
    1) I can't seem to get just the item in the JList to drag. It wants to drag the entire JList component.
    2) How does one define the remote application as the drop target? Have not found any examples either.
    Is the drop target actually the system clipboard?
    Rp

  • Java app with web service and servlets

    Hi. I intend to make a java application which exposes some methods as a web service and as jsp/servlets. It's core functionality is not really web centric, but its more a java app with a web tier. I am not sure about how the architecture of such a system would look like using the java platform. I currently see three options:
    1. Run everything in a servlet container like tomcat. I hesitate to do this because i would be putting a lot of functionality which isn't about the web into a servlet container. Also, I have a lot of application scope data that is maintained and shared by all servlets/web services. However, it would be really easy just to put everything into tomcat and use ServletContext to maintain some global objects.
    2. Use a Java EE to seperate application/business logic and data access into session beans and entity beans. I hesitate to this because it seem a bit overkill because the system isn't very big or complex right now. It also means that I would have to learn to use EJB's instead of just using some POJOs.
    3. Run the web tier in a servlet container and the main app in a separate JVM, and then connect the tier by sending serialized objects over TCP sockets. I don't like writing network code but at least there is some separation of the tiers.
    What would you do? Maybe I have overlooked a much better solution to the problem?
    Let me just say that the system is the product of a student project spanning one semester, so it's important to choose the RIGHT solution (architectural-wise) instead of the something quick and dirty that is hard to defend.

    jschell wrote:
    Run everything in a servlet container like tomcatTomcat is a JEE container.Now I am confused. Maybe you mean Glassfish? Tomcat is definitely a web container(?).
    Let me just say that the system is the product of a student project spanning one semester, so it's important to choose the RIGHT solution (architectural-wise) That pretty much makes it impossible then.
    1. A "Right" solution is generally only proven by time.
    2. It requires a great deal of knowledge about the business domain.Yeah, you are right. Let be try to rephrase it. What solution (pattern) would be considered the most common or appropriate when you have a Java App and want to expose a few methods as a website and web service?
    I hesitate to do this because i would be putting a lot of functionality which isn't about the web into a servlet container. Also, I have a lot of application scope data that is maintained and shared by all servlets/web servicesHuh? Do you already have an exposed web service? If you already have a server which other clients communicate then where does this functionality that you don't want to be tomcat running now? Or where do you think that you want to run it? And if you are or do run it somewhere else then tomcat could access it the same way any other client accesses that server.Sorry, that sentence was written badly. I don't have anything right now. What I meant to write was that I will have a lot of application scope data, objects that are kept in memory as long as the server is running, shared by multiple servlet instances.

  • Java apps lock up on Windows 7 64 bit

    3rd party Java apps and apps I've developed all seemed to be very buggy on one of my 64 bit windows 7 machines with JRE 1.6. I can run them in an XP VM on the same computer with no problems. Some apps lock up immediately and others it's just a matter of time before they lock up. I've searched and searched but haven't seen this issue anywhere else and don't have this problem on my 64 bit Windows 7 machine at home. Does anyone have any idea what might cause this? I'm at a loss and since it's my work PC with the problem I have to test Java apps in the XP VM which is a pain.
    Edited by: ddevil63 on Jul 26, 2010 9:57 AM

    3rd party Java apps and apps I've developed all seemed to be very buggy on one of my 64 bit windows 7 machines with JRE 1.6. I can run them in an XP VM on the same computer with no problems. Some apps lock up immediately and others it's just a matter of time before they lock up. I've searched and searched but haven't seen this issue anywhere else and don't have this problem on my 64 bit Windows 7 machine at home. Does anyone have any idea what might cause this? I'm at a loss and since it's my work PC with the problem I have to test Java apps in the XP VM which is a pain.
    Edited by: ddevil63 on Jul 26, 2010 9:57 AM

  • Java Errors when using my Java App via Remote Desktop

    I have a Java App that runs fine if I invoke it and run it on a windows xp machine "x".
    If I remote desktop connect to machine "x" from another windows machine "y"
    I get the errors and the Java App is not displayed correctly. It becomes unusable.
    While remotely connected if I terminate the Java App and restart it the App
    will run just fine and not generate any errors.
    Specifically the steps are:
    Open a cygwin shell.
    invoke the app...java -jar xxx.jar
    use the app on the machine, works fine without any exceptions.
    Leave the app running and go home...eat dinner...then
    VPN into the office
    Startup Windows Remote Desktop to the pc running the app.
    Start to use the app. Now the exception occur as I click on buttons/enter data into fields.
    Then I terminate the App.
    Then I restart the app... java -jar xxx.jar
    It works fine without exceptions.
    This app was developed using NetBeans 6.5
    The errors are:
    in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)
    at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsIconFactory$CheckBoxIcon.getIc
    onWidth(Unknown Source)
    at javax.swing.SwingUtilities.layoutCompoundLabelImpl(Unknown Source)
    at javax.swing.SwingUtilities.layoutCompoundLabel(Unknown Source)
    at javax.swing.plaf.basic.BasicRadioButtonUI.getPreferredSize(Unknown So
    urce)
    at com.sun.java.swing.plaf.windows.WindowsRadioButtonUI.getPreferredSize
    (Unknown Source)
    at javax.swing.plaf.basic.BasicButtonUI.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
    (Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
    Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
    n Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
    at javax.swing.GroupLayout.prepare(Unknown Source)
    at javax.swing.GroupLayout.minimumLayoutSize(Unknown Source)
    at java.awt.Container.minimumSize(Unknown Source)
    at java.awt.Container.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSi
    ze(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.minimumLayo
    utSize(Unknown Source)
    at java.awt.Container.minimumSize(Unknown Source)
    at java.awt.Container.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
    (Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
    Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
    n Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$SequentialGroup.setValidSize(Unknown Source)
    at javax.swing.GroupLayout$Group.setSize(Unknown Source)
    at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
    at javax.swing.GroupLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)

    Crossposted
    [http://forums.sun.com/thread.jspa?threadID=5421349&messageID=10892967#10892967]

Maybe you are looking for