I Solved the problem by exclusively including persistence.xml. The following change in build.xml solved it:
<include name="META-INF/persistence.xml" /> <include name="javax/persistence/**/*" /> On Jan 4, 8:42 pm, Tad Glines <[email protected]> wrote: > run "ant clean" first. > > On Tue, Jan 4, 2011 at 4:08 AM, Asif Khan Gillani > <[email protected]>wrote: > > > Downloaded latest source and added following lines in "dist-server" > > target. > > <include name="META-INF/*" /> > > <include name="javax/persistence/**/*" /> > > > after building when try to run server I get the following Exception. > > > Exception in thread "main" java.lang.SecurityException: Invalid > > signature file digest for Manifest main attributes > > at sun.security.util.SignatureFileVerifier.processImpl(Unknown > > Source) > > at sun.security.util.SignatureFileVerifier.process(Unknown > > Source) > > at java.util.jar.JarVerifier.processEntry(Unknown Source) > > at java.util.jar.JarVerifier.update(Unknown Source) > > at java.util.jar.JarFile.initializeVerifier(Unknown Source) > > at java.util.jar.JarFile.getInputStream(Unknown Source) > > at sun.misc.JarIndex.getJarIndex(Unknown Source) > > at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source) > > at sun.misc.URLClassPath$JarLoader.<init>(Unknown Source) > > at sun.misc.URLClassPath$3.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at sun.misc.URLClassPath.getLoader(Unknown Source) > > at sun.misc.URLClassPath.getLoader(Unknown Source) > > at sun.misc.URLClassPath.getResource(Unknown Source) > > at java.net.URLClassLoader$1.run(Unknown Source) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > at java.lang.ClassLoader.loadClass(Unknown Source) > > Could not find the main class: org.waveprotocol.box.server.ServerMain. > > Program will exit. > > > -- > > You received this message because you are subscribed to the Google Groups > > "Wave Protocol" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]<wave-protocol%[email protected]> > > . > > For more options, visit this group at > >http://groups.google.com/group/wave-protocol?hl=en. -- You received this message because you are subscribed to the Google Groups "Wave Protocol" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/wave-protocol?hl=en.
