Re: Error generating SQL in WOLips

2008-11-19 Thread Q
Check the build path of the project that model is in. Does it have  
JavaFoundation in the build path?


On 19/11/2008, at 5:06 PM, Ramsey Lee Gurley wrote:

I'm using the latest nightly build of WOLips and I'm getting the  
following error when attempting to generate SQL in Entity Modeler.   
It appears that class was modified recently (5525).  Is anyone else  
having difficulty with SQL generation on WOLips nightly?


java.lang.NoClassDefFoundError: com/webobjects/foundation/NSDictionary
	at  
org 
.objectstyle 
.wolips 
.eomodeler 
.actions.GenerateSQLDialog.executeSql(GenerateSQLDialog.java:369)
	at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog 
$6.run(GenerateSQLDialog.java:333)

at java.lang.Thread.run(Thread.java:613)

Thanks,

Ramsey
___
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/qdolan%40gmail.com

This email sent to [EMAIL PROTECTED]




--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806



 ___
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: default superclass package for eogen files

2008-11-19 Thread Stefan Klein

Open your xxx.eogen in the EOGenerator Editor and go to the bottom.
Under Defines you can add a key value pair like:

EOGenericRecord = my.eo.superclass



Stefan

Freddie Tilley schrieb:
Is there way to set a default superclass package, so that it doesn't 
have to

be set manually every time I generate an eogen file for a model?

Freddie Tilley
___
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/stefan.klein%40buero-sde.de 



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: capistrano deployments w/ wo

2008-11-19 Thread Lachlan Deck

Hi Michael,

On 19/11/2008, at 6:06 PM, Michael Bushkov wrote:

On Tue, Nov 18, 2008 at 11:08 PM, Lachlan Deck  
[EMAIL PROTECTED] wrote:

...

Yes, maybe I simplified things too much. I'll add backup creation and
rollback to this example.


Great.

So here's some ideas for bonus points .. at least for the advanced  
guide.
It'll be good to see (if not in your immediate plans) versioning  
used when
deploying which includes auto-injecting into JavaMonitor (or  
similar) the
new deployments without pulling down the old ones. So there'll need  
to be

*.cap tasks for
- putting up a new version of an app (which doesn't overwrite an  
old one)

- starting up the new instance(s)
- setting the old instances to refuse new sessions
- removing apps
- if rsync is used you can upload to current app if only fixing a  
resource

for example.
- dealing with split installs (keeping versioning in mind)

:-)


Wow, that sounds impressive ) Do you use this model of deployment?


Currently we're pulling builds from bamboo. So after each svn commit  
bamboo runs the build (maven in my case, which produces a tar.gz for  
both the app and webserver resources). We've then got shell scripts  
that when manually called pull a specific build from bamboo, rsync/ 
unpack them to a certain location (whether for test or deployment  
environment).


In JavaMonitor for each app we define multiple instances per server  
pointing to each of 'a', 'b' (and sometimes 'c') folders for an app.  
So the folder structure is like so:

/.../javaMonitorAppName/a/ProjectName.woa/
/.../javaMonitorAppName/b/ProjectName.woa/
/.../javaMonitorAppName/c/ProjectName.woa/
/.../javaMonitorAppName/Properties/log4j.properties
/.../javaMonitorAppName/Properties/jdbc.properties
/.../javaMonitorAppName/Properties/runtime.properties

This way if we need to fire up new instances of the same version we  
can whilst killing of the old ones (e.g., if out of mem is hit).


The webserver resources are placed in a similar structure in the  
relevant location (which is defined per instance in JM). For actual  
static resources (that are simply under apache's control) we've not  
yet versioned these and our versioned split install needs some  
improving with css files that have some hard-coding included which  
refers to the version (as needed). This can be easily solved during  
the deployment phase by regex-replacing certain tokens.


So we round robin to a, b, and c folders. e.g., if 'a' is currently  
live then the new build goes to 'b'. We opted for this approach as it  
saves having to maintain (i.e., add/remove) specific versions in  
javamonitor - which would be just a hassle to do by hand.


These new 'b' instances, for example, are fired up (on each server)  
and once up then refuse new sessions is put on the old 'a' instances  
allowing them to die by themselves. If something goes wrong with the  
new version we can roll back to the previous ones. We don't delete  
from the server - just overwrite via rsync when it's that instance's  
turn for an update (according to the very technical whiteboard :).  
It's a process we're refining as time goes on but (in theory) it means  
no downtime.



Actually we have a bit different approach:
* We upload new version of the app to the server to the [special
folder]/[app name]/[revision number] path.
* Then we make a soft link from there to
/Library/WebObjects/Applications/[app name]. After that the previous
deployed version still exists - but not in
/Library/WebObjects/Applications


Ok


* After that we send restart command to monitor and the app restarts.


Via mouse or otherwise?


It results in small downtime, but If the downtime is not acceptable,
we restart app manually (instance by instance) in JavaMonitor.

This is quite a simple approach, it doesn't require a lot of
integration with JavaMonitor or wotaskd and works quite well for us
right now. The plan, that you're proposing sounds good too (much more
complicated, though ;) ) - I guess I can write Capistrano recipes for
missing parts. By the way, just interesting, do you use test/build
server or do you deploy straight from your development machine?


Of more recent months, as I mentioned, we're pulling straight from  
bamboo rather than rsync'ing up from my machine. This means only  
what's committed makes it up, it's a reproducible environment - or  
less experimental perhaps, and removes the dependency on myself and my  
laptop being available.


with regards,
--

Lachlan Deck

___
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: Who is tbody and why won't he leave me alone?

2008-11-19 Thread Miguel Arroz

Hi!

  Are you sure WO is generating the tbody, and it's not just your DOM  
viewer adding it to the DOM?


  A tbody is a table body. All the tables must have at least one,  
although it can be implicit (you don't need to explicitly add it to  
the table). Most of the times, it is.


  Most DOM viewers, including the one in Safari inspector, will show  
you the tbody, because the browser needs to add that node to the DOM  
tree in order to be able to render the table. This doesn't mean that  
your page source does have it. It probably doesn't, even if the DOM  
viewers show it. So, check the page source again, and not the DOM  
viewer.


  Yours

Miguel Arroz


On 2008/11/19, at 03:51, Randy Wigginton wrote:


Hello,
I'm building a table that is being fed into wonder's excel  
generator.  Everything was fine until recently; I had  a repetition  
that output what I needed.  Then, the requirements changed and I  
needed to generate more data.  Thinking this is webobjects and this  
kind of thing is easy, I put another worepetition outside the  
other.  However, now I am getting a tbody tag generated, and that  
is apparently enough to cause Wonder's excel generator to give up.   
Has anyone run into this?  Why is Webobjects generating a tbody tag?


There is no tbody tag in my template.

___
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/arroz%40guiamac.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: default superclass package for eogen files

2008-11-19 Thread Freddie Tilley


On 19 nov 2008, at 12:16, Stefan Klein wrote:


Open your xxx.eogen in the EOGenerator Editor and go to the bottom.
Under Defines you can add a key value pair like:

EOGenericRecord = my.eo.superclass



Stefan

Freddie Tilley schrieb:
Is there way to set a default superclass package, so that it  
doesn't have to

be set manually every time I generate an eogen file for a model?

Freddie Tilley
___
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/stefan.klein%40buero-sde.de

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: default superclass package for eogen files

2008-11-19 Thread Freddie Tilley

Whoops, accidently sent the reply before actually typing a reply

I was actually talking about the base class package, I don't want
the base class to be in the same package as the subclass but
in a .base package

inline: this.gif



I need this for all my models, so I wondered if it was possible to
set the base package value as a default in wolips

Freddie Tilley

On 19 nov 2008, at 12:16, Stefan Klein wrote:


Open your xxx.eogen in the EOGenerator Editor and go to the bottom.
Under Defines you can add a key value pair like:

EOGenericRecord = my.eo.superclass



Stefan

Freddie Tilley schrieb:
Is there way to set a default superclass package, so that it  
doesn't have to

be set manually every time I generate an eogen file for a model?

Freddie Tilley
___
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/stefan.klein%40buero-sde.de

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]

default superclass package for eogen files

2008-11-19 Thread Freddie Tilley
Is there way to set a default superclass package, so that it doesn't  
have to

be set manually every time I generate an eogen file for a model?

Freddie Tilley
___
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]


Translator (English - Spanish) sought...

2008-11-19 Thread Florijan Stamenkovic

Hi all,


We are localizing our software to various languages, and are in need  
of a translator that can provide translations to Spanish. We need a  
person proficient in specialized terminology (software, database,  
accounting, project management etc..). If anyone has experience with  
contracting individuals or companies for this, please let me know who  
they are. If anyone is interested in the work itself, feel free to  
contact me off-list for more details.


Thanks,
F
___
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: capistrano deployments w/ wo

2008-11-19 Thread Michael Bushkov
Hi Lachlan,

On Wed, Nov 19, 2008 at 2:29 PM, Lachlan Deck [EMAIL PROTECTED] wrote:
 Hi Michael,

 On 19/11/2008, at 6:06 PM, Michael Bushkov wrote:

 On Tue, Nov 18, 2008 at 11:08 PM, Lachlan Deck [EMAIL PROTECTED]
 wrote:

 ...

 Yes, maybe I simplified things too much. I'll add backup creation and
 rollback to this example.

 Great.

 So here's some ideas for bonus points .. at least for the advanced guide.
 It'll be good to see (if not in your immediate plans) versioning used
 when
 deploying which includes auto-injecting into JavaMonitor (or similar) the
 new deployments without pulling down the old ones. So there'll need to be
 *.cap tasks for
 - putting up a new version of an app (which doesn't overwrite an old one)
 - starting up the new instance(s)
 - setting the old instances to refuse new sessions
 - removing apps
 - if rsync is used you can upload to current app if only fixing a
 resource
 for example.
 - dealing with split installs (keeping versioning in mind)

 :-)

 Wow, that sounds impressive ) Do you use this model of deployment?

 Currently we're pulling builds from bamboo. So after each svn commit bamboo
 runs the build (maven in my case, which produces a tar.gz for both the app
 and webserver resources). We've then got shell scripts that when manually
 called pull a specific build from bamboo, rsync/unpack them to a certain
 location (whether for test or deployment environment).

 In JavaMonitor for each app we define multiple instances per server pointing
 to each of 'a', 'b' (and sometimes 'c') folders for an app. So the folder
 structure is like so:
 /.../javaMonitorAppName/a/ProjectName.woa/
 /.../javaMonitorAppName/b/ProjectName.woa/
 /.../javaMonitorAppName/c/ProjectName.woa/
 /.../javaMonitorAppName/Properties/log4j.properties
 /.../javaMonitorAppName/Properties/jdbc.properties
 /.../javaMonitorAppName/Properties/runtime.properties

 This way if we need to fire up new instances of the same version we can
 whilst killing of the old ones (e.g., if out of mem is hit).

 The webserver resources are placed in a similar structure in the relevant
 location (which is defined per instance in JM). For actual static resources
 (that are simply under apache's control) we've not yet versioned these and
 our versioned split install needs some improving with css files that have
 some hard-coding included which refers to the version (as needed). This can
 be easily solved during the deployment phase by regex-replacing certain
 tokens.

 So we round robin to a, b, and c folders. e.g., if 'a' is currently live
 then the new build goes to 'b'. We opted for this approach as it saves
 having to maintain (i.e., add/remove) specific versions in javamonitor -
 which would be just a hassle to do by hand.

 These new 'b' instances, for example, are fired up (on each server) and once
 up then refuse new sessions is put on the old 'a' instances allowing them to
 die by themselves. If something goes wrong with the new version we can roll
 back to the previous ones. We don't delete from the server - just overwrite
 via rsync when it's that instance's turn for an update (according to the
 very technical whiteboard :). It's a process we're refining as time goes on
 but (in theory) it means no downtime.

Thanks for the information!


 Actually we have a bit different approach:
 * We upload new version of the app to the server to the [special
 folder]/[app name]/[revision number] path.
 * Then we make a soft link from there to
 /Library/WebObjects/Applications/[app name]. After that the previous
 deployed version still exists - but not in
 /Library/WebObjects/Applications

 Ok

 * After that we send restart command to monitor and the app restarts.

 Via mouse or otherwise?

We use telnet to query wotaskd directly. This all works as a
capistrano task that is able to restart any application on any server.


 It results in small downtime, but If the downtime is not acceptable,
 we restart app manually (instance by instance) in JavaMonitor.

 This is quite a simple approach, it doesn't require a lot of
 integration with JavaMonitor or wotaskd and works quite well for us
 right now. The plan, that you're proposing sounds good too (much more
 complicated, though ;) ) - I guess I can write Capistrano recipes for
 missing parts. By the way, just interesting, do you use test/build
 server or do you deploy straight from your development machine?

 Of more recent months, as I mentioned, we're pulling straight from bamboo
 rather than rsync'ing up from my machine. This means only what's committed
 makes it up, it's a reproducible environment - or less experimental perhaps,
 and removes the dependency on myself and my laptop being available.

We have a rule that only the project that is deployed (and tested) on
the test server can go to production server. Deployment to the test
server happens after each commit. So we have a live test environment
there. If we're sure that particular application is working correctly
we copy it 

Re: Error generating SQL in WOLips

2008-11-19 Thread Ramsey Lee Gurley

I just verified on my old laptop.

-Duplicated Eclipse folder.
-Opened duplicated Eclipse.app.
-Generate SQL successful with WOLips 5503.
-Upgrade to WOLips 5547
-Generate SQL fails on same eomodel, same project.
-Close duplicate Eclipse.app, open unmodified 5503 Eclipse.app
-Generate SQL on the same project successful again.

The only change made was an upgrade from 5503 to 5547.  Removing the  
change removed the problem.


Ramsey

On Nov 19, 2008, at 12:37 PM, Ramsey Lee Gurley wrote:


Yes

Picture 1.png

On Nov 19, 2008, at 4:23 AM, Q wrote:

Check the build path of the project that model is in. Does it have  
JavaFoundation in the build path?


On 19/11/2008, at 5:06 PM, Ramsey Lee Gurley wrote:

I'm using the latest nightly build of WOLips and I'm getting the  
following error when attempting to generate SQL in Entity  
Modeler.  It appears that class was modified recently (5525).  Is  
anyone else having difficulty with SQL generation on WOLips nightly?


java.lang.NoClassDefFoundError: com/webobjects/foundation/ 
NSDictionary
	at  
org 
.objectstyle 
.wolips 
.eomodeler 
.actions.GenerateSQLDialog.executeSql(GenerateSQLDialog.java:369)
	at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog 
$6.run(GenerateSQLDialog.java:333)

at java.lang.Thread.run(Thread.java:613)

Thanks,

Ramsey
___
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/qdolan%40gmail.com

This email sent to [EMAIL PROTECTED]




--
Seeya...Q

Quinton Dolan - [EMAIL PROTECTED]
Gold Coast, QLD, Australia (GMT+10)
Ph: +61 419 729 806





___
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/rgurley 
%40mac.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]

WOLips, Deployment and JVMOptions

2008-11-19 Thread Mr. Frank Cobia
Is there somewhere that I can set the JVMOptions that appear in the  
UNIXClassPath.txt file when I do a build? Specifically I want to set  
the maximum memory parameter. i.e. -mx200m


Thanks,
Frank
___
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: WOLips, Deployment and JVMOptions

2008-11-19 Thread Chuck Hill


On Nov 19, 2008, at 12:41 PM, Mr. Frank Cobia wrote:

Is there somewhere that I can set the JVMOptions that appear in  
the UNIXClassPath.txt file when I do a build? Specifically I want to  
set the maximum memory parameter. i.e. -mx200m



I have no idea, but that is a WOLips question.  BUT you will have  
better luck with an X: -Xmx200m


Chuck

--
Chuck Hill Senior Consultant / VP Development

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]


Re: Error generating SQL in WOLips

2008-11-19 Thread Ramsey Lee Gurley
I should clarify that the process fails after clicking the (Execute  
SQL) button.  The actual generation seems to work okay.  If no one  
else has any reports good or bad about this, I will go ahead and file  
a bug on JIRA tomorrow.


Ramsey

On Nov 19, 2008, at 2:12 PM, Ramsey Lee Gurley wrote:


I just verified on my old laptop.

-Duplicated Eclipse folder.
-Opened duplicated Eclipse.app.
-Generate SQL successful with WOLips 5503.
-Upgrade to WOLips 5547
-Generate SQL fails on same eomodel, same project.
-Close duplicate Eclipse.app, open unmodified 5503 Eclipse.app
-Generate SQL on the same project successful again.

The only change made was an upgrade from 5503 to 5547.  Removing the  
change removed the problem.


Ramsey

On Nov 19, 2008, at 12:37 PM, Ramsey Lee Gurley wrote:


Yes

Picture 1.png

On Nov 19, 2008, at 4:23 AM, Q wrote:

Check the build path of the project that model is in. Does it have  
JavaFoundation in the build path?


On 19/11/2008, at 5:06 PM, Ramsey Lee Gurley wrote:

I'm using the latest nightly build of WOLips and I'm getting the  
following error when attempting to generate SQL in Entity  
Modeler.  It appears that class was modified recently (5525).  Is  
anyone else having difficulty with SQL generation on WOLips  
nightly?


java.lang.NoClassDefFoundError: com/webobjects/foundation/ 
NSDictionary
	at  
org 
.objectstyle 
.wolips 
.eomodeler 
.actions.GenerateSQLDialog.executeSql(GenerateSQLDialog.java:369)
	at org.objectstyle.wolips.eomodeler.actions.GenerateSQLDialog 
$6.run(GenerateSQLDialog.java:333)

at java.lang.Thread.run(Thread.java:613)





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]

halp?

2008-11-19 Thread Josh Paul
I just moved our app to our server, configured WO, and everything  
works well when running the app via cli and accessing it locally.  
However, when going through Monitor and accessing via web (port 80), I  
get a kCFErrorDomainCFNetwork. I've looked over httpd.conf and don't  
see anything out of place.


Anyone have any insight?
___
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: default superclass package for eogen files

2008-11-19 Thread Michael DeMan (WO)
Hi, change the _Entity.java template file to look something like this 
right at the top of it:


for: COM.COMPANY.MYBASECLASS


public abstract class ${entity.prefixClassNameWithoutPackage} extends 
#if ($entity.parentClassNameSet)${entity.parentClassName}#elseif 
($entity.partialEntitySet)er.extensions.partials.ERXPartial${entity.partialEntity.className}#elseif 
($entity.parentSet)${entity.parent.classNameWithDefault}#elseif 
($EOGenericRecord)${EOGenericRecord}#else  COM.COMPANY.MYBASECLASS#end {


- Mike


Freddie Tilley wrote:
Is there way to set a default superclass package, so that it doesn't 
have to

be set manually every time I generate an eogen file for a model?

Freddie Tilley
___
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/webobjects%40deman.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: halp?

2008-11-19 Thread Chuck Hill


On Nov 19, 2008, at 4:13 PM, Josh Paul wrote:

I just moved our app to our server, configured WO, and everything  
works well when running the app via cli and accessing it locally.  
However, when going through Monitor and accessing via web (port 80),  
I get a kCFErrorDomainCFNetwork. I've looked over httpd.conf and  
don't see anything out of place.


Anyone have any insight?


Any more details?  What host name are you using?  Is it the canonical,  
fully qualified name for this machine? Do other apps on that machine  
work?



Chuck

--
Chuck Hill Senior Consultant / VP Development

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]


URL for WebObjects?

2008-11-19 Thread Timothy Reaves
	I thought that when a site used WebObjects, it was readily apparent  
because of the distinctive URL.  Is this no longer the case?  Can you  
now (or could you always) create sites that have no long string of  
numeric characters, and the woa?  In other words, where the URL's look  
just like static content?



___
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: URL for WebObjects?

2008-11-19 Thread Guido Neitzer

On 19.11.2008, at 19:17, Timothy Reaves wrote:

I thought that when a site used WebObjects, it was readily apparent  
because of the distinctive URL.  Is this no longer the case?  Can  
you now (or could you always) create sites that have no long string  
of numeric characters, and the woa?  In other words, where the URL's  
look just like static content?


You can. You could always rewrite URLs, create different looking URLs  
and so on. It just got very simple with the _rewriteUrl() method that  
is part of Wonder's ERXApplication. You can just provide a replacement  
pattern and your URLs get rewritten by the application. A  
corresponding rewrite rule for apache's mod_rewrite does the other way.


This is from the documentation of ERXApplication:

 * For example, in Properties:
 * code
 * er.extensions.ERXApplication.replaceApplicationPath.pattern=/cgi- 
bin/WebObjects/YourApp.woa

 * er.extensions.ERXApplication.replaceApplicationPath.replace=/yourapp
 * /code
 *
 * and in Apache 2.2:
 * code
 * RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [PT,L]
 * /code
 *
 * or Apache 1.3:
 * code
 * RewriteRule ^/yourapp(.*)$ /cgi-bin/WebObjects/YourApp.woa$1 [P,L]
 * /code

cug

 ___
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: halp?

2008-11-19 Thread Josh Paul
Apache responds as expected when hitting the root of the domain (a  
Flash detection page), but when sent to WebObjects, it fails to  
respond correctly.


Seeing this in the httpd log:

Process: httpd-1.3 [3810]
Path:/usr/sbin/httpd-1.3
Identifier:  httpd-1.3
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  httpd-1.3 [75]

Date/Time:   2008-11-19 15:57:07.245 -0800
OS Version:  Mac OS X Server 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0002, 0x
Crashed Thread:  0

Application Specific Information:
*** single-threaded process forked ***

Dyld Error Message:
  Symbol not found: _apr_snprintf
  Referenced from: /System/Library/WebObjects/Adaptors/Apache/ 
mod_WebObjects.so

  Expected in: flat namespace

On Nov 19, 2008, at 4:26 PM, Chuck Hill wrote:


On Nov 19, 2008, at 4:13 PM, Josh Paul wrote:

I just moved our app to our server, configured WO, and everything  
works well when running the app via cli and accessing it locally.  
However, when going through Monitor and accessing via web (port  
80), I get a kCFErrorDomainCFNetwork. I've looked over httpd.conf  
and don't see anything out of place.


Anyone have any insight?


Any more details?  What host name are you using?  Is it the  
canonical, fully qualified name for this machine? Do other apps on  
that machine work?



Chuck

--
Chuck Hill Senior Consultant / VP Development

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]


Re: halp?

2008-11-19 Thread Chuck Hill


On Nov 19, 2008, at 6:48 PM, Josh Paul wrote:

Apache responds as expected when hitting the root of the domain (a  
Flash detection page), but when sent to WebObjects, it fails to  
respond correctly.


Seeing this in the httpd log:

Process: httpd-1.3 [3810]
Path:/usr/sbin/httpd-1.3


Using the WO 5.4 Apache 2 adaptor with Apache 1.3?




Identifier:  httpd-1.3
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  httpd-1.3 [75]

Date/Time:   2008-11-19 15:57:07.245 -0800
OS Version:  Mac OS X Server 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0002, 0x
Crashed Thread:  0

Application Specific Information:
*** single-threaded process forked ***

Dyld Error Message:
 Symbol not found: _apr_snprintf
 Referenced from: /System/Library/WebObjects/Adaptors/Apache/ 
mod_WebObjects.so

 Expected in: flat namespace

On Nov 19, 2008, at 4:26 PM, Chuck Hill wrote:


On Nov 19, 2008, at 4:13 PM, Josh Paul wrote:

I just moved our app to our server, configured WO, and everything  
works well when running the app via cli and accessing it locally.  
However, when going through Monitor and accessing via web (port  
80), I get a kCFErrorDomainCFNetwork. I've looked over httpd.conf  
and don't see anything out of place.


Anyone have any insight?


Any more details?  What host name are you using?  Is it the  
canonical, fully qualified name for this machine? Do other apps on  
that machine work?



Chuck

--
Chuck Hill Senior Consultant / VP Development

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




--
Chuck Hill Senior Consultant / VP Development

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]


Re: EO Table creation failing

2008-11-19 Thread Jeff Schmitz
How do you know what version of webobjects you have installed?  I  
guess I thought if you had Leopard running on two machines with dev  
tools installed, the version of Webobjects would be the same via the  
software updates, no?


I've copied over all the wonder frameworks directly from my dev  
machine (Library/Frameworks/ER...) to my deployment machine, as well  
as the Frontbase framework.  I've also copied over the /Library/Java/ 
extensions/frontbasejdbc.jar file from my dev machine to my deployment  
machine.  My project was imported (with copy) directly from my dev  
machine to into the workspace on my deployment machine.  I really  
don't know what else to check to try to get the machines in sync.  Any  
other ideas out there?


Thanks,
Jeff
On Nov 16, 2008, at 10:33 PM, Chuck Hill wrote:



On Nov 16, 2008, at 8:04 PM, Jeff Schmitz wrote:


Hello,
  I'm still not getting anywhere with this problem.  I've verified  
that webobjects, wonder frameworks and the frontbase plugin are the  
same on both machines.


And only one copy of each?  This might be a WebObjects vs Wonder  
version of the plug-in symptom.  The plugin jar could be corrupted  
and not loading on the deployment machine.


Chuck


But for some reason, the SQL generated by the EOModeler is  
different for the same eomodeld file.  e.g. This is what's created  
for one of my EOs on my development machine where things work:


CREATE TABLE t_entry (
c_games INTEGER NOT NULL,
c_groups INTEGER NOT NULL,
id INTEGER NOT NULL,
c_last_save TIMESTAMP NOT NULL,
c_name VARCHAR(50) NOT NULL,
c_password VARCHAR(255) NOT NULL,
c_picks_confirmed VARCHAR(5) NOT NULL,
poolID INTEGER NOT NULL,
real VARCHAR(5) NOT NULL,
spare_bool VARCHAR(5) NOT NULL,
spare_int INTEGER NOT NULL,
spare_str VARCHAR(255) NOT NULL,
c_still_alive_first VARCHAR(5) NOT NULL,
c_still_alive_second VARCHAR(5) NOT NULL,
c_still_alive_third VARCHAR(5) NOT NULL,
c_tie_breaker INTEGER NOT NULL,
userID INTEGER NOT NULL
);

While this is generated on my deployment machine and doesn't work  
when run:


CREATE TABLE t_entry (
   c_games INTEGER NOT NULL,
   c_groups INTEGER NOT NULL,
   id INTEGER NOT NULL,
c_last_save TIMESTAMP NOT NULL,
c_name VARCHAR(50) NOT NULL,
c_password VARCHAR(255) NOT NULL,
c_picks_confirmed VARCHAR(5) NOT NULL,
poolID INTEGER NOT NULL,
real VARCHAR(5) NOT NULL,
spare_bool VARCHAR(5) NOT NULL,
spare_int INTEGER NOT NULL,
spare_str VARCHAR(255) NOT NULL,
c_still_alive_first VARCHAR(5) NOT NULL,
c_still_alive_second VARCHAR(5) NOT NULL,
c_still_alive_third VARCHAR(5) NOT NULL,
c_tie_breaker INTEGER NOT NULL,
userID INTEGER NOT NULL);

Any ideas on specifically what might cause such a discrepancy?

Thanks,
Jeff



On Nov 9, 2008, at 7:41 AM, Jeff Schmitz wrote:



On Nov 9, 2008, at 7:25 AM, Mike Schrag wrote:

since I sometimes I may not have my development machine  
available and need to use my deployment server for development.

yikes ...
I should have specified, not while it's actually in the act of  
deploying.





Do you think the differences in what's generated is due to some  
kind of library version difference somewhere?
You either have different versions of WO or different versions of  
the FrontBasePlugIn.
I'll double check the frontbase plugin, but I also tried  
downloading the all in one Eclipse + WOLips installer, which  
includes the frontbase plugin, and got the same results.  Also  
both machines have Leopard installed (one client, one server),  
don't they both automatically install the same version of  
webobjects?


From Apple's kb:

Installing the WebObjects 5.4.3 update for Mac OS X 10.5 Server

This update is available through the Software Update feature of  
Mac OS X Server. It is part of the Mac OS X 10.5.5 Update and  
cannot be obtained as a separate download.


System requirements

• Mac OS X Server 10.5 or later
• Java 5
If you are updating a WebObjects 5.4 system or performing a new  
installation of Mac OS X 10.5 Server:


• Install Mac OS X Server version 10.5
	• Run Software update to update to Mac OS X Server version 10.5.5  
or later



Jeff



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/jeffandmonica%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/jeffandmonica%40mac.com

This email sent to [EMAIL PROTECTED]



Re: EO Table creation failing

2008-11-19 Thread Chuck Hill


On Nov 19, 2008, at 7:09 PM, Jeff Schmitz wrote:

How do you know what version of webobjects you have installed?  I  
guess I thought if you had Leopard running on two machines with dev  
tools installed, the version of Webobjects would be the same via the  
software updates, no?


If you installed the same version of the dev tools and did not hack up  
anything, yes.  But that does got guarantee the same versions of  
anything else.



I've copied over all the wonder frameworks directly from my dev  
machine (Library/Frameworks/ER...) to my deployment machine, as well  
as the Frontbase framework.


The Frontbase framework from Wonder or the identically named one from  
FrontBase?  Is it on your project's classpath?


Are the versions of Eclipse and WOLips the same?


 I've also copied over the /Library/Java/extensions/ 
frontbasejdbc.jar file from my dev machine to my deployment  
machine.  My project was imported (with copy) directly from my dev  
machine to into the workspace on my deployment machine.  I really  
don't know what else to check to try to get the machines in sync.   
Any other ideas out there?


Check the Console.app logs.  Any relevant messages?


Chuck




Thanks,
Jeff
On Nov 16, 2008, at 10:33 PM, Chuck Hill wrote:



On Nov 16, 2008, at 8:04 PM, Jeff Schmitz wrote:


Hello,
 I'm still not getting anywhere with this problem.  I've verified  
that webobjects, wonder frameworks and the frontbase plugin are  
the same on both machines.


And only one copy of each?  This might be a WebObjects vs Wonder  
version of the plug-in symptom.  The plugin jar could be corrupted  
and not loading on the deployment machine.


Chuck


But for some reason, the SQL generated by the EOModeler is  
different for the same eomodeld file.  e.g. This is what's created  
for one of my EOs on my development machine where things work:


CREATE TABLE t_entry (
c_games INTEGER NOT NULL,
c_groups INTEGER NOT NULL,
id INTEGER NOT NULL,
c_last_save TIMESTAMP NOT NULL,
c_name VARCHAR(50) NOT NULL,
c_password VARCHAR(255) NOT NULL,
c_picks_confirmed VARCHAR(5) NOT NULL,
poolID INTEGER NOT NULL,
real VARCHAR(5) NOT NULL,
spare_bool VARCHAR(5) NOT NULL,
spare_int INTEGER NOT NULL,
spare_str VARCHAR(255) NOT NULL,
c_still_alive_first VARCHAR(5) NOT NULL,
c_still_alive_second VARCHAR(5) NOT NULL,
c_still_alive_third VARCHAR(5) NOT NULL,
c_tie_breaker INTEGER NOT NULL,
userID INTEGER NOT NULL
);

While this is generated on my deployment machine and doesn't  
work when run:


CREATE TABLE t_entry (
  c_games INTEGER NOT NULL,
  c_groups INTEGER NOT NULL,
  id INTEGER NOT NULL,
   c_last_save TIMESTAMP NOT NULL,
   c_name VARCHAR(50) NOT NULL,
   c_password VARCHAR(255) NOT NULL,
   c_picks_confirmed VARCHAR(5) NOT NULL,
   poolID INTEGER NOT NULL,
   real VARCHAR(5) NOT NULL,
   spare_bool VARCHAR(5) NOT NULL,
   spare_int INTEGER NOT NULL,
   spare_str VARCHAR(255) NOT NULL,
   c_still_alive_first VARCHAR(5) NOT NULL,
   c_still_alive_second VARCHAR(5) NOT NULL,
   c_still_alive_third VARCHAR(5) NOT NULL,
   c_tie_breaker INTEGER NOT NULL,
   userID INTEGER NOT NULL);

Any ideas on specifically what might cause such a discrepancy?

Thanks,
Jeff



On Nov 9, 2008, at 7:41 AM, Jeff Schmitz wrote:



On Nov 9, 2008, at 7:25 AM, Mike Schrag wrote:

since I sometimes I may not have my development machine  
available and need to use my deployment server for development.

yikes ...
I should have specified, not while it's actually in the act of  
deploying.





Do you think the differences in what's generated is due to some  
kind of library version difference somewhere?
You either have different versions of WO or different versions  
of the FrontBasePlugIn.
I'll double check the frontbase plugin, but I also tried  
downloading the all in one Eclipse + WOLips installer, which  
includes the frontbase plugin, and got the same results.  Also  
both machines have Leopard installed (one client, one server),  
don't they both automatically install the same version of  
webobjects?


From Apple's kb:

Installing the WebObjects 5.4.3 update for Mac OS X 10.5 Server

This update is available through the Software Update feature of  
Mac OS X Server. It is part of the Mac OS X 10.5.5 Update and  
cannot be obtained as a separate download.


System requirements

• Mac OS X Server 10.5 or later
• Java 5
If you are updating a WebObjects 5.4 system or performing a new  
installation of Mac OS X 10.5 Server:


• Install Mac OS X Server version 10.5
	• Run Software update to update to Mac OS X Server version  
10.5.5 or later



Jeff



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:

Re: Programmatic URL are Problematic

2008-11-19 Thread Joe Moreno

Thanks, Chuck and cug. WOHost was the problem.

- Joe

On Nov 18, 2008, at 21:00:06, Chuck Hill wrote:



On Nov 18, 2008, at 8:27 PM, Joe Moreno wrote:


Hi All,

	Is there a way for context().completeURLWithRequestHandlerKey() to  
return 127.0.0.1?


	I'm running WO 5.3.x in dev on 10.5.5 with Eclipse 3.3.2  WOLips  
3.3.5047.


	I ran several OS X updates on the dev machine and now it seems  
that context().completeURLWithRequestHandlerKey(), which returns  
the BonJour host name, hangs. I have to manually replace the  
BonJour host name with 127.0.0.1 to continue to the next page on  
the dev machine.


	The app launches from Eclipse just fine with 127.0.0.1. In dev,  
the SSL links need to be http so the code checks to see if it's in  
dev or deployment mode by checking if  
Application.isDirectConnectEnabled() (bound to isSecure and  
negated). This has worked fine in the past - the URL to the WO app  
simply changed from 127.0.0.1 to the BonJour.local host name when  
returning http (non secure) dev links instead of https, but now,  
for some reason, the BonJour host name hangs in the web browser.


Try launching with
-WOHost localhost
or
-DWOHost=localhost

Chuck


--
Chuck Hill Senior Consultant / VP Development

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]


Re: halp?

2008-11-19 Thread Josh Paul
Switching to Apache2 was easy, easy. Apple provided a little button on  
the Server Admin tool to do it.


There were additional issues, however. The primary culprit was a  
missing WebObjects binary in the cgi directory. This was on 10.5.5,  
upgraded from 10.4.11.


All is working as expected now.

On Nov 19, 2008, at 7:06 PM, Chuck Hill wrote:



On Nov 19, 2008, at 6:48 PM, Josh Paul wrote:

Apache responds as expected when hitting the root of the domain (a  
Flash detection page), but when sent to WebObjects, it fails to  
respond correctly.


Seeing this in the httpd log:

Process: httpd-1.3 [3810]
Path:/usr/sbin/httpd-1.3


Using the WO 5.4 Apache 2 adaptor with Apache 1.3?




Identifier:  httpd-1.3
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  httpd-1.3 [75]

Date/Time:   2008-11-19 15:57:07.245 -0800
OS Version:  Mac OS X Server 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0002, 0x
Crashed Thread:  0

Application Specific Information:
*** single-threaded process forked ***

Dyld Error Message:
Symbol not found: _apr_snprintf
Referenced from: /System/Library/WebObjects/Adaptors/Apache/ 
mod_WebObjects.so

Expected in: flat namespace

On Nov 19, 2008, at 4:26 PM, Chuck Hill wrote:


On Nov 19, 2008, at 4:13 PM, Josh Paul wrote:

I just moved our app to our server, configured WO, and everything  
works well when running the app via cli and accessing it locally.  
However, when going through Monitor and accessing via web (port  
80), I get a kCFErrorDomainCFNetwork. I've looked over httpd.conf  
and don't see anything out of place.


Anyone have any insight?


Any more details?  What host name are you using?  Is it the  
canonical, fully qualified name for this machine? Do other apps on  
that machine work?



Chuck

--
Chuck Hill Senior Consultant / VP Development

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




--
Chuck Hill Senior Consultant / VP Development

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]


Re: halp?

2008-11-19 Thread Chuck Hill


On Nov 19, 2008, at 10:58 PM, Josh Paul wrote:

Switching to Apache2 was easy, easy. Apple provided a little button  
on the Server Admin tool to do it.


There were additional issues, however. The primary culprit was a  
missing WebObjects binary in the cgi directory. This was on 10.5.5,  
upgraded from 10.4.11.


That does not sound right.  You should be / want to be using the  
mod_webobjects Apache module for this.  You need to re-install WO to  
get this done for you or look on the Wiki for instructions for manual  
configuration (I think there are there).



Chuck





All is working as expected now.

On Nov 19, 2008, at 7:06 PM, Chuck Hill wrote:



On Nov 19, 2008, at 6:48 PM, Josh Paul wrote:

Apache responds as expected when hitting the root of the domain (a  
Flash detection page), but when sent to WebObjects, it fails to  
respond correctly.


Seeing this in the httpd log:

Process: httpd-1.3 [3810]
Path:/usr/sbin/httpd-1.3


Using the WO 5.4 Apache 2 adaptor with Apache 1.3?




Identifier:  httpd-1.3
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  httpd-1.3 [75]

Date/Time:   2008-11-19 15:57:07.245 -0800
OS Version:  Mac OS X Server 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0002, 0x
Crashed Thread:  0

Application Specific Information:
*** single-threaded process forked ***

Dyld Error Message:
Symbol not found: _apr_snprintf
Referenced from: /System/Library/WebObjects/Adaptors/Apache/ 
mod_WebObjects.so

Expected in: flat namespace

On Nov 19, 2008, at 4:26 PM, Chuck Hill wrote:


On Nov 19, 2008, at 4:13 PM, Josh Paul wrote:

I just moved our app to our server, configured WO, and  
everything works well when running the app via cli and accessing  
it locally. However, when going through Monitor and accessing  
via web (port 80), I get a kCFErrorDomainCFNetwork. I've looked  
over httpd.conf and don't see anything out of place.


Anyone have any insight?


Any more details?  What host name are you using?  Is it the  
canonical, fully qualified name for this machine? Do other apps  
on that machine work?



Chuck

--
Chuck Hill Senior Consultant / VP Development

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




--
Chuck Hill Senior Consultant / VP Development

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











--
Chuck Hill Senior Consultant / VP Development

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]


Re: halp?

2008-11-19 Thread Josh Paul

Hmm.

The wo module was loaded by Apache. I'll try to dig in further.

On Nov 19, 2008, at 11:03 PM, Chuck Hill wrote:



On Nov 19, 2008, at 10:58 PM, Josh Paul wrote:

Switching to Apache2 was easy, easy. Apple provided a little button  
on the Server Admin tool to do it.


There were additional issues, however. The primary culprit was a  
missing WebObjects binary in the cgi directory. This was on 10.5.5,  
upgraded from 10.4.11.


That does not sound right.  You should be / want to be using the  
mod_webobjects Apache module for this.  You need to re-install WO to  
get this done for you or look on the Wiki for instructions for  
manual configuration (I think there are there).



Chuck





All is working as expected now.

On Nov 19, 2008, at 7:06 PM, Chuck Hill wrote:



On Nov 19, 2008, at 6:48 PM, Josh Paul wrote:

Apache responds as expected when hitting the root of the domain  
(a Flash detection page), but when sent to WebObjects, it fails  
to respond correctly.


Seeing this in the httpd log:

Process: httpd-1.3 [3810]
Path:/usr/sbin/httpd-1.3


Using the WO 5.4 Apache 2 adaptor with Apache 1.3?




Identifier:  httpd-1.3
Version: ??? (???)
Code Type:   X86 (Native)
Parent Process:  httpd-1.3 [75]

Date/Time:   2008-11-19 15:57:07.245 -0800
OS Version:  Mac OS X Server 10.5.5 (9F33)
Report Version:  6

Exception Type:  EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0002, 0x
Crashed Thread:  0

Application Specific Information:
*** single-threaded process forked ***

Dyld Error Message:
Symbol not found: _apr_snprintf
Referenced from: /System/Library/WebObjects/Adaptors/Apache/ 
mod_WebObjects.so

Expected in: flat namespace

On Nov 19, 2008, at 4:26 PM, Chuck Hill wrote:


On Nov 19, 2008, at 4:13 PM, Josh Paul wrote:

I just moved our app to our server, configured WO, and  
everything works well when running the app via cli and  
accessing it locally. However, when going through Monitor and  
accessing via web (port 80), I get a kCFErrorDomainCFNetwork.  
I've looked over httpd.conf and don't see anything out of place.


Anyone have any insight?


Any more details?  What host name are you using?  Is it the  
canonical, fully qualified name for this machine? Do other apps  
on that machine work?



Chuck

--
Chuck Hill Senior Consultant / VP Development

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




--
Chuck Hill Senior Consultant / VP Development

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











--
Chuck Hill Senior Consultant / VP Development

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]