Re: Re: Re: intranet vs. internet

Posted by Hank Ratzesberger on
URL: https://discuss.orbeon.com/intranet-vs-internet-tp43987p43993.html


Good news and good luck!

--Hank

On Jun 8, 2009, at 12:13 AM, RuiRosado wrote:

>
> Thanx very much for the tip, Hank.
> Indeed the server was not recognising itself from the "inside".
> So I created hosts  in c:\windows\system32\drivers\etc on the  
> server, and
> added:
>
> 127.0.0.1   kantoor.rosado.nl
>
> Now everything works fine.
> I will solve this in DNS later...
> Pfff ... now I am confident for my presentation of tonight!
>
> Thank you again.
> Cheers,
> Rui
>
>
> Hank Ratzesberger wrote:
>>
>>
>> If I may so rudely top post ;)
>>
>> Thanks for the notes.  I'm just back from a graduation and
>> catching up.
>>
>> I notice when I ran the government forms from the URL
>> you provided, that I get the "Connection refused: connect"
>> error. In the stack trace ("Details") I see that error
>> occurred on the XML element:
>>
>> <xforms:instance id="resources-instance"
>> src="/forms/service/resources/DMV-14/en" xxforms:readonly="false"/>
>>
>> and that the Resource URL is
>>
>> http://kantoor.rosado.nl:8080/orbeon/forms/service/resources/ 
>> DMV-14/en
>>
>> and that the Description of the error is:
>>
>> reading external instance dispatching XForms event
>> event &#8594; xforms-link-exception target id &#8594; resources-model
>> dispatching XForms event event &#8594; xforms-model-construct
>> target id &#8594; resources-model initializing XForms containing  
>> document
>>
>> So it seems that that the server, when attempting to
>> initialize the XForms model, was unable to connect on
>> the url above, which initially, I would say means the
>> server cannot connect to "itself."  That is, the
>> model construct is performed on the server, not on
>> the client, although I notice that the server does
>> not attempt to connect to "localhost"
>>
>> I suspect, that when you connect to the server from
>> your intranet, the Resource URL is http://192.168.....
>>
>> As a "work around" would you try putting the full
>> intranet url in the src attribute:
>>
>> <xforms:instance
>>  id="resources-instance"
>>  src="http://localhost:8080/forms/service/resources/DMV-14/en"
>>  xxforms:readonly="false"/>
>>
>> Cheers,
>> Hank
>>
>>
>>
>>> Hi Hank,
>>>
>>> Thanx for your suggestions.
>>> The situation is as follows:
>>>
>>> At the client I have a win2k3 server where I installed tomcat 5.5  
>>> and
>>> orbeon. Servers name is Orion.
>>> On the internal network (192.168.10.*) everybody (about 25 PCs)  
>>> can run
>>> all
>>> the examples (http://orion:8080/orbeon/xforms-calculator, etc.)  
>>> plus some
>>> stuff I am developing for them.
>>> On this intranet they can also run the bookcast example and the
>>> government
>>> forms.
>>> I can also see the forms we are developing in Forms Builder (on  
>>> any pc in
>>> the network), etc.
>>>
>>> This office also has an external address in DNS, that points to the
>>> office,
>>> and the 8080 port is routed to Orion (the Trend Micro anti-virus  
>>> firewall
>>> passes port 8080 too, etc.)
>>> From the outside I can reach this server, and can run almost all the
>>> examples (apart from government forms, forms builder, xforms-
>>> controls,
>>> sandboxes).
>>>
>>> I simulated this situation so that you could also check it if you  
>>> want:
>>>
>>> I installed a server at my office (in this case a Win XP Pro pc)  
>>> with
>>> orbeon. Internally we can all run everything. If you would run  
>>> from an
>>> external PC you will get the orbeon error screen. It would be  
>>> nice if you
>>> would not get it, then I would know that my own PC is not OK... ;-))
>>>
>>> Please try: http://kantoor.rosado.nl:8080/orbeon/
>>>
>>> I will keep you informed, and will share a solution if I find some.
>>>
>>> Cheers,
>>> Rui
>>>
>>>
>>> Hank Ratzesberger wrote:
>>>>
>>>>
>>>> Hi,
>>>>
>>>> On Jun 3, 2009, at 7:25 AM, RuiRosado wrote:
>>>>
>>>>>
>>>>> Hi all,
>>>>>
>>>>> I installed orbeon on tomcat 5 (also on tomcat 6) and everything
>>>>> works fine
>>>>> out of the box. Orbeon is installed on a WinXP pc. In our  
>>>>> network I
>>>>> can
>>>>> connect to this pc and run orbeon and all the example  
>>>>> applications,
>>>>> etc.
>>>>> without any problems. So far so good (good == great!)
>>>>> When I log in from my home to the orbeon-pc at my office, some
>>>>> parts will
>>>>
>>>> Do you log in through a VPN or desktop sharing software?  Does this
>>>> mean that the server is only available on your intranet?
>>>>
>>>>
>>>>> not work: Form Builder, sandboxes, Government Forms and XForms
>>>>> Controls
>>>>> won't work.
>>>>> From my home all examples work on www.orbeon.com
>>>>> At my office I even switched off our external firewall and the  
>>>>> windows
>>>>> firewall on the orbeon-pc, but still cannot run (all) the examples
>>>>> from my
>>>>> home pc.
>>>>> One difference between my office and www.orbeon.com is that at the
>>>>> office we
>>>>> are using tomcat and things go through port 8080 and i suppose on
>>>>> orbeon.com
>>>>> they pass through port 80.
>>>>
>>>> This should only be an issue if a router or firewall is  
>>>> configured to
>>>> open or block the port, but not on the software.
>>>>
>>>>> I cannot see why that would not work?
>>>>>
>>>>> Please some hints? Have to do a presentation to a client on june
>>>>> 8th and it
>>>>> would be nice to do that through internet connection.
>>>>
>>>> I think I need a hint about how your network is configured, and
>>>> if the server has a public IP address.
>>>>
>>>> Cheers,
>>>> Hank
>>>>
>>>>>
>>>>> Thanx in advance.
>>>>> Rui Rosado
>>>>>
>>>>> --
>>>>> View this message in context: http://www.nabble.com/intranet-vs.-
>>>>> internet-tp23852455p23852455.html
>>>>> Sent from the ObjectWeb OPS - Users mailing list archive at
>>>>> Nabble.com.
>>>>>
>>>>>
>>>>> --
>>>>> You receive this message as a subscriber of the [hidden email]
>>>>> mailing list.
>>>>> To unsubscribe: mailto:[hidden email]
>>>>> For general help: mailto:[hidden email]?subject=help
>>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>> Hank Ratzesberger
>>>> NEES@UCSB
>>>> Institute for Crustal Studies,
>>>> University of California, Santa Barbara
>>>> 805-893-8042
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the [hidden email]
>>>> mailing
>>>> list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>>
>>>>
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/intranet-vs.-internet-tp23852455p23899263.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>> Nabble.com.
>>>
>>>
>>
>>
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing
>> list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>
> --
> View this message in context: http://www.nabble.com/intranet-vs.- 
> internet-tp23852455p23919286.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
Hank Ratzesberger
NEES@UCSB
Institute for Crustal Studies,
University of California, Santa Barbara
805-893-8042







--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws