[ 
http://jira.dspace.org/jira/browse/DS-253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=10428#action_10428
 ] 

Mark Diggory commented on DS-253:
---------------------------------

Here is my test environment.  You should verify your environment works with the 
1.5.x branch that I've added the above changes directly to 
dspace-xmlui-wing/pom.xml

My environment and build process is the following, I've made the appropriate 
changes to the source tree in

https://scm.dspace.org/svn/repo/dspace/branches/dspace-1_5_x

I complete the following steps to assure I have a very fresh build environment

rm ~/.m2/repository
svn co https://scm.dspace.org/svn/repo/dspace/branches/dspace-1_5_x
cd dspace-1_5_x/dspace
mvn package
cd target/dspace-1.5.3-SNAPSHOT-build.dir/
ant update

This will update your webapps deployed into /dspace/webapps

I restart my apache-tomcat-6.0.16 instance and I can test the site at the 
following URL

http://localhost:8082/xmlui

I test two different nonexisting paths to verify I get a proper 404 errors the 
first returns an error page without theme, the second returns an error page 
with theming, but both return an appropriate 404.

http://localhost:8082/xmlui/foo.txt
http://localhost:8082/xmlui/static/foo.txt

this is on OSX, Java version "1.5.0_19", tomcat 6.0.16 without mod-proxy

I would recommend verifying everything in jetty without mod-proxy before trying 
through mod_proxy
Mark

> NullPointerException in HttpServletResponseBufferingWrapper (Cocoon bug?)
> -------------------------------------------------------------------------
>
>                 Key: DS-253
>                 URL: http://jira.dspace.org/jira/browse/DS-253
>             Project: DSpace 1.x
>          Issue Type: Bug
>    Affects Versions: 1.5.2
>         Environment: Ubuntu Linux 8.4, Gentoo Linux 2008.0, maybe others.
> Tomcat 5.5, Tomcat 6
> JDK 1.6, maybe others
> AJP or HTTP proxy from Apache HTTPD (mod_jk and mod_proxy_ajp both tried)
>            Reporter: Mark Wood
>         Attachments: dspace-xmlui-servlet.patch
>
>
> Reported by Sean Carte in 
> http://sourceforge.net/mailarchive/forum.php?thread_name=5d9253070906110526h5cb0f74cof17ba0c6b4eb449e%40mail.gmail.com&forum_name=dspace-tech
> This seems to leave an "idle in transaction" DBMS connection each time, which 
> leads to a long pause followed by an error page in subsequent requests which 
> get that connection from the pool.  Some requests go through, many do not.
> There was a very likely suggestion that this is described and fixed in 
> https://issues.apache.org/jira/browse/COCOON-2217, leaving the problem of how 
> to get that Cocoon fix built into DSpace.  Adjusting 
> dspace-xmlui/dspace-xmlui-webapp/pom.xml to build against 
> cocoon-servlet-service-impl-1.2.0 added a new layer of problem:  the Cocoon 
> servlet:context element in a Spring application context now requires a schema 
> name in the context-path attribute.
> Apparently the context-path should now be "blockcontext:/".  However this 
> adds a third layer of mystery:  the blockcontext schema is not recognized, 
> even though sample Cocoon 2.2 code at the Cocoon site employs it 
> successfully.  An additional complication:  it appears that an archive 
> becomes a Cocoon block by being named via Cocoon-Block-Name in its manifest, 
> but I can't find this being done in DS 1.5.2.  So even if we could use 
> blockcontext: we would have no block context.

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

        

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Dspace-devel mailing list
Dspace-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-devel

Reply via email to