[Dspace-tech] Error creating bean with name 'dspace' defined in ServletContext resource

2011-08-21 Thread lulwa alyahyan
Dears,
I installed Dspace 1.6.0  And it is working correctly
I did not remember that I do any changes but  now when I run the application  I 
get this error

Dspace log :

2011-08-17 13:32:25,328 INFO  
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui] @ 
Initializing Spring root WebApplicationContext
2011-08-17 13:32:25,406 ERROR 
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/jspui] @ 
Exception sending context initialized event to listener instance of class 
org.springframework.web.context.ContextLoaderListener
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'dspace' defined in ServletContext resource 
[/WEB-INF/spring/applicationContext.xml]: Instantiation of bean failed; nested 
exception is org.springframework.beans.BeanInstantiationException: Could not 
instantiate bean class [org.dspace.utils.DSpace]: Constructor threw exception; 
nested exception is java.lang.IllegalStateException: 
javax.management.InstanceNotFoundException: 
org.dspace:name=5c7da079-3d7d-4c9e-a63a-797ac101b1ee,type=DSpaceKernel
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateBean(AbstractAutowireCapableBeanFactory.java:883)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:839)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
at 
org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at 
org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at 
org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:380)
at 
org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:255)
at 
org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:199)
at 
org.springframework.web.context.ContextLoaderListener.contextInitialized(ContextLoaderListener.java:45)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3795)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4252)
at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:760)
at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:740)
at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:544)
at 
org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:980)
at 
org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:943)
at 
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:500)
at 
org.apache.catalina.startup.HostConfig.start(HostConfig.java:1203)
at 
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:319)
at 
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:120)
at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1022)
at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:736)
at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1014)
at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:443)
at 
org.apache.catalina.core.StandardService.start(StandardService.java:448)
at 
org.apache.catalina.core.StandardServer.start(StandardServer.java:700)
at 

[Dspace-tech] FW: dspace logs in hosting

2011-06-21 Thread lulwa alyahyan
Dears,
I check  the values and do changes inside dspace installation directory 
[dspace] in two files:
In   config  file and   in log4j.properties file
dspace.dir =/lv_Customer_Data/home/public_html
log.dir = ${dspace.dir}/log
the previous  log4j.appender.A1.File=C:/Program 
Files/Dspace_install/log/dspace.log
I change it to   log4j.appender.A1.File=${log.dir}/dspace.log
I also change A2 and A3
And check the user and permission
Then restart tomcat
But still there is an internal system error and no logs  in 
/lv_Customer_Data/home/public_html/log

Does anyone know What is the problem
Do you think because I do the changes in the installation directory and not in 
the source directory then running ant init_configs
Because  I don’t have the source directory so I do the changes in the 
installation directory

Thanks Mr.Peter for your response
Any support is highly appreciated
Regards,
Lulwah AL-Yahyan

From: Peter Dietz [mailto:pdiet...@gmail.com]
Sent: Wednesday, June 15, 2011 6:34 PM
To: lulwa alyahyan
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] dspace logs in hosting

Hi Lulwa,

Check 
/dspace/config/log4j.propertieshttps://github.com/DSpace/DSpace/blob/dspace-1.6.2/dspace/config/log4j.properties#L37
 for where it is writing the logs.
log4j.appender.A1.File is where it will be trying to write to.

Additionally, check your 
dspace.cfghttps://github.com/DSpace/DSpace/blob/dspace-1.6.2/dspace/config/dspace.cfg#L219
 to see what log.dir is specified as.

If you think you are looking in the correct folder, for where logs should be 
written to, and still no logs, then double check the filesystem permissions. If 
your dspace user is the user who runs tomcat, then ensure that the dspace user 
owns/has-write-permission to /dspace/log

There are some resources on what to do, once you're able to check your logs: 
https://wiki.duraspace.org/display/DSPACE/Troubleshoot+an+error

Peter Dietz


On Wed, Jun 15, 2011 at 7:48 AM, lulwa alyahyan 
lalyah...@kacst.edu.samailto:lalyah...@kacst.edu.sa wrote:
Dears,

I run   dspace version 1.6.0  in my local computer and it is working fine and 
the dspace errors is  logged  in  dspace/log  folder
When I hosted  dspace in remote server and run it  an internal system error is 
occurred ,when  I checked the log folder in  the  remote server there are no 
logs so I couldn’t investigate the problems

What are the dspace configurations  for  logs  that  should  be considered in 
hosting  ?

Any support is highly appreciated

Regards,
Lulwah AL-Yahyan

Warning: This message and its attachment, if any, are confidential and may 
contain information protected by law. If you are not the intended recipient, 
please contact the sender immediately and delete the message and its 
attachment, if any. You should not copy the message and its attachment, if any, 
or disclose its contents to any other person or use it for any purpose. 
Statements and opinions expressed in this e-mail and its attachment, if any, 
are those of the sender, and do not necessarily reflect those of King Abdulaziz 
city for Science and Technology (KACST) in the Kingdom of Saudi Arabia. KACST 
accepts no liability for any damage caused by this email.

تحذير: هذه الرسالة وما تحويه من مرفقات (إن وجدت) تمثل وثيقة سرية قد تحتوي على 
معلومات محمية بموجب القانون. إذا لم تكن الشخص المعني بهذه الرسالة فيجب عليك 
تنبيه المُرسل بخطأ وصولها إليك، وحذف الرسالة ومرفقاتها (إن وجدت)، ولا يجوز لك 
نسخ أو توزيع هذه الرسالة أو مرفقاتها (إن وجدت) أو أي جزء منها، أو البوح 
بمحتوياتها للغير أو استعمالها لأي غرض. علماً بأن فحوى هذه الرسالة ومرفقاتها (ان 
وجدت) تعبر عن رأي المُرسل وليس بالضرورة رأي مدينة الملك عبدالعزيز للعلوم 
والتقنية بالمملكة العربية السعودية، ولا تتحمل المدينة أي مسئولية عن الأضرار 
الناتجة عن ما قد يحتويه هذا البريد.


--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.netmailto:DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Warning: This message and its attachment, if any, are confidential and may 
contain information protected by law. If you are not the intended recipient, 
please contact the sender immediately and delete the message and its 
attachment, if any. You should not copy the message and its attachment, if any, 
or disclose its contents to any other person or use it for any purpose. 
Statements and opinions expressed in this e-mail and its attachment, if any, 
are those of the sender, and do not necessarily reflect those of King Abdulaziz 
city for Science and Technology (KACST) in the Kingdom of Saudi Arabia. KACST 
accepts no liability for any damage caused by this email.

تحذير: هذه

[Dspace-tech] installing DSPACE in windows and host it on linux

2011-04-18 Thread lulwa alyahyan
Dears,
I installed DSPACE in windows , completed all the configuration steps and it 
was running fine with all functionalities . Now I need to host it in  remote 
hosting server with Linux platform,
Is there any problem to host my dspace on linux server ?? or I should host it 
on windows server

Any support is highly appreciated

Regards,
Lulwah AL-Yahyan
Researcher


Warning: This message and its attachment, if any, are confidential and may 
contain information protected by law. If you are not the intended recipient, 
please contact the sender immediately and delete the message and its 
attachment, if any. You should not copy the message and its attachment, if any, 
or disclose its contents to any other person or use it for any purpose. 
Statements and opinions expressed in this e-mail and its attachment, if any, 
are those of the sender, and do not necessarily reflect those of King Abdulaziz 
city for Science and Technology (KACST) in the Kingdom of Saudi Arabia. KACST 
accepts no liability for any damage caused by this email.

?: ??? ??? ??? ? ?? ?? (?? )  ?  ?? ? ??? 
??? ? ? ???. ??? ?? ??? ? ??  ???   
? ???  ?? ?  ??? ? (?? )? ???  ?? 
??? ?? ? ??? ??? ??  (?? ) ?? ?? ??? ? ?? ? 
?? ? ?? ? ??? ???. ? ???  ??? ??? ? (?? 
)  ?? ??? ???   ??? ? ? ? ?? 
  ??? ? ??? ? ??? ?? ??? ?? ??? 
??? ?? ?? ?? ?? ??? ??.

--
Benefiting from Server Virtualization: Beyond Initial Workload 
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve 
application availability and disaster protection. Learn more about boosting 
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] The absolute uri: http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or the jar files

2011-04-05 Thread lulwa alyahyan
Good Morning,
   First of all , thank you for your prompt response . The following are 
the answers for your questions:

· Did you install the Linux version? As you know, there are seperate 
binaries for Windows and Linux.
Actually, we installed the windows version , completed all the configuration 
steps and it was running fine with all functionalities . After that, we moved 
to remote hosting server with Linux platform, in this stage we copied the 
dspace files from the windows server and applied the needed configurations in 
dspace.cfg  and server.xml


· Or it might be a java compiler on linux. For a small test, just run 
sample jsps from tomcat and see how they responding.

We’ve tested a sample jsp page in the linux server and it is working



· I would check the config files again to make sure they have correct 
entries.
Please don’t hesitate if you need any further information to help you in 
diagnosing the problem




Appreciating your response,
Regards,
Lulwah AL-Yahyan

From: Ki ran [mailto:baltimorey...@gmail.com]
Sent: Tuesday, April 05, 2011 5:07 PM
To: lulwa alyahyan
Subject: Re: [Dspace-tech] The absolute uri: 
http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or 
the jar files

Hi Lulwa,

I am sure you might have known this but checking again. Did you install the 
Linux version? As you know, there are seperate binaries for Windows and Linux. 
I think that might cause problem. Or it might be a java compiler on linux. For 
a small test, just run sample jsps from tomcat and see how they responding. If 
eveything works then I would check the config files again to make sure they 
have correct entries.

Goodluck!!
Kiran

On Tue, Apr 5, 2011 at 2:25 AM, lulwa alyahyan 
lalyah...@kacst.edu.samailto:lalyah...@kacst.edu.sa wrote:
Dears,
I have deployed dspace in my local computer on Windows platform  and it is 
working fine
Toward production , I’ve hosted dspace on remote Linux server and reconfigured 
server.xml and dspace.cfg  - please find it attached-
After deployment , I got alternating errors.  It's either
This error

org.apache.jasper.JasperException: The absolute uri: 
http://www.dspace.org/dspace-tags.tld cannot be resolved in either web.xml or 
the jar files deployed with this application

org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)

org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)

org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)

org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:317)

org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:148)
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:430)
org.apache.jasper.compiler.Parser.parseDirective(Parser.java:499)
org.apache.jasper.compiler.Parser.parseElements(Parser.java:1558)
org.apache.jasper.compiler.Parser.parse(Parser.java:130)

org.apache.jasper.compiler.ParserController.doParse(ParserController.java:245)

org.apache.jasper.compiler.ParserController.parse(ParserController.java:101)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:176)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:317)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:298)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:565)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:309)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

Or this error

org.apache.jasper.JasperException: Unable to load class for JSP

org.apache.jasper.JspCompilationContext.load(JspCompilationContext.java:599)

org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:143)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:321)

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:308)

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:259)
javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

root cause

java.lang.ClassNotFoundException: org.apache.jsp.Dspace.webapps.jspui.index1_jsp
java.net.URLClassLoader$1.run(URLClassLoader.java:202)
java.security.AccessController.doPrivileged(Native Method)
java.net.URLClassLoader.findClass(URLClassLoader.java:190)

org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:131