Re: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit is there

2009-01-15 Thread Andrew Marlow
On Thu, Jan 15, 2009 at 2:02 AM, Van Ly v...@library.usyd.edu.au 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

 susan.m.thorn...@nasa.gov

 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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit is there

2009-01-14 Thread Andrew Marlow
On Wed, Jan 14, 2009 at 9:30 PM, Thornton, Susan M. (LARC-B702)[NCI
INFORMATION SYSTEMS] susan.m.thorn...@nasa.gov wrote:

  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!


Thanks for the tip but actually that was a cut-and-paste error. And I have
found a horrible way to make the error go away. I have disabled all tomcat
security. Arrrghh. Obviously this is not the proper way to configure a
system. But it does get my DSpace working. And it shows that the problem is
related to tomcat security enforcement.

IMO this problem is going to bite more and more people as more and more use
the combination of tomcat5.5 and java 6.

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()

 --
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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit is there

2009-01-14 Thread Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
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$UserObj
ect.class (I've put the difference in ALL CAPS).

 

Hope this helps!

Sue Walker-Thornton

susan.m.thorn...@nasa.gov

 



From: Andrew Marlow [mailto:marlow.and...@googlemail.com] 
Sent: Wednesday, January 14, 2009 1:55 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Not found FOM_WebContinuation$UserObject even
thoughit is there

 

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$Use
rObject

 
org.apache.cocoon.components.flow.javascript.fom.FOM_WebContinuation.set
PageLocal(FOM_WebContinuation.java:202)




 
org.apache.cocoon.components.flow.javascript.fom.FOM_Cocoon.jsFunction_s
endPage(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$UserObj
ect.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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit is there

2009-01-14 Thread Van Ly
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 find this command useful for showing all the gory details of java and dspace

 /bin/ps -ww -Heo cmd |grep java

-- Van Ly : University of Sydney Library




From: Thornton, Susan M. (LARC-B702)[NCI INFORMATION SYSTEMS]
Sent: Thu 15/01/2009 8:30 AM
To: Andrew Marlow; dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] Not found FOM_WebContinuation$UserObject even 
thoughit is there


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
susan.m.thorn...@nasa.gov




From: Andrew Marlow [mailto:marlow.and...@googlemail.com] 
Sent: Wednesday, January 14, 2009 1:55 PM
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] Not found FOM_WebContinuation$UserObject even thoughit 
is there

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
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech