Webstart not working with non standard port

I am using Java Web Start 1.0.1 coupled with JDK 1.3.1 to access a client application, from behind a firewall.
Webstart launches correctly, but gives me this error on trying to load the application
Description
======================
An error occurred while launching/running the application.
Title: Deal Entry Application - DV17
Vendor: BP
Category: Download Error
Unable to load resource: http://dlw1debs17.bpweb.bp.com:7001/dealentry.jsp
The problem is that, while i can successfully run and download the sample applications available at Sun's website, i am unable to launch this particular app. i have been assured that the port 7001 is open for connections.
Here are the rest of the details
Exception
========================================
JNLPException[category: Download Error : Exception: java.net.ConnectException: Connection refused: connect : LaunchDesc: null ]
     at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
     at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
     at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.downloadResources(Unknown Source)
     at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
     at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
     at com.sun.javaws.Launcher.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Wrapped Exception
===========================================
java.net.ConnectException: Connection refused: connect
     at java.net.PlainSocketImpl.socketConnect(Native Method)
     at java.net.PlainSocketImpl.doConnect(Unknown Source)
     at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
     at java.net.PlainSocketImpl.connect(Unknown Source)
     at java.net.Socket.<init>(Unknown Source)
     at java.net.Socket.<init>(Unknown Source)
     at sun.net.NetworkClient.doConnect(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.openServer(Unknown Source)
     at sun.net.www.http.HttpClient.<init>(Unknown Source)
     at sun.net.www.http.HttpClient.<init>(Unknown Source)
     at sun.net.www.http.HttpClient.New(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
     at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
     at java.net.HttpURLConnection.getResponseCode(Unknown Source)
     at com.sun.javaws.util.URLUtil.doesURLExist(Unknown Source)
     at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
     at com.sun.javaws.cache.DownloadProtocol.isLaunchFileUpdateAvailable(Unknown Source)
     at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)
     at com.sun.javaws.Launcher.downloadResources(Unknown Source)
     at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
     at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
     at com.sun.javaws.Launcher.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Here's the jnlp file
<?xml version="1.0" encoding="utf-8"?>
<jnlp
spec="1.0+"
codebase="http://dlw1rdbs17.bpweb.bp.com:7001"
href="refdata.jsp">
<information>
<title>Ref Data Application - DV17</title>
<vendor>BP</vendor>
<homepage href="http://global.bpweb.bp.com/"/>
<description>Ref Data Application - DV17</description>
<description kind="short">Ref Data Application - DV17</description>
<icon href="icon.gif"/>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se version="1.3.1" initial-heap-size="64M" max-heap-size="96M"/>
<jar href="rdmain-client.jar"/>
<jar href="xy.jar"/>
<jar href="wl61.jar"/>
<jar href="log4j.jar"/>
<property name="nextgen.jnlp.url" value="http://dlw1rdbs17.bpweb.bp.com:7001/refdata.jsp"/>
<property name="java.naming.factory.initial" value="com.bp.ist.arch.client.NextGenContextFactory"/>
<property name="nextgen.server.addresses" value="London,t3://dlw1rdbs17.bpweb.bp.com:7001" />
<property name="nextgen.help.url" value="http://dlw1rdbs17.bpweb.bp.com:7001" />
     <property name="compressed" value="true"/>
<property name="com.bp.ist.environment.envname" value="DV17" />
<property name="com.bp.ist.environment.serverlocale" value="LONDON" />
<property name="com.bp.ist.environment.appver" value="R2M3.1_REF_0204" />
<property name="com.bp.ist.environment.dbschema" value="UNSET" />
</resources>
<application-desc main-class="com.bp.ist.refdata.main.swing.RefDataAppController"/>
</jnlp>
If anyone has a solution to this, please help out, because i have been stuck on this for almost 3 days now.
Any suggestions will be sincerely appreciated.
Thanks
Karan

1.0.1 is an older version of Java Web Start, which has since seen versions 1.2, 1.4.2, and now 1.5.
This is probably a bug in the old (1.0.1) version of Java Web Start. Please try with a newer version.
/Dietz

Similar Messages

  • Why does Server Monitor not work with non-Xserves?

    Does anyone know why Server Monitor does not work with non-Xserve computers? We acquired a Power Mac for a server, based on there being no apparent difference except for the obvious. Turns out there are some differences after all.
    Do Power Macs lack some hardware components or is this just a software thing?

    God question, unfortunitly I dont have the answer but I would also like to know why the software only works for X-Serve....Is there any 3rd Party Software that is similar to "Server Monitor"?
    Thanks

  • Ip phone is not working with 802.1x port

    i can authenticate the pc using 802.1x, but its not working with ip phones...waiting for your kind reply..

    The switch is 4006 and the image is cat OS 7.3(2).
    The port configuration is
    set radius server X.X.X.X
    set radius key xxxxxx
    set dot1x system-auth-control enable
    set port dot1x 3/17 port-control auto
    set port dot1x 3/17 initialize

  • Terminal: Stored Remote Connection with non-standard Port?

    Hi,
    I am new to MacOS and I am amazed by the integrated terminal. However, I sometimes need to connect to servers which use a non-standard SSH port, for example, 2020. I know that I can manually connect, but for convinience, I'd like to have a saved remote connection including the non-standard port. Is this possible somehow?
    Thanks,
    Felicitus

    I did some experimentation, using Terminal.
    Terminal -> New Remote Connection -> Service -> [+]
    now enter your own new service which includes
    /usr/bin/ssh -p 50022
    I found I had to enter a bonjour entry to get it to accept my new service, but once I did, I was able to use that new service with the custom -p 50022 port value.
    Your mileage may vary. I still prefer iTerm.
    Oh yea. In the future, Terminal and Unix oriented questions are better asked in the Mac OS X Technologies > Unix Forum
    <http://discussions.apple.com/forum.jspa?forumID=735>

  • Airplay not working with non-apple router

    I use an airport express only for playing music in a remote location. It stopped working after I switched my main wireless router from a Time Capsule to a Linksys running Tomato USB firmware.
    The Express is set up as "join a wireless network" with the correct SSID and password. The light on the Express is green and the main router status page shows it is connected, but Airplay cannot see the Express from either iTunes on my macbook or my iPhone. Also I cannot see the device in Airport Utility. When I connect the Express to my computer with ethernet, Airport Utility can see it and so can iTunes.
    I have another Express hooked to the network via ethernet and everything works fine with that one.
    Surely Airplay should work with non-apple wireless routers. Any suggestions would be appreciated.
    thanks

    Factory reset the express, and try to make it join again...

  • Cisco Aironet FW 15.2 Does not work with Non-Cisco Media Bridges

    I have a Cisco Aironet 1142i that was just updated from 12.4(23c)JY to 15.2(4)JA1 (don’t think model matters as the issue seem to be the firmware) and now I cannot get my media bridges (3 different ones) to either connect to the 1142 AP or obtain and pass the DHCP addresses to other device connected to the built in switch. If I reload the 1142 AP firmware to 12.4, than this works fine. I have not seen anything in the release notes that changed how this works or if there is I could not find it.
    Does anyone know why this changed and if there is any settings that I need to enabled / disable?
    Any help on this would be greatly appreciated

    More info to add to this.
    AIR-AP1142N-A-K9 Hardware Version of v06 works with firmware 15.2.
    AIR-AP1142N-A-K9 Hardware Version v05 does not work with firmware 15.2, but will when downgraded to firmware 12.4.
    I'm also having this issue with Cisco Aironet 3602 Fw 15.2(2)JB and 3502 Fw 15.2(2)JB$ that's on a Cisco 2500 WLAN Controller Sw Ver. 7.4.100.0.
    Any help on this would be greatly appreciated

  • SMS relay not working with non-iMessage users?

    One of the features I'm most looking forward to in Yosemite is the ability to text people without iPhones. I attempted to do this tonight, but the message failed to send and the person's name was in red. I got the standard "message failed" note, like I get on my iPhone when a message doesn't go through, but I thought it should have gone through just fine.
    More info: the contact is in red, not blue or green, and when I type the phone number I get the "this contact is not registered with iMessage" error message. Of course it's not - the contact is not an Apple user!
    My iPhone is an iPhone 6 running iOS 8.0.2 and my Mac is running Yosemite 10.10.
    What am I doing wrong?
    Thanks!
    Michael M

    I am fortunate to report that it is, in fact, working for me, as evidenced by the fact that I sent and received an SMS to and from an Android user. There was a bit of a hiccup when I enabled SMS relay on my iPhone, as the code which was required popped up and then canceled itself. Once I canceled the entire process, and re-linked the two (Macbook Air and iPhone 6) the pairing and relay went off without a hitch.
    Try this: start from the phone, then the iMac. Only input the code in Messages on your iMac after the link is established. I have a feeling it might not truly be synced yet.

  • Automated Composite build/test not work with non-default version

    Hello,
    I have a BPEL composite and I am trying to setup maven and soapUI to build, deploy, test, and upon successful test, set it as the default version. The difficulty I am having is testing the composite before it becomes the default version. I am able to hit the endpoint using the full URL with the randomly generated ID in it using soapUI (see below), but not by using the shortened URL.
    Full URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT*soa_13954572-b91f-480d-88d2-037e92083d72/bpelprocess1_client_ep
    Shortened URL: http://soabpm-vm:8001/soa-infra/services/default/Project1!0.0.12-SNAPSHOT/bpelprocess1_client_ep
    I tried hitting the shortened URL outside of the maven build, just using soapUI, and the response is empty. However, if I then mark this new version as default (through EM), and then mark a previous version as default (let's say 0.0.11), then the shortened URL for 0.0.12 can be successfully hit.
    It seems to me then that before the shortened URL above can be used, that specific version must have been set as the default version at some point. This would make an automated maven/soapUI test of new version (but not default) quite difficult, as it would have to somehow retrieve the full URL.
    Is this a bug or can it be fixed with a config setting change?
    Here are the steps in the process, maven build (using the Oracle provided ant sca files):
    1. Compile
    2. Package
    3. Deploy, not as default
    4. Test the new version (using soapUI plugin)
    5. If successful tests, mark new version as default
    The problem is with step 4, can't determine what the full URL is and the shortened URL does not work.
    Thanks
    Ben

    I found a similar issue in Oracle's support site, Patch 13774839 (based on bug 13569816). I will try that out and post the results here.

  • NAT: Passive FTP with non standard port

    Hi all,
    I have an ASA 5515 and four FTP server. Currently I have everything configured properly for three of the server that I need. For the fourth I have two possibilities:
    1) use the IP configured for the external interface.
    2) use one of the ip used for other FTP but uses another port.
    Is possible option 1? I did not succeed.
    I was then trying to use this configuration:
    <public ip>: 2121 -> <internal ip> 21
    <public ip>: 2120 -> <internal ip> 20
    The problem is that I can just log in but not access to the folders.
    I changed the service policy as well but still not working:
    class-map inspection_default
    match default-inspection-traffic
    class-map FTP-2121
    match port tcp range 2120 2121
    policy-map global_policy
    class inspection_default
      inspect ftp
      inspect esmtp
      inspect h323 h225
      inspect h323 ras
      inspect http
      inspect netbios
      inspect pptp
      inspect rsh
      inspect rtsp
      inspect sip 
      inspect skinny 
      inspect sqlnet
      inspect sunrpc
      inspect tftp
      inspect xdmcp
    class FTP-2121
      inspect ftp
    Here is the output of sh service-policy:
    Global policy:
      Service-policy: global_policy
        Class-map: inspection_default
          Inspect: ftp, packet 186535, lock fail 0, drop 188, reset-drop 0
          Inspect: esmtp _default_esmtp_map, packet 6539637, lock fail 0, drop 0, reset-drop 0
          Inspect: h323 h225 _default_h323_map, packet 0, lock fail 0, drop 0, reset-drop 0
                   tcp-proxy: bytes in buffer 0, bytes dropped 0
          Inspect: h323 ras _default_h323_map, packet 0, lock fail 0, drop 0, reset-drop 0
          Inspect: http, packet 1581437285, lock fail 0, drop 0, reset-drop 0
          Inspect: netbios, packet 105420, lock fail 0, drop 0, reset-drop 0
          Inspect: pptp, packet 0, lock fail 0, drop 0, reset-drop 0
          Inspect: rsh, packet 7, lock fail 0, drop 0, reset-drop 0
          Inspect: rtsp, packet 3857828, lock fail 0, drop 0, reset-drop 0
                   tcp-proxy: bytes in buffer 0, bytes dropped 0
          Inspect: sip , packet 3, lock fail 0, drop 0, reset-drop 0
                   tcp-proxy: bytes in buffer 0, bytes dropped 0
          Inspect: skinny , packet 0, lock fail 0, drop 0, reset-drop 0
                   tcp-proxy: bytes in buffer 0, bytes dropped 0
          Inspect: sqlnet, packet 0, lock fail 0, drop 0, reset-drop 0
          Inspect: sunrpc, packet 0, lock fail 0, drop 0, reset-drop 0
                   tcp-proxy: bytes in buffer 0, bytes dropped 0
          Inspect: tftp, packet 0, lock fail 0, drop 0, reset-drop 0
          Inspect: xdmcp, packet 0, lock fail 0, drop 0, reset-drop 0
        Class-map: FTP-2121
          Inspect: ftp, packet 0, lock fail 0, drop 0, reset-drop 0

    Hi bro
    If you were you, to achieve this requirement, I wouldn't use MPF. To much work, for a simple requirement. What I would do is as shown below;
    static (inside,outside) tcp 202.188.1.14 2120 10.10.10.14 20 netmask 255.255.255.255
    static (inside,outside) tcp 202.188.1.14 2121 10.10.10.14 21 netmask 255.255.255.255
    access-list acl_outside permit tcp any host 202.188.1.14 range 20 21
    access-group acl_outside in interface outside
    Note: Please remove all the MPF commands that you've inserted, back to default.

  • L550/010 USB port not working properly, non-standard USB ports

    I wondering if anyone can shed some light on this strange problem I'm having with my laptop USB ports.
    Background.
    I have a USB device (CED-M2 USB Chronograph). The device comes with Windows 7 software to upload fps readings.
    The CED has a calculator style keyboard - so you can lookup data without the laptop.
    My L550 PSLWSA-01000Q, is running Windows 7 professional.
    Problem.
    When I connect the CED into the USB port the buttons on the CED no longer operate, As soon as the USB lead is disconnected the buttons work. Uploading the data doesn't work either. The buttons freeze occurs as soon as I plug into a powered USB port (even if user not logged into Windows and programs are not running).
    I've installed the upload program onto two PC's at home (Vista Home and Windows 7 Home) and both PC's connect to the CED and upload fine. Furthermore, the CED push buttons works perfectly! So, this leads me to think that the hardware or signals from the laptop USB ports is not standard.
    I've tried all three laptop ports (e-Sata/USB and normal USB ports), same problem.
    Any ideas what could be causing this problem?

    Hi Jerry
    Firstly, thanks for repsonding.
    All L550/010 USB ports appear to work well on other devices (Sierra Wirless card, HP optical mouse, HTC phone), doesn't matter which port (USB, Esata/USB) all works fine with these units.
    I've tried connecting the Chrono via a USB 4 port expander - same problem, no comms, chrono buttons locks up. Connect to Home PC running Vista Home and Windows 7 Home and works fine 9 - just can't take those to the range.
    The Chrono unit is self powered (9V Alkaline) and it's new, so USB supplied 5V is not a problem.
    The buttons seize whenever the laptop is powered up. Also, if the chono unit is powered down, connecting the USB lead to the laptop turns it on (wakes up). This wake up functions on both home desktop PC's and laptop (good), however, with the laptop I can't power down the Chrono as the buttons don't work.
    Whilst laptop connected, and rebooting the Laptop, the Chrono buttons will work just before the Press F2 for setup screen comes up - so could it be electrical.
    I've downloaded the latest BIOS from Toshiba and Intel chipset too - no change.
    I got the unit to connect once tonight - when I plugged my mouse in at the same time - USB configured for mouse, and whilst doing that the Chrono worked. Once mouse working, Chrono stopped. Can't repeat results.

  • Cfmail "failto" not working with non-existent internal email addresses

    We've hard-coded cfmail TO value in many places across many
    applications, i.e.
    <cfmail to="[email protected];[email protected];[email protected]"
    ...>
    Suppose when one of the users (user1,user2, user3) left
    company and his email address was removed from the MS Exchange
    server, cfmail would fail saying
    A problem occurred when attempting to deliver mail.This
    exception was caused by: javax.mail.SendFailedException: Invalid
    Addresses; nested exception is: class
    javax.mail.SendFailedException:
    550 5.1.1 User unknown
    in the server exception log and cfmail wouldn't report the
    error to the email address of "failto".
    So I'm wondering if it's possible to have cfmail ignore the
    bad one(s) and continue to send the email? Or is there anything I
    should do with the Exchange server?
    Advice is much appreciated.

    Thank you, Dan.
    Sorry, what I meant by "non-existent" is not quite
    straightforward. Let me explain this way:
    I observed the problem only occurred to emails of our
    company. For instance: our company's email address ends with
    @abc.com.
    my email address: [email protected]
    my previous colleague's address: [email protected] (he's gone and
    the email is invalid / deactivated now)
    my client's email: [email protected] (used to be valid)
    If I code this way:
    <cfmail to="[email protected]" failto="[email protected]"...>
    "failto" does work and I got the email.
    but if these:
    <cfmail to="[email protected]" failto="[email protected]"...>
    <cfmail to="[email protected];[email protected]"
    failto="[email protected]"...>
    I never got emails reporting the failure but error lines in
    the mail log and the exceptions log which read:
    "Error","scheduler-3","01/28/09","11:55:32",,"Invalid
    Addresses"
    "Error","scheduler-3","01/28/09","11:55:32",,"Invalid
    Addresses"
    javax.mail.SendFailedException: Invalid Addresses;
    nested exception is:
    com.sun.mail.smtp.SMTPAddressFailedException: 550 5.1.1 User
    unknown
    at
    com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1196)
    at
    com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:584)
    at coldfusion.mail.MailSpooler.deliver(MailSpooler.java:832)
    at
    coldfusion.mail.MailSpooler.sendMail(MailSpooler.java:731)
    at
    coldfusion.mail.MailSpooler.deliverStandard(MailSpooler.java:1021)
    at coldfusion.mail.MailSpooler.run(MailSpooler.java:986)
    at coldfusion.scheduling.ThreadPool.run(ThreadPool.java:201)
    at
    coldfusion.scheduling.WorkerThread.run(WorkerThread.java:71)
    Caused by: com.sun.mail.smtp.SMTPAddressFailedException: 550
    5.1.1 User unknown
    at
    com.sun.mail.smtp.SMTPTransport.rcptTo(SMTPTransport.java:1047)
    ... 7 more

  • Ds ftp with non standard port

    I need to send data to a FTP server. I tried to use the "FTP Put Buffer" VI, but most of the time, I get the error 66 (it works without error once in a while). I tried with the data socket functions and it works well. However, I dont seem to be able to use a port other than 21. I tried the following syntax:
            ftp://user:[email protected]:2222/file.txt[text]
    But the DS VI still uses port 21. Is it at all possible to use a different FTP port with the data socket VI?
    Message Edited by jfmorneau on 04-09-2008 04:05 PM
    Message Edited by jfmorneau on 04-09-2008 04:06 PM

    Hello JF,
    Thanks for your response!
    Datasocket VI:
    The following KnowledgeBase document indicates that FTP Control is assigned to Port 21, and that may be the reason that you are having issues using other ports.
    Which Port Numbers Can I Use with TCP and UDP?
    FTP VI:
    You mentioned that you get the error sometimes, but not always.  Could you provide some more details on this? 
    Are you able to ping the ftp server that you are trying to connect to without problems?  I suggest that you try other ftp servers as well and see if this error is specific to that particular server.  It isn't clear yet why you would be seeing this error even though the data appears to be transferred correctly. 
    Have a great day!
    Kameralina
    Ask NI (ni.com/ask)
    Search The KnowledgeBase
    NI Developer Zone
    Measure It. Fix It. ni.com/greenengineering/
    NI Vision ni.com/vision/

  • Messenger not working with non-apple cells after changing password iOS password

    I changed my password because apple decided to not accept my password simply trying to download an app and after i got home, i lost capabitilty of texting to non-iphones through the messenger app.
    It absolutely lost the capability i had before simply by changing my password.
    I tried relogging in in all my devices iphone, ipad, and macbook pro and though i can text fine on my iphone, i no longer can text outside of the apple world to android cell phone users.
    How do i regain connectivity to the rest of the world instead of just apples?!
    Thank you in advance.

    Hi,
    If the iCloud ID is the same one you use in Messages for the iMessages account then you need to change the password there and in all other devices.
    As you tend to be unable to change all devices at the same time the link between the iPhone number and th Apple ID tends to get lost which then means any Text Forwarding linking also gets broken.
    On the Mac Version Untick the Enable box for the iMessages account.
    On the iPhone remove the Apple ID and place the iPhone in Airplane mode for a good two minutes.
    Go back to the Messages settings after this and make sure the iPhone number Verifies.
    When this is done turn th Enable box back On on the Mac version.
    Untick the iPhone number as a Receive "ID".  This may make the Start Conversation From drop down disappear.
    Send an iMessages from the iPhone (it can only use it's number) to the Apple ID (Effectively the Mac)
    Send a reply.
    This will check that the iPhone  (Number) can Send and Receive.
    Now on the iPhone Add back the Apple ID to re-link them.
    This should cause the Pop up to appear on the Mac.
    If it does not Restart the Mac version.
    This should Enable the unticked iPhone number in the Receive At list and make the Start Form drop down appear.
    Now Reset the Text Forwarding.
    9:42 pm      Monday; March 23, 2015
    ​  iMac 2.5Ghz i5 2011 (Mavericks 10.9)
     G4/1GhzDual MDD (Leopard 10.5.8)
     MacBookPro 2Gb (Snow Leopard 10.6.8)
     Mac OS X (10.6.8),
     Couple of iPhones and an iPad

  • Firefox Version 11.0 not working with Yahoo! Babel Fish!

    I just updated Firefox to Version 11.0 on my Mac OS X Version 10.6.8. The '''Yahoo! Babel Fish''' still does not work with non-Roman based scripts, such as '''Russian''', '''Greek''', '''Chinese''', ''etc''.
    If you attempt to translate text in one of such scripts into English, both the input and output windows get garbled characters (which are supposed to be codes of some sort); if you attempt to translate English into one of these languages, you get a blank space.
    If I use '''Safari''' Version 5.1.4, however, '''Yahoo! Babel Fish''' works perfectly.
    Hope this problem can be solved soon.
    Thanks!

    I've had the same issues for the past couple of months. I did not see your question earlier in the day, so I posted a similar question here:
    https://support.mozilla.org/en-US/questions/923500
    @cor-el - He says it works fine in Safari. It works fine for me in Chrome or IE also. This is not an issue with the babelfish page. This is a Firefox issue.

  • @protocol doesn't seem to work with non-primitive arguments

    Any idea why this works.
    CustomProtocol1.h
    @protocol CustomProtocol1
    - (void) start:(int) offset;
    @end
    But this doesn't:
    CustomProtocol2.h
    @protocol CustomProtocol2
    - (void) start:(CustomClass*) custom;
    @end
    The only difference is that CustomProtocol1 uses a non-primitve argument. Here is the error I get for CustomProtocol2: "Syntax error before 'CustomClass'. Method definition not in @implementation context"
    It seems CustomProtocol2 has problems finding the CustomClass.h but if I add #import "CustomClass.h" into CustomProtocol2.h I get this error: "Cannot find protocol declaration for 'CustomProtocol2'"
    So far, I can only conclude that Objective-C @protocol does not work with non-primitives.
    Any help would be MUCH appreciated.
    Anthony

    The compiler doesn't know what CustomClass is. You have to tell it. However, it is a pointer and, hence, actually is a "primitive" (AKA POD - plain 'ole data) type. So, you need to forward declare CustomClass like so:
    @class CustomClass;
    @protocol CustomProtocol2
    - (void) start:(CustomClass*) custom;
    @end

Maybe you are looking for

  • My "Library" is missing in Finder. How do I get it to show up?

    My "Library" is not showing up when I bring up Finder. I was able to find the Library by Shift/Command/G while in Finder. When I found it, the word "Library" was greyed out and would not let me access it. However, when I dragged it to the sidebar, i

  • Channel Entitlement

    Hi guys, Is there any way on the website of telling exaxtly which channels I am entitled to on BT Vision? The short and tall of it is I ordered BT Vision Essentials to go alongside my BT Infinity package, I could get all of the 'Essential' channels b

  • I can´t access to itunes store in the ipad after install ios7

    I can´t access to itunes store in the ipad after install ios7

  • To Create Opportunity Relationships Programatically

    Hello Friends, Here my requirement is to develop a report by which the relationships needto be builded. I need to build below relations programatically to reflect in Relationship tab of Opportunity Transaction                         i) One Source Op

  • Java App Platform SDK install fails

    A few days ago I was able to install the Java App SDK, deploy test projects, etc. Then, for some unknown reason, I was not able to undeploy/remove. Out of frustration, I uninstalled the server, and tried to reinstall, but every attempt fails. This is