Hi Tim,
     I am in the process of implementing DSpace 1.7 on a Unix platform.  Below 
is the output from "mvn --version" on our test machine:

Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "sunos" version: "5.10" arch: "sparc" Family: "unix"

When I initially assembled the application and tried to bring up the site, I 
got this error:

[05/Jan/2011:18:00:36] failure (   31): WebModule[]PWC1257: Error configuring 
application listener of class org.dspace.app.util.DSpaceContextListener
java.lang.UnsupportedClassVersionError: Bad version number in .class file
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
        at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
        at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:917)
        at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1358)
        at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4119)
        at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4697)
        at com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
        at org.apache.catalina.core.StandardHost.start(StandardHost.java:838)
        at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089)
        at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514)
        at org.apache.catalina.startup.Embedded.start(Embedded.java:917)
        at 
com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47)
        at 
com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
        at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)

[05/Jan/2011:18:00:36] failure (   31): PWC1258: Skipped installing application 
listeners due to previous error(s)
[05/Jan/2011:18:00:36] failure (   31): PWC1306: Context startup failed due to 
previous errors
[05/Jan/2011:18:00:36] failure (   31): Null component 
com.sun.web-1:type=JspMonitor,name=jsp,WebModule=//dspace-cards/,J2EEApplication=none,J2EEServer=none
[05/Jan/2011:18:00:36] info (   31): HTTP3072: http-listener-1: 
http://146.165.45.213:80 ready to accept requests
[05/Jan/2011:18:00:36] info (   31): CORE3274: successful server startup


I initially thought it was a problem with Java, but after reading this email, 
I'm thinking maybe the problem was indeed due to our version of Maven.

What are your thoughts?

Thanks,
Sue



Sue Walker-Thornton
Software Developer/Database Administrator
NASA Langley Research Center|LITES Contract
(757) 224-4074


-----Original Message-----
From: Tim Donohue [mailto:tdono...@duraspace.org] 
Sent: Friday, January 14, 2011 11:34 AM
To: Lewatle Phaladi
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] xmlui, jspui not available in webapps 1.7

Hi Lewatle,

It sounds like you are likely using Maven 2.0.x to build DSpace 1.7? 
There is a "known issue" (discovered shortly after the DSpace 1.7.0 
release) with Maven 2.0.x and DSpace 1.7.  The fix is to upgrade Maven 
to use Maven 2.2.x or above.

More details in the updated 1.7 Documentation here:
https://wiki.duraspace.org/display/DSDOC/Installation#Installation-ApacheMaven2.2.xorlater%28Javabuildtool%29

You can also download an updated version of the 1.7.0 Docs from dspace.org.

- Tim



On 1/14/2011 3:29 AM, Lewatle Phaladi wrote:
> Hi All
>
> After I did ant fresh install when I check webapps I don’t find xmlui,
> jspui, solr etc but on my terminal it says BUILD SUCCESSFUL, can
> somebody advice?
>
> */Regards,/*
>
> */Lewatle /*
>
> This communication is intended for the addressee only. It is
> confidential. If you have received this communication in error, please
> notify us immediately and destroy the original message. You may not copy
> or disseminate this communication without the permission of the
> University. Only authorized signatories are competent to enter into
> agreements on behalf of the University and recipients are thus advised
> that the content of this message may not be legally binding on the
> University and may contain the personal views and opinions of the
> author, which are not necessarily the views and opinions of The
> University of the Witwatersrand, Johannesburg. All agreements between
> the University and outsiders are subject to South African Law unless the
> University agrees in writing to the contrary.
>
>
>
> ------------------------------------------------------------------------------
> Protect Your Site and Customers from Malware Attacks
> Learn about various malware tactics and how to avoid them. Understand
> malware threats, the impact they can have on your business, and how you
> can protect your company and customers by using code signing.
> http://p.sf.net/sfu/oracle-sfdevnl
>
>
>
> _______________________________________________
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to