Joerg Heinicke wrote:
>
> On 25.09.2008 12:53, yosauron wrote:
>
>>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>>> Line 23 in XML document from URL
>>> [jar:file:/home/caribdis/.m2/repository/org/apache/cocoon/cocoon-databases-bridge/1.1.0-SNAPSHOT/cocoon-databases
On 25.09.2008 12:53, yosauron wrote:
org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
Line 23 in XML document from URL
[jar:file:/home/caribdis/.m2/repository/org/apache/cocoon/cocoon-databases-bridge/1.1.0-SNAPSHOT/cocoon-databases-bridge-1.1.0-SNAPSHOT.jar!/META-INF/cocoo
Joerg Heinicke wrote:
>
> On 23.09.2008 09:12, yosauron wrote:
>
>> Please, Does anybody know where is the error? I have been searching the
>> error
>> for 5-6 days and I don't have any more clues... Can anyone help me?
>
>
Caused by: java.lang.NoSuchMethodError:
org.apache.cocoon.t
ok,
How do I fix this? Deleting and updating any jar?
And one question, when you define the version in a pom file, is not for
choose the correct version of the blocks - jars??
Thank you Joerg for your answer
Joerg Heinicke wrote:
>
> On 23.09.2008 09:12, yosauron wrote:
>
>> Please, Does
On 23.09.2008 09:12, yosauron wrote:
Please, Does anybody know where is the error? I have been searching the error
for 5-6 days and I don't have any more clues... Can anyone help me?
Caused by: java.lang.NoSuchMethodError:
org.apache.cocoon.transformation.SQLTransformer.getLogger()Lorg/apach
Please, Does anybody know where is the error? I have been searching the error
for 5-6 days and I don't have any more clues... Can anyone help me?
yosauron wrote:
>
> Hi Dom,
>
> I have followed these steps but I get the following error when I request
> the url from the web browser:
>
>
>
Hi Dom,
I have followed these steps but I get the following error when I request the
url from the web browser:
> javax.servlet.ServletException: org.apache.cocoon.ProcessingException:
> Failed to process pipeline
> at -
> file:///home/caribdis/cocoon/bloqueBD2/./src/main/resources/COB-
On 23.07.2008 08:00, Derek Hohls wrote:
Not sure if you are speaking for the dev team here?
No, that was my opinion.
What exactly does "kind of obsolete" mean - has it
been deprecated, or is it still a valid component in 2.2?
Or is there is some other meaning?
I'm not a native English spe
Joerg
Not sure if you are speaking for the dev team here?
What exactly does "kind of obsolete" mean - has it
been deprecated, or is it still a valid component in 2.2?
Or is there is some other meaning?
Thanks.
>>> On 2008/07/19 at 01:08, in message <[EMAIL PROTECTED]>, Joerg Heinicke
>>> <[EMA
I agree with Boris. In Cocoon 2.2 the database block is kind of
obsolete. An application should rather be developed with more standard
means as provided by Spring. Cocoon was never very good at integrating
database stuff.
Joerg
On 06.06.2008 10:05, Johannes Hoechstaedter wrote:
I know, cocoo
Hi
2008/6/6 Johannes Hoechstaedter <[EMAIL PROTECTED]>:
> I tried, but I failed :). I didn't foun the file
> src/main/resources/META-INF/cocoon/avalon/custom-sitemap-compents.xconf so I
> put the content into my sitemap.xmap. I don't have an orcale db, so I
> replaced everything oracle sepcific
Johannes Hoechstaedter schrieb:
Hi Dom,
I had no need of these lines your wrote into
custom-sitemap-compents.xconf. I simply deleted this file.
What I needed was:
- dependencies in pom.xml (driver, cocoon-database-impl)
- datasources.xml
- sql.xml
- pipeline entry in sitemap.xml where the t
Hi Dom,
I had no need of these lines your wrote into
custom-sitemap-compents.xconf. I simply deleted this file.
What I needed was:
- dependencies in pom.xml (driver, cocoon-database-impl)
- datasources.xml
- sql.xml
- pipeline entry in sitemap.xml where the transformer is called
:)
cheers
Joh
taedter [mailto:[EMAIL PROTECTED]
Sent: 06 June 2008 16:06
To: users@cocoon.apache.org
Subject: Re: Database connection by cocoon 2.2
ok, I managed it. There were some spelling errors, and some more
modifications ;), but I have some datas on the screen, thanks.
Johannes Hoechstaedter schrieb:
>
ok, I managed it. There were some spelling errors, and some more
modifications ;), but I have some datas on the screen, thanks.
Johannes Hoechstaedter schrieb:
Hi Dominic
I tried, but I failed :). I didn't foun the file
src/main/resources/META-INF/cocoon/avalon/custom-sitemap-compents.xconf
Hi Dominic
I tried, but I failed :). I didn't foun the file
src/main/resources/META-INF/cocoon/avalon/custom-sitemap-compents.xconf
so I put the content into my sitemap.xmap. I don't have an orcale db, so
I replaced everything oracle sepcific by mysql data and adapted ehe sql
string. On "mvn
used for
any production type app, for a quick mock up, the above should work
without having to go near Spring + Hibernate.
/dom
-Original Message-
From: Derek Hohls [mailto:[EMAIL PROTECTED]
Sent: 06 June 2008 13:25
To: users@cocoon.apache.org
Subject: Re: Database connection by cocoon
Johannes
Just curious - is there a pressing reason to use 2.2? Why not
download and work with 2.1 (which ships with the sample code
you requested). Again, IMO, 2.2 still needs more work - esp.
docs and simple examples - in making it accessible to the
"average" user.
Cheers
Derek
>>> On 2
You probably already have looked at it, but the documentation on
springframework.org is actually very good (something for Cocoon to
aspire to ;-) -- the section on database access is at
http://static.springframework.org/spring/docs/2.5.x/reference/jdbc.html
You can certainly work with the Spring d
I haven't investigated what the databases block does in 2.2. In Cocoon
2.1, you could use it for simple database queries just by giving it a
JDBC connection; but since it didn't help much with database updating,
we never used it much. I imagine much the same is true in 2.2.
However, I do have so
The linked sample is nice, and basically exactly what I am looking for.
I have already searched on http://cocoon.apache.org/2.1/ on how I can
etablish a database connection. You need an entry int your web.xml and
in your cocoon.xconf for example. Where is the cocoon.xconf in 2.2?
Where can I d
Johannes
Good question! The "official and best" way is to use Hibernate and Spring;
this will, IMO, mean writing *lots* of code. You can use flowscript instead,
for simple cases, but be warned that many here will point out the potential
flaws in this approach.
In the 2.1.x series of Cocoon,
Good morning Bng,
I know, cocoon is based on spring. But isn't there another possibility
with cocoon blocks only? There is this database-block. What it is good
for, when I have to write my own spring application? I want to write as
less code as possible.
Johannes
Johannes -- you may want t
Bng
It would be very useful if you, or anyone in the community, could identify or
recommend such tutorials - on a quick search I was not able to find
anything useful - although:
http://www.codesuccess.com/tutorials/spring/pagination/
and
http://www.netbeans.org/kb/61/web/quickstart-webapps-spring.
Johannes -- you may want to search for tutorials on using databases with
Spring. My understanding is that with Cocoon 2.2 it is best to have
Spring configure and manage any database connections. Then you can add
Cocoon features (eg, the SQL transformer or whatever) once that is set
up.
Bng
On
25 matches
Mail list logo