Re: Where is the best dir to put my jdbc.jar?

2007-12-21 Thread Ulrich Köster
Nothing should go into the Extension folder. Maybe today all of your  
apps are for DBxy 4.0. If you put the driver under Extensions you have  
to move all your apps to 5.0 at once. Even if your intension is to  
upgrade only one of your apps to DBxy 5.0.


Never ever put anything under /Extension or /ext.

One exception is the eomodeler which requires your driver under / 
Extension.


Uli
Am 20.12.2007 um 23:44 schrieb Chuck Hill:

JDBC drivers should go in the Java Extensions directory.  The exact  
directory depends on the OS.


On Dec 20, 2007, at 2:31 PM, Ren, Kevin wrote:



/Library/java/Extentions/


That one on OS X


/Library/Webobjects/Extentsions


Not there.


My jvm dir like
/usr/lib/jvm/java-1.5.0-sun/ext
/usr/lib/jvm/java-1.5.0-sun/jre/lib/ext

Probably the second one, it really depends on what you use to launch  
the app.


Chuck

--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
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/ulrich.koester%40assense.com

This email sent to [EMAIL PROTECTED]


___
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 [EMAIL PROTECTED]


Re: Where is the best dir to put my jdbc.jar?

2007-12-21 Thread Anjo Krank
Actually, driver makers should try to maintain backward compatibility,  
so that is probably not THAT much of a problem (with postgres it  
wasn't at least).


But still you're right.

Cheers, Anjo

Am 21.12.2007 um 09:26 schrieb Ulrich Köster:

Nothing should go into the Extension folder. Maybe today all of your  
apps are for DBxy 4.0. If you put the driver under Extensions you  
have to move all your apps to 5.0 at once. Even if your intension is  
to upgrade only one of your apps to DBxy 5.0.


___
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 [EMAIL PROTECTED]


Strange Error in my App

2007-12-21 Thread Daniele Corti
Hi list,
   I've notice that my new App makes a strange error while starting from
Eclipse:

[2007-12-21 13:04:14 CET] main java.net.ConnectException: Connection
refused
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.init(Socket.java:310)
at java.net.Socket.init(Socket.java:125)
at com.webobjects._ideservices._PBXProjectWatcher._sendXMLToPB
(_PBXProjectWatcher.java:238)
at
com.webobjects._ideservices._PBXProjectWatcher.openProjectsAppropriateForFile
(_PBXProjectWatcher.java:41)
at com.webobjects._ideservices._IDEProjectPBX.pbxProjectAtPath
(_IDEProjectPBX.java:175)
at com.webobjects._ideservices._WOProject.ideProjectAtPath
(_WOProject.java:58)
at
com.webobjects.appserver._private.WOProjectBundle._isProjectBundlePath(
WOProjectBundle.java:193)
at com.webobjects.appserver._private.WODeployedBundle.bundleWithNSBundle
(WODeployedBundle.java:714)
at com.webobjects.appserver._private.WODeployedBundle.deployedBundle(
WODeployedBundle.java:98)
at com.webobjects.appserver.WOResourceManager._initAppBundle(
WOResourceManager.java:87)
at com.webobjects.appserver.WOResourceManager.init(
WOResourceManager.java:34)
at er.extensions.ERXResourceManager.init(ERXResourceManager.java:31)
at er.extensions.ERXApplication.createResourceManager(
ERXApplication.java:464)
at com.webobjects.appserver.WOApplication.init(WOApplication.java:608)
at er.extensions.ERXAjaxApplication.init(ERXAjaxApplication.java:24)
at er.extensions.ERXApplication.init(ERXApplication.java:471)
at supportv2.gestweb.app.Application.init(Application.java:13)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(
NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:308)
at java.lang.Class.newInstance(Class.java:261)
at com.webobjects.appserver.WOApplication.main(WOApplication.java:323)
at er.extensions.ERXApplication.main(ERXApplication.java:334)
at supportv2.gestweb.app.Application.main(Application.java:10)

This error occurs before the app read the Properties, exactly before this:

dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG
NSLog  - *** The application has found the following opened,
development-mode ProjectBuilderWO projects: (
com.webobjects.appserver._private.WOProjectBundle:projectName='GWSupportV2';
bundlePath='/Users/daniele/Progetti/Eclipse/GWSupportV2/build/GWSupportV2.woa';
projectPath='/Users/daniele/Progetti/Eclipse/GWSupportV2')
dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:41) WARN
NSLog  - Application project found: Will locate resources in
'/Users/daniele/Progetti/Eclipse/GWSupportV2' rather than
'/Users/daniele/Progetti/Eclipse/GWSupportV2/build/GWSupportV2.woa' .
dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:41) WARN
NSLog  - Application project found: Will locate resources in
'/Users/daniele/Progetti/Eclipse/GWSupportV2' rather than
'/Users/daniele/Progetti/Eclipse/GWSupportV2/build/GWSupportV2.woa' .
dic 21 13:04:15 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG
NSLog  - Creating LifebeatThread now with: GWSupportV2 54401
imac-g5-di-samuele-vinati.local/10.0.0.148 1085 3
dic 21 13:04:16 GWSupportV2[54401] (ERXProperties.java:836) INFO
er.extensions.ERXProperties  -
...

The app works normal, even after some minutes this error is throw:

dic 21 13:07:20 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG
NSLog  - WOWorkerThread id=0
socket=Socket[addr=/10.0.0.148,port=54404,localport=54401] Timed-out
reading from socket (exception ignored): java.net.SocketTimeoutException:
Read timed out; dropping connection
[2007-12-21 13:07:20 CET] WorkerThread0 java.net.SocketTimeoutException:
Read timed out
at java.net.SocketInputStream.socketRead0(Native Method)
at java.net.SocketInputStream.read(SocketInputStream.java:129)
at com.webobjects.appserver._private.WOHttpIO.refillInputBuffer(
WOHttpIO.java:131)
at com.webobjects.appserver._private.WOHttpIO.readLine(WOHttpIO.java
:181)
at com.webobjects.appserver._private.WOHttpIO.readRequestFromSocket(
WOHttpIO.java:242)
at com.webobjects.appserver._private.WOWorkerThread.runOnce(
WOWorkerThread.java:79)
at com.webobjects.appserver._private.WOWorkerThread.run(
WOWorkerThread.java:254)
at java.lang.Thread.run(Thread.java:552)

dic 21 13:07:21 GWSupportV2[54401] (ERXNSLogLog4jBridge.java:44) DEBUG

[Announce] Invite to try out our new Web2.0/WebObjects powered site

2007-12-21 Thread Paul Stringer
I'd like to share the relaunch of our WebObjects/Wonder/WOLips  
website 'Treasuremytext' plus an invitation to try out the closed  
beta with the WO Community. I figured this was the best place but  
apologies first if anyone finds it a bit off topic.


A quick background to this. Treasuremytext is a simple SMS text  
message storage service. This new version is an attempt to bring it  
bang up to date using all the recent developments in WebObjects.  
During its redevelopment WOLips, Wonder, the lists and Wiki resources  
have all played a big role and proven invaluable. A huge amount of  
thanks to everyone here and in the community for keeping WebObjects  
alive and kicking and providing so many great resources and tools.


Our main objective with this relaunch was to enhance the site using  
using modern web development techniques. Ajax, drag n drop, betas,  
invites, colourful gradients  reflections are all features of the  
site bringing it into a modern Web 2.0 era. We're really happy with  
the results and we hope this is a great showcase and example of the  
use of WebObjects.


Currently the site is only open to invites (of course, being a web2  
thing) but we've added an open invite for WebObjects people. To use  
it you need to do this:


1. Visit http://beta.treasuremytext.com
2. Click on 'Create Account'.
3. You'll be told to ask for an invite by email, here just use the  
email address '[EMAIL PROTECTED]' to get straight in  
through the back door.


Two caveats for its use. We are currently operating on a Dutch mobile  
GSM number so if your in the US it will only work with ATT and T- 
Mobile. The second if your on an iPhone you'll have to look around  
for a thing called SMSD for forwarding messages, this is a stopgap  
until the iPhone SDK becomes available after which we plan to do  
something much more integrated.


Regards the SMS integration if anyone else needs such a thing, I've  
implemented this in a framework using the Logica OpenSMPP Java  
library. I'd be happy to share after cleaning it up if anyone has any  
use for such a thing. It's only useful if you have an SMPP Gateway  
provider to integrate with but these are simple to get. You can do  
lots of fun stuff with SMS!


Paul Stringer
___
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 [EMAIL PROTECTED]


Re: [JavaEOGenerator] Bug when generating fetchSpecification methods

2007-12-21 Thread Oswaldo Bueno
Hi Art,
   Thanks for your reply.

   Non visible attribute - An attribute(database column) included
in the eomodel, but not marked as a class property.

   I have already tested EOEntity._propertyForPath(), and it returns
null for attributes not marked as class property.

Cheers,
Bueno

On Dec 20, 2007 7:54 PM, Art Isbell [EMAIL PROTECTED] wrote:
 On Dec 20, 2007, at 11:43 AM, Oswaldo Bueno wrote:

I'm using JavaEOGenerator
  http://developer.apple.com/samplecode/JavaEOGenerator to
  auto-generate my entity classes.
 
When it generates methods to access EOFetchSpecifications on the
  eomodeld, it suppresses bindings associated with a non-visible
  attribute.

 What's a non-visible attribute?  Do you mean a database column
 that's not modeled in your eomodel?  If so, why not include it in your
 eomodel but don't make it a class property?  That would prevent EOF
 from including it in any SQL it generates.  But I don't know whether
 EOEntity._propertyForPath() would also ignore it.  It would be quick
 and easy to test.

 Aloha,
 Art

  ___
 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/bueno.dev%40gmail.com

 This email sent to [EMAIL PROTECTED]

 ___
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 [EMAIL PROTECTED]


WO Developers in Mexico

2007-12-21 Thread Jose Rivera
Hi All



Sorry for the off-topic post to the list.

We are looking for developers in Mexico to help us with a WO project, please 
contact me off-list if interested.

Saludos

Jose




  

¡Capacidad ilimitada de almacenamiento en tu correo!
No te preocupes más por el espacio de tu cuenta con Correo Yahoo!:  

http://correo.yahoo.com.mx/

 ___
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 [EMAIL PROTECTED]


Re: Velocity EOGenerator+Eclipse+Wolips question

2007-12-21 Thread David Holt

Done:

http://wiki.objectstyle.org/confluence/display/WOL/Velocity 
+EOGenerator+%28Veogen%29


Steps 67

David


On 19-Dec-07, at 11:56 AM, Ren, Kevin wrote:


thanks, Tobias.
Could you put your pictures to the Velocity EOGenerator tutorial in  
wocommunity.org?


thanks


kevin

From: Tobias Crawley [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 19 December 2007 4:02 p.m.
To: Ren, Kevin
Cc: webobjects-dev@lists.apple.com
Subject: Re: Velocity EOGenerator+Eclipse+Wolips question

Kevin:

Select filters from the down triangle in the package explorer:

select.png


Then uncheck 'EOGenerator _Files':


filters.png

On Dec 18, 2007, at 9:48 PM, Ren, Kevin wrote:



Hi,

I installed the latest version WOLips with Velocity EOGenerator,  
created my eomodel, followed the instruction I could generate my  
java and subclass java file, like Category.java and  
_Category.java, All good.


But from my Eclipse platform I couldn't see the _XXX.java file, is  
there any property need to setup in Eclipse.


I think this is eclipse question,

thanks

Xiaowen(Kevin) Ren

Analyst Programmer
Channel Applications, Retail Applications
ANZ National Bank Ltd
Level 6 ASB Tower
2 Hunter Street
PO Box 1791
Wellington
Phone: 04 4944174
Fax: 04 8028696



?
This communication is confidential and may contain privileged and/ 
or copyright material. If you are not the intended recipient you  
must not use, disclose, copy or retain it. If you have received it  
in error please immediately notify me by return email, delete the  
emails and destroy any hard copies. ANZ National Bank Limited does  
not guarantee the integrity of this communication, or that it is  
free from errors, viruses or interference.


?___
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/tcrawley% 
40gmail.com


This email sent to [EMAIL PROTECTED]



This communication is confidential and may contain privileged and/ 
or copyright material. If you are not the intended recipient you  
must not use, disclose, copy or retain it. If you have received it  
in error please immediately notify me by return email, delete the  
emails and destroy any hard copies. ANZ National Bank Limited does  
not guarantee the integrity of this communication, or that it is  
free from errors, viruses or interference.


select.pngfilters.png
 ___
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/programmingosx 
%40mac.com


This email sent to [EMAIL PROTECTED]


 ___
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 [EMAIL PROTECTED]

Re: Velocity EOGenerator+Eclipse+Wolips question

2007-12-21 Thread Mike Schrag

Done:

http://wiki.objectstyle.org/confluence/display/WOL/Velocity+EOGenerator+%28Veogen%29

Steps 67
This is off by default in newer builds (if you're doing a fresh  
eclipse install) ... Too confusing.


ms ___
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 [EMAIL PROTECTED]

Re: WO 5.4 on Leopard Client - JavaMonitor

2007-12-21 Thread Daryl Lee
Just looked into this and it looks like a WO bug.  It'll be fixed in  
the next update.  In the meantime, just append the executable file  
name in the text field as a workaround.


On Dec 20, 2007, at 11:57 PM, Les Vogel wrote:

Thanks.  Knowing it's that way, rather than something odd on my  
machine, makes it workable.


Mahalo,

Les

On 12/20/07, Art Isbell  [EMAIL PROTECTED] wrote:
On Dec 20, 2007, at 5:32 PM, Les Vogel wrote:

   I reinstalled WO54 deployment, verified that the accounts had
 access to the directories I'm interested in, but I still can only
 see directories, NO files.  Very frustrating.

   So, I ask again, has anyone managed to get wotaskd/JavaMonitor to
 run on Leopard Client?


It runs fine over here on Oʻahu.  But JavaMonitorʻs path  
wizard

displays only directories as you indicate which is a change in past
behavior.  However, I just enter the executable file name after the
selected executable path, so JavaMonitor then works correctly.
Certainly not frustrating to me.

Aloha,
Art





--
Les Vogel
808 870-0418 ___
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/dlee%40apple.com

This email sent to [EMAIL PROTECTED]


 ___
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 [EMAIL PROTECTED]

Re: [JavaEOGenerator] Bug when generating fetchSpecification methods

2007-12-21 Thread Mr. Pierre Frisch
A class property is by definition visible, so if you have not marked  
it as visible no method returning a property will see it. An Attribute  
or a Relationship may be non-visible but an therefore not a property.  
EOEntity.anyRelationshipNamed or EOEntity.AnyAttribteNamed will return  
attributes and relationship that are not class properties.


Pierre
--
Pierre Frisch
[EMAIL PROTECTED]


On Dec 21, 2007, at 7:21, Oswaldo Bueno wrote:


Hi Art,
  Thanks for your reply.

  Non visible attribute - An attribute(database column) included
in the eomodel, but not marked as a class property.

  I have already tested EOEntity._propertyForPath(), and it returns
null for attributes not marked as class property.

Cheers,
Bueno

On Dec 20, 2007 7:54 PM, Art Isbell [EMAIL PROTECTED] wrote:

On Dec 20, 2007, at 11:43 AM, Oswaldo Bueno wrote:


 I'm using JavaEOGenerator
http://developer.apple.com/samplecode/JavaEOGenerator to
auto-generate my entity classes.

 When it generates methods to access EOFetchSpecifications on the
eomodeld, it suppresses bindings associated with a non-visible
attribute.


   What's a non-visible attribute?  Do you mean a database  
column
that's not modeled in your eomodel?  If so, why not include it in  
your

eomodel but don't make it a class property?  That would prevent EOF
from including it in any SQL it generates.  But I don't know whether
EOEntity._propertyForPath() would also ignore it.  It would be quick
and easy to test.

Aloha,
Art

___
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/bueno.dev%40gmail.com

This email sent to [EMAIL PROTECTED]


___
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/pierre%40apple.com

This email sent to [EMAIL PROTECTED]




smime.p7s
Description: S/MIME cryptographic signature
 ___
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 [EMAIL PROTECTED]

Re: 10.5 WO Migration, Add Host - Invalid Password - Access Denied

2007-12-21 Thread Baiss Eric Magnusson

On Dec 19, 2007, at 6:17 PM, Chuck Hill wrote:


Having a hard time deciphering this.  I'll add a few notes.
	Much thanks for trying, it was a ray of hope, and I have been  
working with it and reply as follows...




If I make the 10.5 box the DNS server, by switching the Ethernet  
cables, the wotaskd error goes away, I guess I understand that.

I don't.


I've done some more testing and indeed there is always an erring  
apple.com.womonitor process, i.e. wotaskd?
Now if I make the 10.5 box a real DNS server by switching Ethernet  
cables webobjects.log shows a running non-erring wotaskd, but  
system.log shows a continually crashing apple.com.womonitor.
Now I see in Activity's Process pane 2 Java processes, started by  
launchd and a third Java process which comes and crashes (with  
below) every 6 seconds. How many Java processes ought there to be  
after a successful boot?


cascadewebdesign com.webobjects.wotaskd main Unable to establish  
a connection to port 1085 on this host.  Perhaps this port is  
already in use by another WebObjects application instance.



BUT, those messages did not appear in webobjects.log, whereas they  
had before switching cables?
So this womonitor problem seems to me to be preeminent to the  
password error.





That must be the canonical name of that machine.

It is a new machine, where is the canonical name set?

I don't see the field host in com.apple.womonitor.plist so I  
don't know where the host name cascadewebdesign.com (which is  
me) is coming from in the above?

Reverse DNS lookup of the IP address?

Ah.


I'm trying to set up a 10.5 server running DNS services via Apache  
and FrontBase (I finally got the DNS services up, last problem was  
that Server Admin had written site files with port 16080 specified  
rather than port 80 as I require, some virtual host specification  
caused the error, no doubt).

No, that was webperfcache.

Well, this is a virgin 10.5 so according to
http://developer.apple.com/documentation/Darwin/Reference/ManPages/ 
man8/webperfcache.8.html
webperfcache should not have been a player. But it was because I used  
the old site files, from 10.4 box, ah again.


Goal: The old 10.4 server will continue to run WebObjects 5.3 and  
all the five deployed WOApplications, it is currently running  
wotaskd and JavaMonitor, FrontBase, and Apache all together.

I have no idea if you can mix WO 5.3 and 5.4 deployment.
Well, I'm not mixing them on the same computer. For now I am planning  
on just using the 5.3 deployment for WO apps. I need to bring up the  
new server with 10.5 as my 10.4 server software won't install on the  
Intel box.  I really would like to do this as a multi-computer  
deploy, one of my non-profit organizations that I have a WO app  
running for gave me the computer and the required new server  
software. Then I will convert the 5.3 apps as needed, so at that  
point I would need to have a mixed environment, but still on separate  
computers.



On 10.5:
/System/Library/WebObjects/Adaptors/Apache2.2/apache.conf
and the line
WebObjectsConfig http://localhost:1085 10

So I changed the line in apache.conf on 10.5 box to:
	WebObjectsConfig http://216.vvv.xxx.yy7:1085,http:// 
216.vvv.xxx.yy8:1085 10


In both cases if I try to add the 10.4 box as a Host from the  
JavaMonitor page on the 10.5 box, I get:

(ISP Name): Invalid Password - Access Denied


Check /System/Library/WebObjects/Adaptors/Apache2.2/apache.conf for  
the password config.


I don't see how that is done in apache.conf, there's some lines  
about the WOAdaptorInfo, but that does not reference out to the  
computer which is trying to be added as a host?
I wonder if in the Host line I should do something like ( but then  
you couldn't add the Host via JavaMonitor's GUI ):
	WebObjectsConfig http://216.vvv.xxx.yy7:1085,http:// 
216.vvv.xxx.yy8:1085?user+password 10
Is this message Invalid Password - Access Denied referring to  
JavaMonitor's password on the remote host, or the SSH login?


Maybe I should try Multicast Configuration, but I don't understand it  
anyway, they use the line:

# WebObjectsConfig webobjects://239.128.14.2:1085 10
for multi-casting, is that a magic IP that everyone uses, or just a  
placeholder?





Again, this might be a 5.4 + 5.3 compatibility issue.


Chuck



___
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 [EMAIL PROTECTED]


Re: Change Notification vs New EditingContext vs ?

2007-12-21 Thread Dov Rosenberg
I am not sure what the ERJGroupsSync code buys me over JMS (I will take a
look though). I don¹t think our biggest problem is getting the notification.
I think our biggest issue is dealing with freshening up our data once we get
the notification. It seems that since our app is pretty busy the act of
invalidating the objects seems to cause other sessions to lock up. Is that
because we are not locking the ObjectStoreCoordinator?

Dov

On 12/20/07 11:14 PM, Mike Schrag [EMAIL PROTECTED] wrote:

 I'm totally biased here, but I agree with Simon -- You should definitely check
 out ERJGroupsSync ... This is an incredibly hard problem to get right, and I
 was only ever able to do it properly when I ultimately hooked into
 EODatabaseContext directly to be able to get cache change notifications.  In
 almost any other way (I went through about 3 or 4 implementations before
 settling on the current one), you are bound to end up with dead locks, lost
 updates (like not receiving updates of the inverse relationship being
 updated), or really expensive change tracking.  That you have that lock
 commented out gives me a HUGE case of the willies.  I spent several weeks of
 development on this problem .. I would say it's the most complicated work that
 I've done on WO, in fact, mainly because things are so fragile at this level.
 One slip of a lock or a misunderstanding of calling order, and horrible things
 happen. I won't claim that ERJG is without bugs, but I can assure you this
 code sample you're showing is really scary :)
 
 ms
 
 On Dec 20, 2007, at 11:00 PM, Dov Rosenberg wrote:
 
  The big problem we are facing on the change notification is the object
 invalidation within EOF. JMS seems capable of getting the messages where they
 need to be, its just we are getting NSRecursiveLocks when trying to
 invalidate the individual objects. We do something like the following (we
 only send the globalids in the JMS message):
  
  public void run() {
  NSMutableSet ids = IMGlobalIDsQueue.getIdsAndResetQueue();
  int count = 0;
  if (ids != null  ids.count()  0) {
  EOObjectStoreCoordinator coordinator =
 EOObjectStoreCoordinator.defaultCoordinator();
  //coordinator.lock();
  count = ids.count();
  try {
 
 
 coordinator.invalidateObjectsWithGlobalIDs(ids.allObjects());
 
  } finally {
  //coordinator.unlock();
  }
  }

  }
  
  
  We build up a queue of the incoming messages and process them with a timer
 thread with the above code. If we uncomment the coordinator.lock()/unlock()
 methods bad things happen very quickly. The timer is a singleton class so
 there should only be a single timer per application/object store coordinator.
 It seems the lock is happening when a new EditingContext is being created by
 either a session or via new EOEditingContext().
  
  Dov Rosenberg
  
  On 12/20/07 10:31 PM, Simon McLean [EMAIL PROTECTED] wrote:
  
  
 We used the JMS stuff a while back and had similar problems. We now use
 ERJGroups instead and have found it to be much more scaleable, albeit a
 little memory hungry. I would definitely give it a shot before changing any
 code as it's pretty much a drop-in replacement for the JMS stuff.
  
  Simon
  
  On 21 Dec 2007, at 03:01, Dov Rosenberg wrote:
  
  
  We have been using a JMS based change notification framework (based on the
 Project Wonder code) and have started to notice more deadlocks and
 performance problems under higher load and more servers in the network. I
 think we have decided that an external change notification framework is
 just not going to be scalable enough for our needs.
   
   We have been throwing around various strategies but I wanted to vet them
 to the greater WO community for assessment. Any feedback is appreciated.
   
   Application Profile:
   Our application is deployed as a servlet using a WAR file that gets
 expanded by the container (Tomcat 5.5). The app is currently built using WO
 5.3 but we are in the process of converting it to WO 5.4. Our application
 is typically deployed in multiple tomcat instances across 1 or more
 machines in a network. We have an administration console, a web client
 (using EOF based custom JSP tag libs that we created), and a set of EOF
 based Apache Axis web services. The web client is primarily read only and
 makes extensive use of the SharedEditingContext. The web services client is
 basically stateless. The mgmt console is a typical WO/EOF application that
 uses the defaultEditingContext extensively. We have borrowed some Project
 Wonder components and adapted them to our needs but have not implemented
 the whole Project Wonder set of frameworks. Administration console users
 generate content that the web client and web services clients interact
 with. 
   
   Option 1:
   Replace the session based defaultEditingContext in the mgmt 

Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-21 Thread Jeff Schmitz
Am trying to generate java using method described by below link, but  
when I try to bring up the EOGenerate dialog I get error 133,  Any  
ideas?


http://wiki.objectstyle.org/confluence/display/WOL/Generating+EO+Java+Classes

thanks,
jeff
___
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 [EMAIL PROTECTED]


Re: JavaEOGenerator - EOPrototypes and EOGenericRecord?

2007-12-21 Thread Chuck Hill

Tiger?  Leopard?  WO 5.3?  5.4?  Have you checked the Console log?

Chuck


On Dec 21, 2007, at 8:57 PM, Jeff Schmitz wrote:

Am trying to generate java using method described by below link,  
but when I try to bring up the EOGenerate dialog I get error 133,   
Any ideas?


http://wiki.objectstyle.org/confluence/display/WOL/Generating+EO 
+Java+Classes


thanks,
jeff
___
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/chill% 
40global-village.net


This email sent to [EMAIL PROTECTED]



--

Practical WebObjects - for developers who want to increase their  
overall knowledge of WebObjects or who are trying to solve specific  
problems.

http://www.global-village.net/products/practical_webobjects





___
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 [EMAIL PROTECTED]


Could not find EOClassDescription for entity name... (newbie)

2007-12-21 Thread Craig St Jean

Hello all,
I'm trying to follow Janine's WebObjects Tutorial (http://wotutorial.furfly.com/downloads.html 
)


I've created my model just fine, generated the code, and created an  
AddEdit component.


In the AddEdit code, I have the following line:
displayBoard =  
(DisplayBoard 
)EOUtilities 
.createAndInsertInstance(session().defaultEditingContext(),  
DisplayBoard);

Where DisplayBoard is the model I've generated.

When I try to run the project though, I get this:
Application: nhlpm
Error: java.lang.IllegalArgumentException exception
Reason:
java.lang.IllegalArgumentException: Could not find EOClassDescription  
for entity name 'DisplayBoard' !


I'm sure I just missed something but I can't seem to find it. The  
DisplayBoard class references the same string, and I'm not sure if it  
needs to be registered somewhere, or whats going on.

Any ideas?

(Note: using WOLips + WebObjects 5.4)

Thanks!! ___
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 [EMAIL PROTECTED]