Something gets hung and I don't know what it is.
Could this help...?
http://en.wikibooks.org/wiki/Programming:WebObjects/Web_Applications/
Deployment/Debugging_Frozen_Deployed_Instances
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
___
Do not
Hello;
If you are on MacOS-X, perhaps you could use ImageCapture (if you can
get a supported scanner) to get the actual scanned data and then
transfer it to your WebObjects application using WebServices (or JSON-
RPC or DA or)
cheers.
We need to interface a WO application with a scan
Hello;
I'm reading between the lines on this mailing list over and over
amongst the whispers and murmours and am still not quite sure what is
going to happen with the WO toolset. I can appreciate that EOM and
WOB are going to get the axe, although there is no clear indication
of *when* t
Hello Dino;
As you may know, I'd been using Cocoa/EOF since its origins but,
since the Java Bridge is about to disappear I'd been trying to
substitute it using Web Services. The main idea is to have Core Data,
This is something I have been working on as well. After many months
of hard work
Hello Kieran;
Just trying to decide how to best approach "skinning" on an app for
If it is a publishing app with very little user-write interaction
(like a news site) then it may be possible to use XML/XSLT and create
a stylesheet for each appearance. This has worked well on one site I
Hello;
I know that it is possible to set the session timeout to a very large
number so the user is unlikely to ever see a session time out. Is it
also possible to change it dynamically, so that once the user starts
Just guessing, but this is probably not to do with session timeouts
in an in
/**
* Attempts to establish the host of an incomming request.
* That means the hostname of the request that landed up
* making the request we are experiencing in this context.
*/
public static String getExternalHostnameFromInboundRequest
(WORequest request)
{
String
Hello -- does anybody use DB2 with WO5? I can't see any adaptors out
there? Has anybody had a crack at writing a JDBC adaptor for it?
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
___
Do not post admin requests to the list. They will be ignored
Hello Chuck;
I am a little confused here as at (2) there is no context in which to
restore/save the session. I assume in the case of the component
request handler, the context is actually created at (2), but I am
creating a system that uses 'WOAction' so I assume the context must
be bein
Hello;
I'm wondering, when one is writing a request handler, where should
the session restore and save be located?
1) WOAction.performActionNamed(...)
2) WORequestHandler.handleRequest(...)
Anybody know where Apple does this?
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
__
The next logical step (maybe I am dreaming) would be to create a
clean room WO framework that is API-compatible with Apple's, reusing
Haven't they got patents on stuff in WO?
US6085197
US5956728
US5898871
US5873093
US6085197
US5956728
cheers.
__
I think we need to have a very good, published, review of the various
frameworks out there:
GVC, D2W, Noxymo, Wonder, LEWO, Apollo, others???
...LEWOStuff
(http://homepage.mac.com/andrewlindesay/le/page_wo.html)
___
Andrew Lindesay
www.lindesay.co.nz
Note that WOBuilder (or at least in the past ... haven't tried
recently) complains that the html is invalid if you put a WO tag
inside an html one...
...but not if you don't put speech marks around the 'name'
attribute. :-) I only use this for changing class names on TR's I
swear.
chee
Hello Ashley;
of the framework and tools. Tools like WOBuilder, EOModeler, and
other tools lead such experienced developers so far and then drop
them off a cliff.
I have to disagree with you. As I said before, I am involved in a
large sophisticated project and we use WOBuilder for all of o
Sorry about replying to a couple of posts at once.
And on top of this, WOBuilder is pretty much a POS anyway,
...
DID), I don't want to just remake WO Builder, because I fundamentally
disagree with its workflow as a viable tool for component
I undertake some substantial human-facing projects a
Hello Frank;
We have to change the TargetNamespace in our WSDL-file. In the
WSDL- file the TargetNamespace is always the Hostname, but this
host is not reachable from the WAN. How can we change this? It
seems that there is almost nothing to find about that.
I have managed to manipulate th
Hello Owen;
its better to explicitly call System.gc() in WO App's. Whats the
rule of thumb here in terms of how often, is there a better spot
than others etc etc ?
It is only ever a hint, never a demand. I have resorted to this
infrequently.
That's correct, but I think the problem arise
Hello Alex;
The whole WO WebServices/Direct2WebServices implementation needs to
be rethought from the ground up and reimplemented
I feel the doco is largely useless, some things in the architecture
are quite good, but other things seem messy. I also agree that it is
somewhat disappointin
Hello Laurent;
webobjects 5.3 under Mac can be deployed under linux with apache and
tomcat ?
I have found this to work and have drawn up some notes about this.
See...
http://homepage.mac.com/andrewlindesay/le/articles/wo-tomcat.pdf
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
Hello;
In case anybody is interested, I believe that I have solved the
Temporary GID serialisation/deserialisation issue I had a few weeks
ago by writing my own serialiser/deserialiser. I can supply this to
anybody who is interested if you want to ask me offline, but I have
not heavily t
Hello;
The request comes in via the apache adaptor so there are few (if any)
areas of your application that you would need to change. It is more
a question of modifying the apache server which is feeding your
WebObjects application to handle the HTTPS connections.
cheers.
I meant an in
Grüß Wolfram;
Yes, I had a big problem a while ago NOT having some reverse
relations, so i
always have reverse relations. It is absolutely unclear in which
case they
are necessary... (or optional, or recommended, or superfluous...)
If you have a 'to many' relationship for which there may b
Does anyone have sample code etc..on how to make an
https connection ?
Hello there -- not too sure what you mean. Do you mean an inbound
connection into your WebObjects application should be transported
over HTTPS or do you mean that you want to make an HTTPS URL request
from your applica
Hello;
manage and deploy the html. Although very many of the html pages will
be identical (particularly the smaller components), the front page,
the layout, and a couple of other pages may vary between the sites.
Something that has worked quite well for me on one project is to do
the 'changi
Hello David;
If I add a duplicate EOModel to my project which uses a different
adaptor setting to connect to FrontBase, can I connect to mySQL
with one of the EOModels and FrontBase with the other and using the
custom java classes just load the data from mySQL via one and write
to FrontBa
Hello Reid;
I find JFreeChart very good indeed. Here is a basic article on how
to get started.
http://www.javaworld.com/javaworld/jw-12-2002/jw-1227-
opensourceprofile.html
WO integration seems to be very smooth as well.
cheers.
best/easiest/cheapest tool to use. I drool over ReportM
Hello;
If you download...
http://homepage.mac.com/andrewlindesay/le/downloads/
lewostuff_distrib_9june2006.gnutar.bz2
You will find a PDF inside called "LEWOStuffOverview.pdf" with a sub
section called "LEWOStuff as a Private Framework in a WebObjects
Application". The variable "PRIVATE
Hello Ken;
So what you're basically saying is, you're using the temporary
global ID as a way to reference items across the wire that are all
in the same server side editing context.
^^^ Yes that is about the long and short of it.
Sounds like a reasonable approach, but my guess is people at
Hello Ken;
I am authenticating with the system and obtaining a session. Further
WS invocations on the system are in the context of this session so
there is a default EC which I am using. I typically undertake a
number of WS invocations into my system to create a graph of modified/
insert
Hello;
Has anybody any further advice in this area? I'd like to shift
EOTemporaryGlobalID-s from the client back to the server in order to
reference EO's that I'd made in previous web-services invocations.
EOTemporaryGlobalID-s serialise fine from WO... (the A's are fake
data obviously)
Hello;
Yes, I seem to use the following settings which gets me a build
product with all the frameworks in, but it is not a "war" file.
SERVLET_COPY_JARS=YES
SERVLET_DEPLOY_LICENSE=XXX
SERVLET_SINGLE_DIR_DEPLOY=YES
SERVLET_TRUE_WAR=YES
SERVLET_WEBAPPS_DIR=/tmp/webapps
cheers.
As far as I kn
Hello Corin;
How do I (partly) customize the target namespace of the definitions
element in a wsdl doc generated by WO (5.2.4) and the corresponding
ns used in soap messages to and from services described in that
wsdl doc?
I have recently been manipulating WSDL settings on an instance of
Hello Kieran;
This is an interesting idea to name the thread with the wosid.
I see your 'job' instance has a temporary GID -- I don't think I have
ever transferred an EO between EC's unless it were first persisted.
Just taking a wild guess here, but I'd assume there were no snapshots
wait
Hello Francis;
I'm not actually using D2WS, but I did notice that there. I found a
solution yesterday afternoon and that involved writing an AXIS
handler to run before reaching the pivot. The handler simply forces
the URL 'location' endpoint for the WSDL by assembling it from
informatio
Hello;
I am using session-ed web services in a servlet deploy. If the
endpoint I want including the session/instance is as follows...
http://foo.co.nz/FOO/WebObjects/FOO.woa/ws/
FooService;jsessionid=abc.i1?wsdl
...then the resultant WSDL returned actually contains the following
endpoi
Hello Frank;
I've been playing in this area recently and am happy to say I've
pretty much figured out how to achieve what I need in a robust manner
and I hope to write the information up in the coming months. There
are some tricky things. The first of which is that the NSDictionary
in t
Sorry to reply to my own post, but for those who are interested I
have put a section on the WikiBook "Controlling Enterprise Object
Serialisation" covering this point.
Is it possible to get the EOEnterpriseObject serialiser for
WebServices to also include the GID for to-one relationships in
Is it possible to get the EOEnterpriseObject serialiser for
WebServices to also include the GID for to-one relationships in the
serialisation?
___
Andrew Lindesay
www.lindesay.co.nz
___
Do not post admin requests to the list. They will be ignored
Hello François
Is there any way to catch this do display a "better" error page, or
to customise this page ?
http://homepage.mac.com/andrewlindesay/le/articles/
wo_errorreporting_article.pdf
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
___
D
Hello Bill;
It depends on your database as some products always think they are in
GMT and others try and fiddle the inbound/outbound timestamps so it
depends on your specific setup. I tend to do this in my app
constructor to force the JVM itself into GMT...
TimeZone tz = java.uti
Hello Philippe;
Perhaps you could expand on what you mean by "interconnect" as this
is like saying you want to build a bridge without specifiying if it's
for two cars a day, for or a motorway or for rail. In each case it
would be a different sort of bridge you would want.
cheers.
I wond
Hello;
After some careful consideration, I decided it would be easier to
deploy using servlets into Tomcat. This has worked OK and I have
made some notes on my website as a PDF around this that you may find
useful.
cheers.
his is the method I am about to attempt... copying the libraries
Hello Bill;
I wonder if this could be related to timezone issues? I tend to
force my JVM and DB into GMT and then present the data to the user in
their own timezone using formatters that are instantiated in the
session -- there has been some recent discussion on this so maybe
look back i
Hello;
[please excuse the cross-post between cocoa-dev and webobjects-dev]
I'm currently observing that WebServicesCore is serialisating CFNull/
NULL/nil as...
...which is not deserialising in an AXIS-based WebObjects environment
and is instead creating a fault "Deserializing para
Hello James;
I have to disagree with the comments made here about this being a bad
idea -- mostly because I use this WOSwitchComponent technique you are
imagining in all of my projects for a number of years now! It works
fabulously for me and has allowed me to make some fabulous navigation
Hello;
At runtime, I'm adding an attribute to an entity to get a SQL "SUM()"
operation to occur. The read format is "SUM(%P)". I add this
attribute, fetch it as a raw row and then remove the attribute. This
has been working rather well for some years, but I have a wee
specific problem
Hello James;
Is there a simple Java command that will escape my string for a raw
sql statement?
AFAIK, if you use a JDBC "PreparedStatement", this happens
automatically, otherwise you have to do it yourself. Would love to
hear news to the contrary!
cheers.
___
Andrew Lindesay
www.lind
Hello James;
ava.lang.InternalError: Can't connect to window server - not enough
permissions.
There is a command-line argument you can pass into the JVM...
-Djava.awt.headless=true
This will make the graphics environment of the JVM work without
needing the window server. If you'r
Hello Zac;
When instances of the driver have to have an instance of the
org.apache.avalon.framework.logger.* set. By default (ie if you
don't set the logger) the Driver object uses avalons' ConsoleLogger.
I had some trying "log4j" and "jakarta commons logging" problems and
conflicts some
Hello;
Hello, Is possible to trigger an event to be run one time at week?
Thanks Regards Amedeo
One easy way to do this if you are deploying on UNIX is to invoke a
DA using "curl" from a crontab entry.
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
Hello Zac;
Hey all, I'm wondering if there is a built in function that will
give you the absolute URL of the web application. I've seen the
applicationBaseURL () function but that isn't giving me enough
information. I need the whole URL directly to the web app.
From something like a compo
Hello Erol;
You might be interested in looking at...
http://www.macpeopledownunder.net
...and advanced searching for "WebObjects" and "Victoria" or any
other locality in New Zealand and Australia where you might be
looking for WebObjects practitioners.
Hope this helps.
cheers.
Hello Kieran;
Can someone recommend the quickest (free) java api to implement a
few lines of code to just scale down an uploaded image to low
resolution/smaller-size.
If you check out the framework on my site, you will find a class
called "LEImageHelper" that has a number of methods start
Hello Matthew;
difficulty in getting WO to serialize sessions, working with the
distributable. element, and so on.
When I've experimented with this, I have turned off session
serialisation between containers. If you look at the snippet from
the WOServletSessionStore below, you will see a
Hello Dave;
I have followed the documentation on deploying WO to tomcat.
It works on my mac, but when I try it on a PC i get the following
error:
"Exception loading sessions from persistent storage
java.lang.NullPointerException"
This is probably caused by the servlet container attempting
You might like to try:
http://www.360works.com/woof.html
___
Andrew Lindesay
www.lindesay.co.nz
___
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (Webobjects-dev@lists.apple.com)
Help/Unsubscr
Hello Michael;
I tend to do this sort of thing when this is necessary, but I have
not tried this line when it is not in a running WOA...
WOContext dummyCtx = new WOContext(new WORequest("GET","/","HTTP/
1.1",null,null,null));
Possibly of interest; instead of creating a command-line utilit
Hello Cliff;
JavaMonitor and wotaskd are still included with WebObjects
Developer. If
you're asking about *future* versions, I have no idea, and couldn't
comment
if I did.
The frameworks and deployment infrastructure installs onto the MacOS-
X developer host at "/System/Library/WebObject
Hi, I need to create Chart graphic in WebObjects... I have found
many java classes... ... to many :-) can you suggest me what to use?
I've used "jfreechart" and it's well designed and seems to work well.
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
___
Hello Cliff / Ken;
Could you change a few words on the Apple website in order that this
information could be made clear from reading the WebObjects product
page?
One question that Denis has raised that hasn't been spelt out is the
question of "wotaskd". Is it going to be on-going policy
Hello Jerry;
My point here is not that NSTimestamp is wrong, but that it's
directed at one set of interests and there seem to be no classes
directed to the other...
I had the same problems some years ago getting a date/time
infrastructure setup. Here's a rundown on how things worked out
Hello Mohapatra;
Which WebObjects applications can be ported to Ajax+WebObjects?
What is it about the WebObjects frameworks now that is preventing you
from implementing support for AJAX in your application?
cheers.
___
Andrew Lindesay
www.lindesay.co.nz
Hello Eric;
Hi All, This is probably a lame question, but how do you override
the standard WebObjects Missing Session Error page. I want to be
able to redirect or display a more user friendly page on a per
application basis.
Check out the section "articles" on my web site...
http
Hello Xavier;
I'd like to share some code between different applications, so I
was thinking about creating "something" that would...
I have a project that builds a library for some material that I need
to share between J2SE projects and WebObjects projects. The build
product for this lib
Hello Colin;
Yes I do this in the WOApplication subclass' constructor.
cheers.
Can this be done in a subclass of the WOApplication object? If so,
in what
method; the constructor? If not, where do you do it typically in your
application?
...
If I split off the FrontBase database to a diff
Hello Norberto;
One way to do this is to add some code to your WO page which causes a
java timer to periodically fire at about half the session timeout.
This javascript should invoke a URL with the wosid from a direct
action. This has the end effect of keeping the session alive as long
Hello Mike;
Expiring timestamps MIGHT be kicking off an ugly series of fetches
by global id (i.e. a bunch of single object fetches).
This is my point –– I reduce the lag which ought to create more SQL
to be executed, but this extra SQL *appears* to be faster than only
looking up the snaps
Hello Ken;
I do understand the end-user result of using the "lag" setting. What
I do not entirely understand is the manifestation of the underlying
architecture in terms of snapshot storage and performance of looking
up in those in-memory snapshots.
I have seen that a ~1 hour lag setting
Hello Mike;
That's a great explanation and is fabulous stuff to understand
properly –– thanks. Have you any idea how the EC's "fetch timestamp
lag" fits into this story, or is as simple as the snapshots being
structured in memory in such a way as to provide some sort of
modified-timestam
Hello Art;
Thank you for this documentation reference -- very interesting.
Snapshots are reference-counted ... So as long as a reference to a
snapshot from any editing context exists, the snapshot will remain.
But when the last reference is broken (e.g., when an editing
context is freed),
Hello All;
Apple badly needs to get a Tech Bulletin on EOF memory and
performance optimization.
Yes I have read around this and I agree that the holistic picture of
EOF's workings for volume, resource-intensive processing is somewhat
elusive -- some clear documentation in this area would
Hello Baiss;
If I split off the FrontBase database to a different computer on
the deployment side, how do I change the "setting" which will allow
the WO apps being run to look for the database on another computer?
I get the information I want from my own configuration infrastructure
then
Hello Albert;
I am trying to deploy a WO application as a WAR file under apache
tomcat 5.5.12. The application was created on Mac OS 10.3.9 with
WO 5.2.3 and Java 1.4.2_09-233. I am trying to deploy on Solaris
10 x86 with Tomcat 5.5.12 and Java 1.5.0_06. The application works
fine unti
Hello Neale;
I suppose the only difference there is that WOTimers don't appear to
occur during a request-response cycle in apps that are not handling
concurrent requests -- as one would expect from the run loop.
Obviously if this behaviour were required, one could emulate it, but
it is n
Hello Chuck;
Just paused a regular WOA to see the trace and yes you appear to be
right. I thought the run loop would no longer be there after the
move from WO 4 to 5, but indeed the WOTimer is fired from the run
loop and yes the servlet environment doesn't appear to be run
looping. Oh w
Hello Helge;
Timing in this situation is very much non-critical –– I just need it
to fire sometime in the approximate time specified. However my
observation is that under servet deploy, the WOTimer does not appear
to be firing at all. I would use java's own Timer mechanism, but I'd
rath
Hello;
I'm having a bit of trouble with my WOTimers not firing under WO 5.2
when my WOA is deployed into a servlet container (tomcat) -- has
anybody else experienced issues with WOTimers and servlet deploy or
has even had some luck with this combination?
cheers.
___
Andrew Lindesay
www.l
Hello Amedeo;
is possible to override the "valueForKeyPath" method application
wide ?
Your best approach here would be to create a superclass for all of
your component controllers. In that superclass, override the
"valueForKeyPath" method and this then applies globally for all of
your
(modified private email...)
Hello Jean-François;
LEIPPPrintJob doesn't do anything more or less than get the data to
the IPP server –– it's not going to modify your PDF. There are
various "attributes" you can carry with your job request that define
if the content should be scaled to fit t
Hello;
I'm trying to use JIPSI, and have moderate success.
I got a bit frustrated (read : very frustrated) trying to get IPP
printing going so I wrote my own IPP client code -- this is embodied
in "LEIPPPrintJob" which you can download from my website (http://
www.lindesay.co.nz/ -- see "
Hello again; bad form replying to one's own post, but nevermind...
I'm just wondering how iTMS serves it's content – does anybody know
how that bulk storage/delivery mechanism works? It would be
interesting to hear how that was done. Also, with this arrangement
I've discussed below, I wou
Hello Amedo & Thomas;
I've developed some classes that can stream data out of a series of
ordered BLOB's. This is used for a couple things in a couple of my
projects and it can also be used for storage of images and the
subsequent outbound streaming of images from a WOA. You can find out
Hello Lachlan;
I'm not 100% sure how you're vending these pages or how the problem
is expressing itself, but I did an article on error pages in WO some
time ago on STEPWISE which might shed some light on the mechanics of
this for you. You can get a PDF dump of this article here...
http:
Hello Mat;
My app generates CSV files from WORepetitions which open well via
Excel on the Mac but in Windows Excel it shows the source instead
of opening properly.
Try this;
response.setHeader("application/vnd.ms-excel; charset=UTF-8;
encoding=UTF-8", "content-type");
response.setHeader
Hello Ute;
In an action trigger a response, which hands over the html for a
WOComponent filled with data from the database as a string, which
could be parsed (Hyperlinks adjusted ect.) and sent as the content
of a htmlEmail via smtp-mailer.
I have been known to do this to get the output o
Hello Wolfram;
You may like to look at the source for...
LEWOJavaScriptConfirmationOrDenyLink
...in my framework which you can download from my website at
"www.lindesay.co.nz". You will need to see the...
LEWOJavaScriptIncludeOnce
...component in order to include the "lege
Hello Cara;
I agree the documentation is not very useful, but it's also do-able
to get started at a very basic level. Establishing robust
integration with your existing infrastructure might be a bit more
tricky, but simply vending a method isn't too hard.
Check out "Serialization and Des
Hello Randy;
Hi, I'm new to WO, and was wondering what the WO way is to
implement a common look to a site. By this I mean having a dynamic,
but always included header, footer, etc. I get the feeling that it
has something to do with components and maybe with
WOSwitchComponent...
You may
The change of license is music to everyone's ears!
Hello Greg;
To be honest, I am not sure I entirely understand the license
arrangement for non MacOS-X deployment.
"Adds a modified Developer tools license that allows WebObjects
applications developed with Xcode 2.2 to be deployed on any
Hello;
I'm having a deployment issue with getting a web-service vended on a
WO 5.2 system I'm working on. It's a fairly trivial issue of the
undesired host ending up from the inbound request in the WSDL when
the system is in a "monitor-deployed" environment. The inbound
request headers
Hello Marcos;
Attempting to answer a question like this is a bit of a tricky thing
as the issue could be caused by a number of things. I suppose some
useful things to first check...
A) If you are creating your own editing contexts, are you locking and
unlocking them appropriately?
B) Are
Hello Owen;
You will probably get a pretty good list of Australian and New
Zealand WebObjects developers from...
http://www.macpeopledownunder.net/
Go to "advanced search" and choose "WebObjects" and press "Search".
There's quiet a decent number of us. :-)
cheers.
Im trying to
Hello James;
We are now just experiencing an application freeze whereby we have to
force the instance to quit via the monitor to restart it. I can't
wostats up when
it freezes so I can't tell if it is a memory problem.
I wrote a brief PDF article this year to explain how to get a
stacktra
Hello;
I'm doing some WO 5.2.* WebServices development at the moment from
the perspective of somebody who is a heavy WO user, but relatively
new to WO's SOAP implementation and thought I would quickly share a
"workaround" and a "handy tip" while they are fresh in my mind...
--
Hello Amedeo;
How to create a restricted authenticated download area?? I don't
need a restricted web area, but a download area with
authenticatione done in WO
You could write a WebObjects application to handle the authentication
and then once you are ready to download you could use a "con
95 matches
Mail list logo