Re: [javaCompiler-users] cannot compile specific jars
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-11-02 14:39:37
|
praveen bharath wrote: > Hi Marco, > > I am using javaCompiler V0.8. I am trying to create a > small application that uses webservices deployed on > weblogic. As you said I am able to compile my > application without having the commons-logging-win.jar > in the jars list. But after some debugging I am able > to trace the exact problem: > > To reproduce the issue, I have used the > SwtMinimal.java sample itself. What I have done is, I > have added the webservices related code in the > SwtMinimal.java class on the button click. This is 3 > lines code which uses a webservices stub generated by > weblogic clientgen tool. Why do you hide these 3 lines from us? > To run this sample we need to have webservices.jar and > webserviceclient.jar of weblogic in the classpath. > from the command prompt I am able to run this > SwtMinimal class with these two jars in the classpath. I assume you talking about using a Sun JRE. > In the javaCompiler, I have added webservices.jar in > the jars list and the tool have succesfully generated > the .exe. When running the exe, I was getting Class > not found exceptions, which I have eliminated by > keeping the webserviceclient.jar in the classpath. Why didn't you compile it into the executable? > Now, though there are no exceptions, I am getting a > run time error saying that: > > weblogic.webservice.client.SSLConfigurationException: > No SSLAdapter class could > be found. The likely cause of this is an incomplete > web service client libarary > . If no SSL implementation is available, the client > should use NullSSLAdapter > at > java.lang.VMThrowable.fillInStackTrace(SwtMinimal-win.exe) > at java.lang.Throwable.<init>(SwtMinimal-win.exe) > at java.lang.Exception.<init>(SwtMinimal-win.exe) > > Can you help me and let me know if this kind of > programs which involve webservices stub can be made > into EXEs using javaCompiler? Well, there was a lot of progress in the cryption part lately. If you send me the 2 jars and java source file, I can see if it will work now. If not, you have to fix it, find someone to fix it for you or pay me to fix it... Marco |