[ http://issues.apache.org/jira/browse/COCOON-1151?page=all ]

Pier Fumagalli updated COCOON-1151:
-----------------------------------

    Bugzilla Id:   (was: 28803)
      Component: Blocks: Databases
                     (was: Blocks: (Undefined))
    Description: 
I've tested BlobSource on versions 2.0.4 and 2.1.2 and it works after adding 
the proper items to cocoon.xconf, web.xml and a proper pipeline to a sitemap 
(as well as having the oracle classes12.jar in the lib directory).  Following 
the same configuration changes, version 2.1.3 and 2.1.4 give an error that the 
datasource can't be found.

org.apache.cocoon.ProcessingException: Exception during source resolving.: 
org.apache.excalibur.source.SourceException: Cannot get datasource 'dirt'


Original Exception: org.apache.excalibur.source.SourceException: Cannot get 
datasource 'dirt'

        at org.apache.cocoon.components.source.impl.BlobSource.getConnection
(BlobSource.java:361)

        at org.apache.cocoon.components.source.impl.BlobSource.getInputStream
(BlobSource.java:206)

        at org.apache.cocoon.components.source.SourceUtil.getInputSource
(SourceUtil.java:382)

        at org.apache.cocoon.components.source.SourceUtil.parse
(SourceUtil.java:266)

        at org.apache.cocoon.generation.FileGenerator.generate
(FileGenerator.java:141)

......

  was:
I've tested BlobSource on versions 2.0.4 and 2.1.2 and it works after adding 
the proper items to cocoon.xconf, web.xml and a proper pipeline to a sitemap 
(as well as having the oracle classes12.jar in the lib directory).  Following 
the same configuration changes, version 2.1.3 and 2.1.4 give an error that the 
datasource can't be found.

org.apache.cocoon.ProcessingException: Exception during source resolving.: 
org.apache.excalibur.source.SourceException: Cannot get datasource 'dirt'


Original Exception: org.apache.excalibur.source.SourceException: Cannot get 
datasource 'dirt'

        at org.apache.cocoon.components.source.impl.BlobSource.getConnection
(BlobSource.java:361)

        at org.apache.cocoon.components.source.impl.BlobSource.getInputStream
(BlobSource.java:206)

        at org.apache.cocoon.components.source.SourceUtil.getInputSource
(SourceUtil.java:382)

        at org.apache.cocoon.components.source.SourceUtil.parse
(SourceUtil.java:266)

        at org.apache.cocoon.generation.FileGenerator.generate
(FileGenerator.java:141)

......


> BlobSource cannot get datasource
> --------------------------------
>
>          Key: COCOON-1151
>          URL: http://issues.apache.org/jira/browse/COCOON-1151
>      Project: Cocoon
>         Type: Bug
>   Components: Blocks: Databases
>     Versions: 2.1.3
>  Environment: Operating System: Windows XP
> Platform: PC
>     Reporter: Charlie Irrgang
>     Assignee: Cocoon Developers Team

>
> I've tested BlobSource on versions 2.0.4 and 2.1.2 and it works after adding 
> the proper items to cocoon.xconf, web.xml and a proper pipeline to a sitemap 
> (as well as having the oracle classes12.jar in the lib directory).  Following 
> the same configuration changes, version 2.1.3 and 2.1.4 give an error that 
> the 
> datasource can't be found.
> org.apache.cocoon.ProcessingException: Exception during source resolving.: 
> org.apache.excalibur.source.SourceException: Cannot get datasource 'dirt'
> Original Exception: org.apache.excalibur.source.SourceException: Cannot get 
> datasource 'dirt'
>       at org.apache.cocoon.components.source.impl.BlobSource.getConnection
> (BlobSource.java:361)
>       at org.apache.cocoon.components.source.impl.BlobSource.getInputStream
> (BlobSource.java:206)
>       at org.apache.cocoon.components.source.SourceUtil.getInputSource
> (SourceUtil.java:382)
>       at org.apache.cocoon.components.source.SourceUtil.parse
> (SourceUtil.java:266)
>       at org.apache.cocoon.generation.FileGenerator.generate
> (FileGenerator.java:141)
> ......

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to