Re: [Dspace-tech] Internal Error When Creating Community

2010-04-16 Thread bryce ray
I ran the test-database script and it returned a successful connection, so
that can be ruled out.

Any other suggestions on what might be wrong?

-Bryce

On Thu, Apr 15, 2010 at 2:43 AM, Stuart Lewis s.le...@auckland.ac.nzwrote:

 Hi Bryce,

 You can check that both your database and email settings are OK by running
 these scripts:

  - [dspace]/bin/dspace test-database
  - [dspace]/bin/dspace test-email

 Depending on the error, if you view the HTML source of the internal error
 page in your browser, half way down you may see a stack trace that will
 indicate the problem. SOme errors however will only show: !-- No stack
 trace available --

 Check that the user your tomcat server runs as, can write to [dspace]/*
 (for example [dspace]/logs).

 Thanks,


 Stuart Lewis
 IT Innovations Analyst and Developer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: +64 (0)9 373 7599 x81928
 http://www.library.auckland.ac.nz/


 On 15/04/2010, at 7:23 AM, bryce ray wrote:

  More information:
  I can add a top level and side bar new items as well as edit the default
 license.  So it does not seem to be a database problem.  To be safe though
 I've gone through the database information to check to make sure everything
 is right.   The user appears to have the right ownership and privileges.
  However, I'm not the best with postgresql.
 
  Thanks for your help.
 
  On Wed, Apr 14, 2010 at 12:44 PM, bryce ray bryceray1...@gmail.com
 wrote:
  The problem occurs when:
  I have no communities or collections.  I'm trying to create my first top
 level community.  I click to create it type in the name of the community and
 description and click the create button.  I then get an error message saying
 there was an internal server error.
 
  I've turned on debugging in the log4j.properties file but  it doesn't
 even look like the log files are working.  They don't seem to be updating
 for anything.  The permissions and ownership seems to be set correctly.
 
 
  On Mon, Apr 12, 2010 at 10:20 AM, Peter Dietz dietz...@osu.edu wrote:
  I know you said you've checked your logs, but make sure you're checking
 the DSpace log.
  [dspace]/log/dspace.log.{DATE}
 
  You can also get more verbose output by setting the logs to DEBUG mode.
  Edit [dspace]/config/log4j.properties, and typically that is by changing
 INFO to DEBUG for the A1 section. A bug exists in setting cocoon into DEBUG
 mode, so you can't set that.
 
 
  What step exactly is causing the issue? Is it you've created a community,
 and are creating a collection, or you've created a community, and created a
 collection successfully, and submitting an item gives the problem?
  If its while submitting an item, is it on item upload? For that, check
 that your assetstore directory exists and is writable by your {tomcat} user.
 
 
  On Sun, Apr 11, 2010 at 5:46 PM, bryce ray bryceray1...@gmail.com
 wrote:
  I've just installed dspace and am having some difficulties.  Everything
 appears to be working except the create communities function.  When I try to
 submit a new community I get the error:
 
  The system has experienced an internal error. Please try to do what you
 were doing again, and if the problem persists, please contact us so we can
 fix the problem.
 
  I've looked through logs and can't seem to find the right log with a more
 detailed description of what is going wrong.  Through searching online I've
 found that some people who experience this were because of permission
 problems.  I have taken the time to triple-check my permissions.
 
  Any ideas on what is wrong or suggestions on how I can find out more
 information about the actual internal server error which is occurring?
 
  Thanks.
 
 
 --
  Download Intel#174; Parallel Studio Eval
  Try the new software tools for yourself. Speed compiling, find bugs
  proactively, and fine-tune applications for parallel performance.
  See why Intel Parallel Studio got high marks during beta.
  http://p.sf.net/sfu/intel-sw-dev
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
  --
  Peter Dietz
  Systems Developer/Engineer
  Ohio State University Libraries
 
 
 
  ATT1..txtATT2..txt




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Internal Error When Creating Community

2010-04-15 Thread Stuart Lewis
Hi Bryce,

You can check that both your database and email settings are OK by running 
these scripts:

 - [dspace]/bin/dspace test-database
 - [dspace]/bin/dspace test-email

Depending on the error, if you view the HTML source of the internal error page 
in your browser, half way down you may see a stack trace that will indicate the 
problem. SOme errors however will only show: !-- No stack trace available --

Check that the user your tomcat server runs as, can write to [dspace]/* (for 
example [dspace]/logs). 

Thanks,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: +64 (0)9 373 7599 x81928
http://www.library.auckland.ac.nz/


On 15/04/2010, at 7:23 AM, bryce ray wrote:

 More information:
 I can add a top level and side bar new items as well as edit the default 
 license.  So it does not seem to be a database problem.  To be safe though 
 I've gone through the database information to check to make sure everything 
 is right.   The user appears to have the right ownership and privileges.  
 However, I'm not the best with postgresql.
 
 Thanks for your help.
 
 On Wed, Apr 14, 2010 at 12:44 PM, bryce ray bryceray1...@gmail.com wrote:
 The problem occurs when:
 I have no communities or collections.  I'm trying to create my first top 
 level community.  I click to create it type in the name of the community and 
 description and click the create button.  I then get an error message saying 
 there was an internal server error.  
 
 I've turned on debugging in the log4j.properties file but  it doesn't even 
 look like the log files are working.  They don't seem to be updating for 
 anything.  The permissions and ownership seems to be set correctly.
 
 
 On Mon, Apr 12, 2010 at 10:20 AM, Peter Dietz dietz...@osu.edu wrote:
 I know you said you've checked your logs, but make sure you're checking the 
 DSpace log.
 [dspace]/log/dspace.log.{DATE}
 
 You can also get more verbose output by setting the logs to DEBUG mode.
 Edit [dspace]/config/log4j.properties, and typically that is by changing INFO 
 to DEBUG for the A1 section. A bug exists in setting cocoon into DEBUG mode, 
 so you can't set that.
 
 
 What step exactly is causing the issue? Is it you've created a community, and 
 are creating a collection, or you've created a community, and created a 
 collection successfully, and submitting an item gives the problem? 
 If its while submitting an item, is it on item upload? For that, check that 
 your assetstore directory exists and is writable by your {tomcat} user.
 
 
 On Sun, Apr 11, 2010 at 5:46 PM, bryce ray bryceray1...@gmail.com wrote:
 I've just installed dspace and am having some difficulties.  Everything 
 appears to be working except the create communities function.  When I try to 
 submit a new community I get the error:
 
 The system has experienced an internal error. Please try to do what you were 
 doing again, and if the problem persists, please contact us so we can fix the 
 problem.
 
 I've looked through logs and can't seem to find the right log with a more 
 detailed description of what is going wrong.  Through searching online I've 
 found that some people who experience this were because of permission 
 problems.  I have taken the time to triple-check my permissions.  
 
 Any ideas on what is wrong or suggestions on how I can find out more 
 information about the actual internal server error which is occurring?
 
 Thanks.
 
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 
 
 
 
 -- 
 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries
 
 
 
 ATT1..txtATT2..txt




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Internal Error When Creating Community

2010-04-15 Thread bryce ray
Ahh, there was a stack trace in the html source.  Below is the stack trace.
However, its not obvious to me what exactly is wrong and how to fix it after
reading through the stack trace.

Unable to aquire dispatcher named default
=
java.lang.RuntimeException: Unable to aquire dispatcher named default
at org.dspace.event.EventManager.getDispatcher(EventManager.java:145)
at org.dspace.core.Context.commit(Context.java:366)
at org.dspace.core.Context.complete(Context.java:333)
at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:450)
at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:230)
at 
org.dspace.app.webui.servlet.DSpaceServlet.processRequest(DSpaceServlet.java:147)
at 
org.dspace.app.webui.servlet.DSpaceServlet.doPost(DSpaceServlet.java:105)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.dspace.app.webui.filter.AdminOnlyFilter.doFilter(AdminOnlyFilter.java:103)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at 
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at 
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: Dispatcher/Consumer class not
found for event dispatcher=default
at 
org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:279)
at 
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964)
at 
org.apache.commons.pool.PoolUtils$SynchronizedKeyedObjectPool.borrowObject(PoolUtils.java:1159)
at org.dspace.event.EventManager.getDispatcher(EventManager.java:141)
... 26 more
Caused by: java.lang.ClassNotFoundException: org.dspace.harvest.HarvestConsumer
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1387)
at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1233)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at 
org.dspace.event.ConsumerProfile.readConfiguration(ConsumerProfile.java:115)
at 
org.dspace.event.ConsumerProfile.makeConsumerProfile(ConsumerProfile.java:94)
at 
org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:258)
... 29 more




Dispatcher/Consumer class not found for event dispatcher=default
=
java.lang.RuntimeException: Dispatcher/Consumer class not found for
event dispatcher=default
at 
org.dspace.event.EventManager$DispatcherPoolFactory.makeObject(EventManager.java:279)
at 
org.apache.commons.pool.impl.GenericKeyedObjectPool.borrowObject(GenericKeyedObjectPool.java:964)
at 
org.apache.commons.pool.PoolUtils$SynchronizedKeyedObjectPool.borrowObject(PoolUtils.java:1159)
at org.dspace.event.EventManager.getDispatcher(EventManager.java:141)
at org.dspace.core.Context.commit(Context.java:366)
at org.dspace.core.Context.complete(Context.java:333)
at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.processConfirmEditCommunity(EditCommunitiesServlet.java:450)
at 
org.dspace.app.webui.servlet.admin.EditCommunitiesServlet.doDSPost(EditCommunitiesServlet.java:230)
at 

Re: [Dspace-tech] Internal Error When Creating Community

2010-04-14 Thread bryce ray
The problem occurs when:
I have no communities or collections.  I'm trying to create my first top
level community.  I click to create it type in the name of the community and
description and click the create button.  I then get an error message saying
there was an internal server error.

I've turned on debugging in the log4j.properties file but  it doesn't even
look like the log files are working.  They don't seem to be updating for
anything.  The permissions and ownership seems to be set correctly.

On Mon, Apr 12, 2010 at 10:20 AM, Peter Dietz dietz...@osu.edu wrote:

 I know you said you've checked your logs, but make sure you're checking the
 DSpace log.
 [dspace]/log/dspace.log.{DATE}

 You can also get more verbose output by setting the logs to DEBUG mode.
 Edit [dspace]/config/log4j.properties, and typically that is by changing
 INFO to DEBUG for the A1 section. A bug exists in setting cocoon into DEBUG
 mode, so you can't set that.


 What step exactly is causing the issue? Is it you've created a community,
 and are creating a collection, or you've created a community, and created a
 collection successfully, and submitting an item gives the problem?
 If its while submitting an item, is it on item upload? For that, check that
 your assetstore directory exists and is writable by your {tomcat} user.


 On Sun, Apr 11, 2010 at 5:46 PM, bryce ray bryceray1...@gmail.com wrote:

 I've just installed dspace and am having some difficulties.  Everything
 appears to be working except the create communities function.  When I try to
 submit a new community I get the error:

 The system has experienced an internal error. Please try to do what you
 were doing again, and if the problem persists, please contact us so we can
 fix the problem.

 I've looked through logs and can't seem to find the right log with a more
 detailed description of what is going wrong.  Through searching online I've
 found that some people who experience this were because of permission
 problems.  I have taken the time to triple-check my permissions.

 Any ideas on what is wrong or suggestions on how I can find out more
 information about the actual internal server error which is occurring?

 Thanks.


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




 --
 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Internal Error When Creating Community

2010-04-14 Thread bryce ray
More information:
I can add a top level and side bar new items as well as edit the default
license.  So it does not seem to be a database problem.  To be safe though
I've gone through the database information to check to make sure everything
is right.   The user appears to have the right ownership and privileges.
However, I'm not the best with postgresql.

Thanks for your help.

On Wed, Apr 14, 2010 at 12:44 PM, bryce ray bryceray1...@gmail.com wrote:

 The problem occurs when:
 I have no communities or collections.  I'm trying to create my first top
 level community.  I click to create it type in the name of the community and
 description and click the create button.  I then get an error message saying
 there was an internal server error.

 I've turned on debugging in the log4j.properties file but  it doesn't even
 look like the log files are working.  They don't seem to be updating for
 anything.  The permissions and ownership seems to be set correctly.


 On Mon, Apr 12, 2010 at 10:20 AM, Peter Dietz dietz...@osu.edu wrote:

 I know you said you've checked your logs, but make sure you're checking
 the DSpace log.
 [dspace]/log/dspace.log.{DATE}

 You can also get more verbose output by setting the logs to DEBUG mode.
 Edit [dspace]/config/log4j.properties, and typically that is by changing
 INFO to DEBUG for the A1 section. A bug exists in setting cocoon into DEBUG
 mode, so you can't set that.


 What step exactly is causing the issue? Is it you've created a community,
 and are creating a collection, or you've created a community, and created a
 collection successfully, and submitting an item gives the problem?
 If its while submitting an item, is it on item upload? For that, check
 that your assetstore directory exists and is writable by your {tomcat} user.


 On Sun, Apr 11, 2010 at 5:46 PM, bryce ray bryceray1...@gmail.comwrote:

 I've just installed dspace and am having some difficulties.  Everything
 appears to be working except the create communities function.  When I try to
 submit a new community I get the error:

 The system has experienced an internal error. Please try to do what you
 were doing again, and if the problem persists, please contact us so we can
 fix the problem.

 I've looked through logs and can't seem to find the right log with a more
 detailed description of what is going wrong.  Through searching online I've
 found that some people who experience this were because of permission
 problems.  I have taken the time to triple-check my permissions.

 Any ideas on what is wrong or suggestions on how I can find out more
 information about the actual internal server error which is occurring?

 Thanks.


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




 --
 Peter Dietz
 Systems Developer/Engineer
 Ohio State University Libraries



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] Internal Error When Creating Community

2010-04-12 Thread Peter Dietz
I know you said you've checked your logs, but make sure you're checking the
DSpace log.
[dspace]/log/dspace.log.{DATE}

You can also get more verbose output by setting the logs to DEBUG mode.
Edit [dspace]/config/log4j.properties, and typically that is by changing
INFO to DEBUG for the A1 section. A bug exists in setting cocoon into DEBUG
mode, so you can't set that.


What step exactly is causing the issue? Is it you've created a community,
and are creating a collection, or you've created a community, and created a
collection successfully, and submitting an item gives the problem?
If its while submitting an item, is it on item upload? For that, check that
your assetstore directory exists and is writable by your {tomcat} user.


On Sun, Apr 11, 2010 at 5:46 PM, bryce ray bryceray1...@gmail.com wrote:

 I've just installed dspace and am having some difficulties.  Everything
 appears to be working except the create communities function.  When I try to
 submit a new community I get the error:

 The system has experienced an internal error. Please try to do what you
 were doing again, and if the problem persists, please contact us so we can
 fix the problem.

 I've looked through logs and can't seem to find the right log with a more
 detailed description of what is going wrong.  Through searching online I've
 found that some people who experience this were because of permission
 problems.  I have taken the time to triple-check my permissions.

 Any ideas on what is wrong or suggestions on how I can find out more
 information about the actual internal server error which is occurring?

 Thanks.


 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech




-- 
Peter Dietz
Systems Developer/Engineer
Ohio State University Libraries
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech