On Thu, Jan 15, 2009 at 2:02 AM, Van Ly <[email protected]> wrote:

>  Andrew,
>
> Try exposing the value of CLASSPATH in the context of where java is called
> for DSpace. Locate your .jar file and check its path is listed in CLASSPATH.
>

I have found a way to make the problem go away. I have disabled all security
in tomcat. This is a really bad solution and I am only using it as a
workaround until I find the real solution. But I think it shows that the
problem is do to with security and not CLASSPATH. Thanks for trying to help
though, the thought is much appreciated!

I think I am going to have to file this as a bug against DSpace. Even if
this is not the fault of DSpace directly it is still a problem with the
DSpace installation. Basically it does not work out of the box with
tomcat5.5 and java6 unless security is disabled. That makes it unsuitable
for production systems. It looks to me like most if not all production
DSpace installations are using java 5 so they have not hit this problem yet.


> The error message is actually looking for WebContinuation$UserObject in
> org/apache/cocoon/components/flow/*JAVASCRIPT*/fom and your grep found it
> in 
> org/apache/cocoon/components/flow/*JAVASC*/fom/FOM_WebContinuation$UserObject.class
> (I've put the difference in ALL CAPS).
>
> Hope this helps!
>
> Sue Walker-Thornton
>
> [email protected]
>
> Hello DSpacers,
>
> I am quite desperate to resolve the problem I am having on debian running
> any kind of admin function within DSpace. I get the exception shown below.
> One way is to try to create a community but it seems like it happens when I
> try to create anything. The so-called missing class is in the xmlui
> installation in cocoon-2.1.9.jar.
>
> java.lang.NoClassDefFoundError: 
> org/apache/cocoon/components/flow/javascript/fom/FOM_WebContinuation$UserObject
>
>         
> org.apache.cocoon.components.flow.javascript.fom.FOM_WebContinuation.setPageLocal(FOM_WebContinuation.java:202)
>
>         
> org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_sendPage(FOM_Cocoon.java:267)
>
>         inv3.invoke()
>
> Here is the output from jar (via grep) that shows the class is there.
>
>    637 Tue Apr 11 11:56:44 BST 2006
> org/apache/cocoon/components/flow/javasc/fom/FOM_WebContinuation$UserObject.class
>
> I am using DSpace 1.5.1, tomcat 5.5 and java 1.6.0_11 (and postgres 8.3
> FWIW). The jar does have read permission. I did a chmod 777 to be absolutely
> sure. Can anybody help me please?
>
-- 
Regards,

Andrew M.
http://www.andrewpetermarlow.co.uk
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to