• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
First Deployment Help
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

First Deployment Help


  • Subject: First Deployment Help
  • From: Scott Winn <email@hidden>
  • Date: Wed, 2 May 2007 10:42:30 -0700

Hello Group, 

Sorry for cross posting in the dev list, but time is of the essence and this list seems to be where the action is.  I am having trouble getting my first WebObjects app deployed.  

Consultants wishing to make some money are welcome to contact me.  I need to get this app deployed by tomorrow 5/3/07.  

I am using XCode and Mac OS X Server 10.4.9 and FrontBase on a G5.

I went into my project directory with the terminal and compiled the project with . . . 
sudo xcodebuild install -configuration Deployment DSTROOT=/
sudo xcodebuild install -configuration WebServer DSTROOT=/ 

MyApp.woa made it successfully to /Library/WebObjects/Applications but there is no sign of WebServerResources in the /Library/WebServer/Documents/WebObjects.  (Need to move MyApp.woa to the folder manually, Problem 1)

I launched the above app by dragging MyApp (executable) in the MyApp.woa package to the terminal and hitting return.  It runs.  The browser auto launches (not sure why) and the URL is hostname.local:port/cgi-bin/WebObjects/MyApp.woa like a development build.  Any attempt to see it from the website's domain name fails.  I also get a JDBC Adaptor Exception when the database is queried.  (FrontBase Framework not available I expect, Problem 2)

wotaskd seems to be up and running (I can go to http://localhost:1085/ and see the xml anyway). 

Java Monitor is running.  

DNS is good (to the router at least) in forward and reverse lookup.  I have no local network DNS service running.  My server's hostname is not localhost.  /etc/hostconfig HOSTNAME=-AUTOMATIC-.  I remember reading about some Server Monitor issue if you didn't have a local DNS service and your hostname was different, but somehow (in my very limited understanding of all things server) it didn't seem to apply to my situation.  


First try to setup the app with Java Monitor. . .

Java Monitor will only take the server's local IP as a Host.  It can't find the server if I try to add a host with the site's domain name (that points to the router, that forwards port 80 to the server).  

The WO app is setup and running (or at least Java Monitor says it is), but . . . 

Clicking the Instance link gets "No instance available"
          http://<website>/cgi-bin/WebObjects/MyApp.woa/1
Clicking the App name link gets "The requested application was not found on this server"
          http://<website>/cgi-bin/WebObjects/MyApp
Clicking the IP address gets "Can't connect to the server"
          http://<Local IP Address>:2001/

I also get "Deaths" showing up after it has been running for a short time.  No idea why.  It is not like anyone is using it.  

Second attempt. . . 

I set the Router to pass port 1085 to my local server IP.  Now I can setup the site's domain name as a host in Java Monitor (and it shows my outside IP address under the hostname), but I can't start an instance.  In Detail View the On / Off switch keeps going back and forth.  

Third attempt . . 
I let the router get through to port 2001, where it seems to set the first instance.  Still no joy.  Not surprising since the Status switch in Detail View is still flipping on and off.  


I don't know what to try next.  I could use changeip and try to put the hostname back to localhost, but I'm not sure how to use it.  My IP was DHCP, now it is static (changed maybe a month or so back).  I'm not sure which IP to give changeip or how I could possibly  give it a former DHCP address.  I didn't run changeip when I went over from DHCP to static.  I don't know if that matters or not.  

The first two problems I mentioned don't seem to apply to the larger issue.  I have a very standard configuration here.  I'm not trying to do anything fancy, just make a WO app with a few extra frameworks available to the outside world.  

Thanks for any assistance.  

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

  • Follow-Ups:
    • Re: First Deployment Help
      • From: Ian Joyner <email@hidden>
  • Prev by Date: Re: Using WOPopupButton for filtering an array
  • Next by Date: Re: Custom Component Question
  • Previous by thread: AjaxSlider vertical
  • Next by thread: Re: First Deployment Help
  • Index(es):
    • Date
    • Thread