archiving with jbuilder
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   omar_rabi
Posted On:   Thursday, March 24, 2005 01:23 PM

hi everybody, I am using Jbuilder 2005 for a webservices client application to be used by a PDA. the application works fine when I launch it from jbuilder. When I make a jar file from it, It throws the following exception: java.lang.SecurityException: no manifiest section for signature file entry javax/activation/DataContentHandlerFactory.class at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:260) at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:172) at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239) at java.util.jar.JarVerifier.update(JarVerifier.java:194) at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)    More>>

hi everybody,

I am using Jbuilder 2005 for a webservices client application to be used by a PDA. the application works fine when I launch it from jbuilder. When I make a jar file from it, It throws the following exception:

java.lang.SecurityException: no manifiest section for signature file entry javax/activation/DataContentHandlerFactory.class
at sun.security.util.SignatureFileVerifier.verifySection(SignatureFileVerifier.java:260)
at sun.security.util.SignatureFileVerifier.process(SignatureFileVerifier.java:172)
at java.util.jar.JarVerifier.processEntry(JarVerifier.java:239)
at java.util.jar.JarVerifier.update(JarVerifier.java:194)
at java.util.jar.JarFile.initializeVerifier(JarFile.java:300)
at java.util.jar.JarFile.getInputStream(JarFile.java:362)
at sun.misc.URLClassPath$5.getInputStream(URLClassPath.java:616)
at sun.misc.Resource.getBytes(Resource.java:57)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
Exception in thread "main"

I tried to make an executable for that jar file using teh wizard and it works fine until I call a webservice where it throws the following exception:


Exception in thread "Thread-2" java.lang.ExceptionInInitializerError
at org.apache.axis.utils.Messages. (Messages.java:36)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
tory(EngineConfigurationFactoryFinder.java:206)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder.access
$200(EngineConfigurationFactoryFinder.java:46)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder$1.run(
EngineConfigurationFactoryFinder.java:128)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
tory(EngineConfigurationFactoryFinder.java:113)
at org.apache.axis.configuration.EngineConfigurationFactoryFinder.newFac
tory(EngineConfigurationFactoryFinder.java:160)
at org.apache.axis.client.Service.getEngineConfiguration(Service.java:80
2)
at org.apache.axis.client.Service.getAxisClient(Service.java:104)
at org.apache.axis.client.Service. (Service.java:113)
at mapviewpda.MainServerClassServiceLocator. (MainServerClassServic
eLocator.java:10)
at mapviewpda.FirstPage$2.run(FirstPage.java:191)
Caused by: java.util.MissingResourceException: Cannot find resource 'org.apache.
axis.i18n.resource'
at org.apache.axis.i18n.ProjectResourceBundle.getBundle(ProjectResourceB
undle.java:288)
at org.apache.axis.i18n.MessagesConstants. (MessagesConstants.jav
a:32)
... 12 more

I have made sure to follow the steps and include all the needed libraries but still there is something that deosn't work... Can anyone help please?? I really need the jar file to deploy the application on PDA....


thnx in advance

   <<Less
About | Sitemap | Contact