I have just upgraded to Mac OS X Mavericks and the Mac specific CayenneModeler
3.2M1 is no longer working. It just won't open. When I tried installing again,
Mavericks says CayenneModeler is damaged and gives me the option to delete it.
I have started using the platform independent version of Ca
> Eclipse app for the first time, it prompted me to install it.
>
> Anyways, looks like we need to test a Java7-only case.
>
> Andrus
>
>
>
> On Nov 6, 2013, at 12:17 PM, D Tim Cummings wrote:
>> I have just upgraded to Mac OS X Mavericks and the Mac spec
I would like to try using cayenne-migrations to do database schema updates when
my application starts but I am not sure how the cayenne sandbox works.
I have checked out cayenne-migrations
svn co http://svn.apache.org/repos/asf/cayenne/sandbox/cayenne-migrations/
and then I tried to install it
t, Mar 22, 2014 at 9:40 AM, John Huss wrote:
>
>> Ah, sorry, the pom wasn't really right due to my lack of maven knowledge.
>> If you update it should work now. Thanks!
>>
>>
>> On Sat, Mar 22, 2014 at 1:42 AM, D Tim Cummings wrote:
>>
>>>
tor. So take advantage of that.
>
>
> On Sat, Mar 22, 2014 at 9:40 AM, John Huss wrote:
>
>> Ah, sorry, the pom wasn't really right due to my lack of maven knowledge.
>> If you update it should work now. Thanks!
>>
>>
>> On Sat, Mar 22, 2014 at
Mar 2014, at 11:12, D Tim Cummings wrote:
>
> Another thing I find unusual is that when I add a maven dependency of
> cayenne-migrations to my tapestry app using the following
>
>
> org.apache.cayenne
> cayenne-server
("cayenne-project.xml", "output");
}
6. Run the tapestry app and file will be output to tapgen/output/Datamap0.java
mvn jetty:run
# ^C to stop when logs show generation complete
I hope this is helpful to someone. :)
Tim
On 24 Mar 2014, at 14:06, D Tim Cummings wrote:
Thanks. I didn't think of that.
So now I am putting the migrations into my app.
1. I have worked out I need to change the Cayenne Model schema update strategy
in cayenne-project.xml from
schema-update-strategy="org.apache.cayenne.access.dbsync.CreateIfNoSchemaStrategy"
to
schema-update-str
ns for you or throw an exception on failure.
>
> Not sure if this helps you or not, but thought I'd toss an alternative
> approach out for your consideration. If this interests you, I can answer
> more questions about it.
>
> mrg
>
>
>
> On Mon, Mar 24, 2014 at 11
Thanks. I didn't think of that.
So now I am putting the migrations into my app.
1. I have worked out I need to change the Cayenne Model schema update strategy
in cayenne-project.xml from
schema-update-strategy="org.apache.cayenne.access.dbsync.CreateIfNoSchemaStrategy"
to
schema-update-str
Hi
I am using cayenne in a tapestry project and my final deployment will be in
Tomcat 7 using JNDI for defining the data source. I am developing in Eclipse
4.3.1 and would like my development environment to be as close to deployment as
possible. What is the recommended way of using JNDI in deve
>> Hi Tim,
>>
>> RunJettyRun uses plain Jetty and not Jetty+ (which includes the JNDI
>> extension). What I do in my development is use the Jetty Maven plugin and
>> then just use Maven to run Jetty. Has worked pretty well so far for me.
>>
>>
>>
Maven to run Jetty. Has worked pretty well so far for me.
>>
>>
>> On Thu, Apr 24, 2014 at 9:38 PM, D Tim Cummings wrote:
>>
>>> Hi
>>>
>>> I am using cayenne in a tapestry project and my final deployment will be
>>> in Tomcat 7 using JN
what you need to define to get
> yourself a local DataSource without JNDI.
>
> Andrus
>
> On Apr 25, 2014, at 4:38 AM, D Tim Cummings wrote:
>
>> Hi
>>
>> I am using cayenne in a tapestry project and my final deployment will be in
>> Tomcat 7 using JND
gt; of jetty.
>
> The specific problem you are having with jetty appears to be that you
> haven't added the libs from jetty that deal with JNDI. Jetty is
> modular, and by default, it ships with a minimal set of supported
> features -- you need to add additional jars if you
27;s suggestion of system properties to bypass JNDI
in development, unless someone can advise how to get live class reloading from
mvn jetty:run or how to get JNDI working in RunJettyRun.
Cheers
Tim
On 26 Apr 2014, at 10:11, Mike Kienenberger wrote:
> On Fri, Apr 25, 2014 at 7:27 PM, D Tim Cum
;
>
> mrg
>
>
> On Fri, Apr 25, 2014 at 6:39 PM, D Tim Cummings wrote:
>
>> Thanks Michael.
>>
>> This is very handy. I downloaded cbe and was able to get it running
>> talking to a mysql database by changing the jndi config. Now I am trying
>
> This overrides the default when you run the application via Maven.
>
> mrg
>
>
>
> On Sat, Apr 26, 2014 at 4:54 PM, D Tim Cummings wrote:
>
>> Hi Michael
>>
>> Problem was a wrong case on the s in DataSource in my web.xml file
>>
>
It turns out I can ignore these IllegalArgumentExceptions. I had another error
later on which was stopping my app from running in jetty.
Tim
On 26 Apr 2014, at 19:22, D Tim Cummings wrote:
> I got mvn jetty:run to run. It turned out I had a mistake in my web.xml. In
> the resource-ref
o leave my JNDI configuration in place during
development.
Thanks for everyone's help
Tim
On 27 Apr 2014, at 6:54, D Tim Cummings wrote:
> Hi Michael
>
> Problem was a wrong case on the s in DataSource in my web.xml file
>
> I had
>
>
Hi all
I want to set up a simple audit trail which basically links who was the person
to create a record to that record. I am using Cayenne 3.2M1 and Tapestry 5.3.7.
I figure I need to set up a data channel filter to catch changes to that record
and then save a link to the user who made the cha
hich is normally your request thread. Could you possibly print
> thread names from within setTheUserId and doPrePersist methods ? Maybe that
> will give you a hint. Request threads in Tomcat and Jetty have easily
> identifiable names.
>
> Andrus
>
>
> On Jul 20, 2014, at
semi-randomly. Note that qtp1248572294-23 and qtp1248572294-19
> are also Jetty threads, so they are called within a request. So make sure you
> call ‘setTheUserId’ in every single request (and reset it to null at the end
> of that request).
>
> Andrus
>
> On Aug 2, 2014, at 2
t;> can be 100% sure that security code is always executed.
>>
>> Perhaps you can do something similar using a custom T5 dispatcher:
>> http://wiki.apache.org/tapestry/Tapestry5HowToCreateADispatcher
>>
>> Andrus
>>
>>> On Aug 4, 2014, at 4:23 PM,
to a given schema URL in Eclipse. Don't have
> Eclipse installed to try now.
>
> Andrus
>
>> On May 24, 2018, at 6:56 PM, D Tim Cummings wrote:
>>
>>
>> I have upgraded my cayenne to 4.1M1 and now I am getting the following
>> errors in Eclip
tion="http://cayenne.apache.org/schema/10/modelMap
https://cayenne.apache.org/schema/10/modelMap.xsd";
Regards
Tim
> On 27 May 2018, at 18:15, D Tim Cummings wrote:
>
> I don’t think it is a network problem. I can access domain.xsd in a web
> browser. Problem occurred immediat
I see that 4.1.M2 has deprecated DataChannelFilter. Apparently we should use
either DataChannelQueryFilter or DataChannelSyncFilter.
I am following the example on
https://cayenne.apache.org/docs/4.1/cayenne-guide/#lifecycle-events which still
refers to DataChannelFilter. I would use DataChannel
Does anyone know of any good open-source Cayenne Tapestry apps that show
best practice and latest features for using these two frameworks
together? Most of the Tapestry examples use Hibernate.
Tim
OpenPGP_signature
Description: OpenPGP digital signature
his.sharedContext = sharedContext;
> }
>
> @Override public ObjectContext get() {
> return sharedContext;
> }
> }
>
>
>
>> On May 13, 2021, at 9:56 AM, D Tim Cummings > <mailto:t...@triptera.com.au>> wrote:
>>
>> Thanks Andrus. I am
hen doing a submit.
>>
>> mrg
>>
>> [1] We learned the hard way that Tomcat has a default limit of 10k form
>> inputs because one of our users was reporting data wasn't saving at the
>> BOTTOM of the page, but was saving at the TOP. To make it worse, Tom
international-capstone-exchange
>
>
> That uses the integration service. Versions are kind of old, but the
> idea is the same.
>
>
> On 5/12/21 5:50 AM, D Tim Cummings wrote:
>> Does anyone know of any good open-source Cayenne Tapestry apps that show
>> best practice and
Thanks Andrus. This helps me too. I was clearing the folder
/var/lib/tomcat9/work/Catalina/localhost after stopping tomcat and
before starting it again to avoid the error. This hint is worthy of
being part of the documentation.
Tim
On 24/6/22 17:54, Andrus Adamchik wrote:
Hi Richard,
I assu
I am using 4.2 RC in production. No problems.
Tim
On 22/11/2022 07:40, Hugi Thordarson wrote:
Hi guys!
I'm about to be rid of a legacy DB that's been keeping my most important
application stuck on a heavily modified Cayenne 4.1 stack. So, finally looking
into joining modernity and upgrading C
33 matches
Mail list logo