On 29/dic/08, at 12:57, Johann Werner wrote:
Hi Francesco,
Am 28.12.2008 um 11:36 schrieb Francesco Romano:
Hi..
I've to deploy my application. It's the first time I use WebObjects
and it's the first time too that I deploy a Web Application.
I'm using WebObjects 5.4.2, project Wonder and I'm developing on
WOLips.
My deployment machine is an iMac G5 with OS 10.4.11. I've installed
the WO 5.4 framework and wonder. (maybe in the future I'll try to
embed the frameworks.. )
You should embed all frameworks right from the beginning it's not
very complicated. And this will spare you from many headaches
especially if you develop with 5.4 and deploy on 5.3 upgraded
manually to 5.4.
I have to add this lines in build.properties, am I right?
embed.ProjectLocal=true
embed.External=true
embed.Local=true
embed.User=true
embed.System=true
embed.Network=true
And.. even if the deployment machine does not have the WOFramework the
app should work ?
Now.. I've two "problems" and needs for some advices..
First problem:
To build I just "right-clicked" on build.xml and Run as-> Ant build.
It creates a DIST directory with the app.
I copied the entire app in /Library/WebObjects/Applications.
Than I removed the WebServerResources and put it into /Library/
WebServer/Documents/WebObjects/Myapp.woa/Contents/
But if I run the app (I'm using JavaMonitors) every image/css in
not loaded..
Where are the URLs pointing to? Does it correspond to your
WebServerResources path? Have you set the correct permissions?
mmm... I did the following things:
1) copy the app in /Library/WebObjects/Applications
2) copy the WebServerResources to /Library/WebServer/Documents/
WebObjects/Myapp.woa/Contents/ (if I copy I can see the images and
css.. but to test if the app uses the documents located in the "right"
folder I deleted the images in the Application package and it doesn't
work)
3) Setting up the app in JavaMonitor
4) Turn on Apache (in SystemPreferences -> Sharing -> WebSharing)
5) open TCP 80 port in the router :)
I connect to http://myhost/cgi-bin/WebObjects/myApp
Francesco
jw
Where is the error?
Second Problem:
Logging..
I need some "basic" logging.. I mean.. someone logs in, operation
on the db (maybe..)...
Now it's logging everything... and this is too much!!
How can I reduce the logging?
This in an example:
And.. I put the Logs into /Library/WebObjects/Logs
Is there a way to rotate logs, limit the number of files, etc.. ?
Than...
Because it's my first time, there are some "advices".. (I don't
know.. security, configurations,...)
(As I said I'm deploying with JavaMonitor, and the standard Apache
on Tiger)
Thanks.
Francesco
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com
)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/jw%40oyosys.de
This email sent to j...@oyosys.de
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-deploy mailing list (Webobjects-deploy@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-deploy/archive%40mail-archive.com
This email sent to arch...@mail-archive.com