Do you have any java process running? ps auxww | grep java
Hi,

Yes I did manage to connect on a direct port to JavaMonitor, however not on 56789. Only on the port it gives me when I run from the command line.

I did all that with the scripts and after reboot:

Last login: Mon Nov  9 14:59:37 2009 from 192.168.1.50
[r...@localhost ~]# chkconfig --list webobjects
webobjects      0:off   1:off   2:on    3:on    4:on    5:on    6:off
[r...@localhost ~]#

However it doesn't seem like the apps are launched and I can't connect to JavaMonitor on 56789.

Regards,
David.

On Nov 9, 2009, at 2:36 PM, Pascal Robert wrote:


Le 09-11-09 à 07:35, David Griffith a écrit :

Hi,

Thanks for that. I didn't change the port and I guess it would probably connect on that, but I am trying to do it through Apache without any specified port. I don't have a GUI interface or browser on the server (@192.168.1.10). It's running on CentOS 5. I am trying to connect directly from my Mac to the JavaMonitor on the server through Apache using the following link:

http://192.168.1.10/app/WebObjects/JavaMonitor.

To do that, you need to need to connect to JavaMonitor on port 56789 and add JavaMonitor as a regular WO application launched by wotaskd.

More importantly, I'm trying to figure out how to make wotaskd and JavaMonitor start automatically at startup. There used to be a WOServices script for this but I don't see it in the 5.4.3 files that downloaded by WOInstaller. Also, I have used a sample script that I found on one of the documents on wiki.objectstyle which I think should start them but I still can't access JavaMonitor.

If you followed the instructions I wrote in the wiki, JavaMonitor is started on port 56789, but like John said, you also need to add the script with chkconfig so that wotaskd and JavaMonitor are started when you reboot.

When I run them from the command line, I get this:

The URL for webserver connect is:
http://localhost/cgi-bin/WebObjects/wotaskd.woa/-1085

Which makes me think that there may be something missing in the Apache config file too, as it should be showing /app/WebObjects, not /cgi-bin/WebObjects.

Regards,
David.

On Nov 9, 2009, at 1:22 PM, Bogdan Zlatanov wrote:

Hi David,


JavaMonitor starts at port 56789 by default. If you haven't made any changes to that, http://192.168.1.10:56789/app/WebObjects/JavaMonitor should do the trick.


Cheers


On 9 Nov 2009, at 14:07, David Griffith wrote:

Hi,

Yeah I've installed the prebuilt one now and I'm trying to get wotaskd and JavaMonitor to load on startup but no idea how. I've used some of the script that I've found on wiki.objectstyle, have chmod +x them, put them in init.d and created a symlink from rc3.d but they just don't seem to start.

Also, I have changed the default /cgi-bin/webObjects to /app/ WebObjects and when I type:

http://192.168.1.10 I get the Apache page, that's working.

When I type:

http://192.168.1.10/app/WebObjects/JavaMonitor, I get:

The requested application could not be found on this server

Which seems to indicate that it is actually using the mod_WebObjects file but I just can't get JavaMonitor to appear. Both wotaskd and JavaMonitor do start ok if I run them from the command line.

Not sure where to go next...

Dave.

On Nov 8, 2009, at 4:25 PM, Joe Little wrote:

I recall having to adjust the make file in too locations, force the
gcc somewhere else. But Pascal is correct in that there are also
prebuilt one's available. I'm thinking I should reconsider packaging
though and perhaps remake my RPMs available at some point.

On Sat, Nov 7, 2009 at 11:59 AM, David Griffith <da...@infinityspain.com > wrote:
Hi Joe,

Yes I have already done that. I did manage to get it to complete the 'make' command by running it from the Adaptor directory and not from the Apache2.2 directory (it wouldn't run from there) but I think I am perhaps missing some settings in the make.config. Firstly, should the make.config be copied into the Apache2.2 directory to allow it to run from there? Then, even though it doesn't specifically say in the instructions I was following below, I think I need to tell the make.config where my apache modules are but I'm having
trouble determining that path.

I'm using CentOS 5.4 with the bundled Apache 2.2.3.
The only place I can seem to locate mod_WebObjects.la, which it clearly is looking for, is in the following directory after installing WO 5.4.3:

/opt/Library/WebObjects/Adaptors/Apache2.2/.libs/mod_WebObjects.la

Is this the directory it's looking for, or rather is that the appropriate
file to use?

Regards,
David.


On Nov 7, 2009, at 4:22 PM, Joe Little wrote:

On Sat, Nov 7, 2009 at 2:00 AM, David Griffith <da...@infinityspain.com >
wrote:

Sorry, I found apxs but this is the error I'm getting:
apxs -i -a -n WebObjects mod_WebObjects.la
/usr/lib/httpd/build/instdso.sh SH_LIBTOOL='/usr/lib/apr-1/build/ libtool'
mod_WebObjects.la /usr/lib/httpd/modules
/usr/lib/apr-1/build/libtool --mode=install cp mod_WebObjects.la
/usr/lib/httpd/modules/
libtool: install: `mod_WebObjects.la' is not a valid libtool archive
Try `libtool --help --mode=install' for more information.
apxs:Error: Command failed with rc=65536

You need to force the CC var to be CC=gcc

http://wiki.objectstyle.org/confluence/pages/viewpage.action?pageId=196936&navigatingVersions=true




On Nov 7, 2009, at 10:35 AM, David Griffith wrote:
Hi all,
Following the instructions at:

http://wiki.objectstyle.org/confluence/display/WO/Installing+WO+5.3+or+WO+5.4+on+Linux
Building the Apache WO Module, I'm running into this problem:

/usr/local/apache/bin/apxs -i -a -n WebObjects mod_WebObjects.la

I get:
-bash: /usr/local/apache/bin/apxs: No such file or directory
I have gcc installed but I can't figure out what I should install to be
able
to use apxs.  I have Apache 2.2.3 installed and working.
Is it just a matter of finding and downloading and
installing apache2-threaded-dev for that version of Apache?
Anyone know where I can find that installer?
Regards,
David.



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:

http://lists.apple.com/mailman/options/webobjects-dev/david%40infinityspain.com

This email sent to da...@infinityspain.com

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/jmlittle%40gmail.com

This email sent to jmlit...@gmail.com




_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/bzlat%40tuparev.com

This email sent to bz...@tuparev.com

Bogdan Zlatanov,
Tuparev Technologies Bulgaria Ltd.





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/probert%40macti.ca

This email sent to prob...@macti.ca

----
Pascal Robert
prob...@macti.ca

AIM: MacTICanada
Twitter : MacTICanada
LinkedIn : http://www.linkedin.com/in/macti




----
Pascal Robert
prob...@macti.ca

AIM: MacTICanada
Twitter : MacTICanada
LinkedIn : http://www.linkedin.com/in/macti


_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to