Re: First Deployment Help
Re: First Deployment Help
- Subject: Re: First Deployment Help
- From: Scott Winn <email@hidden>
- Date: Wed, 2 May 2007 17:47:56 -0700
On May 2, 2007, at 4:22 PM, Sacha Michel Mallais wrote:
On May 2, 2007, at 3:59 PM, Scott Winn wrote:
On May 2, 2007, at 1:39 PM, Chuck Hill wrote:
Try
./MyApp -WOPort 2001 -WOHost <hostname>
Yea! Well, the kludge works with -WOHost <hostname> and WOPort
specified. Frameworks seem Ok. The exception I saw before was
application related, the DB framework is intact. Images are there
too. Some of the fancier CSS Javascript isn't working though, but
I'm not really concerned with that at the moment.
Now how do I get Java Monitor to "do the right thing"?
I tried setting up localhost and <hostname> as my Java Monitor
host. When I configure the app, it will run, but I can't connect
to it as before. If I put -WOHost argument into JM's application
setup the log says "can't find address for <myhostname> using
localhost instead". JM still won't recognize the server if I give
it my mywebsite.com address unless I expose port 1085 to the wide
world.
Thanks for the continued assistance. I am still up the creek, but
at least now I have a rather wide stick as a paddle substitute.
Hi Scott, I haven't been following this thread very closely,
Thanks for the assistance. I really appreciate the way you, Chuck
and some others in the list are willing to lend a hand.
This is the simplest possible configuration (I think). Web, App,
Database are all on the same Mac OS X Server. It's is connected to a
router with port forwarding enabled on port 80 (no SSL yet). There
is no local DNS service running.
Briefly, here is the problem. . .
I can't setup my app in Java Monitor so the outside world can see
it. I can't use mydomain.com as the JM host because it can't find
it. If I open port 1085 on the router and use mydomain.com as the JM
host it can find it, but app instances won't start.
If I use localhost as the host in JM, it accepts it, and app
instances will start, but I have no outside connection -- http://
mydomain.com/cgi-bin/WebObjects/MyApp gets application not found.
but this problem sounds like you're not using the canonical host
name in your configuration. You shouldn't be using an external
alias like "www.mydomain.com", instead you should be using
"mycleverinternalhost.mydomain.com",
I'm not using www. I have tried to use mydomain.com, but Java
Monitor is unable to find wotaskd, unless I open up port 1085 on the
router. I'm told that should not be necessary. There is nothing
local that I know of that points mydomain.com at the server.
especially if the external alias maps to a different machine, like
a firewall.
The external alias maps to a little router box. I use port
forwarding to get web traffic to the server.
What host name are you using? On the server that runs your apps,
what does "host" return from terminal?
hostname on the server's terminal returns "server1.local"
domainname on the server's terminal returns a blank line
host <website without the "www"> returns <router's static IP>
host <router's static IP> returns <website without the "www">
host <local IP> returns "Not Found"
host <server1.local> returns "Not Found"
Thanks for taking a look,
Scott
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden