This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- usg sqljdbc jar
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2009
04:52 AM
using sqljdbc.jar file
For custom codes(db connections,etc.), i am using sqljdbc.jar file from microsoft.
But As soon as i add it as a dependency jar. The .exe when run, before startup it throws this error:
preinstaller.properties not found.
IAResourceBundle: create resource bundle: en
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.zerog.ia.installer.Action.isFound(DashoA10*..)
at ZeroGh.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
Caused by: java.lang.SecurityException: no manifiest section for signature file entry com/microsoft/sqlserver/jdbc/CharacterStreamSetterArgs.class
at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
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.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at java.lang.ClassLoader.getSystemResourceAsStream(Unknown Source)
at ZeroGd.b(DashoA10*..)
at ZeroGad.a(DashoA10*..)
at ZeroGac.a(DashoA10*..)
at ZeroGac.b(DashoA10*..)
at com.zerog.util.IAResourceBundle.createIAResourceBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getUsableBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.ia.installer.actions.InstallPanelAction.(DashoA10*..)
... 13 more
Any clue.?
this seems to be about some security certificate issue. 😞
How should this jar be used then?
But As soon as i add it as a dependency jar. The .exe when run, before startup it throws this error:
preinstaller.properties not found.
IAResourceBundle: create resource bundle: en
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.zerog.ia.installer.Action.isFound(DashoA10*..)
at ZeroGh.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
Caused by: java.lang.SecurityException: no manifiest section for signature file entry com/microsoft/sqlserver/jdbc/CharacterStreamSetterArgs.class
at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
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.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at java.lang.ClassLoader.getSystemResourceAsStream(Unknown Source)
at ZeroGd.b(DashoA10*..)
at ZeroGad.a(DashoA10*..)
at ZeroGac.a(DashoA10*..)
at ZeroGac.b(DashoA10*..)
at com.zerog.util.IAResourceBundle.createIAResourceBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getUsableBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.ia.installer.actions.InstallPanelAction.
... 13 more
Any clue.?
this seems to be about some security certificate issue. 😞
How should this jar be used then?
(22) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2009
04:54 AM
This also is thrown:
preinstaller.properties not found.
IAResourceBundle: create resource bundle: en
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.zerog.ia.installer.Action.isFound(DashoA10*..)
at ZeroGh.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
Caused by: java.lang.SecurityException: cannot verify signature block file META-INF/ZIGBERT
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.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at java.lang.ClassLoader.getSystemResourceAsStream(Unknown Source)
at ZeroGd.b(DashoA10*..)
at ZeroGad.a(DashoA10*..)
at ZeroGac.a(DashoA10*..)
at ZeroGac.b(DashoA10*..)
at com.zerog.util.IAResourceBundle.createIAResourceBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getUsableBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.ia.installer.actions.InstallPanelAction.(DashoA10*..)
... 13 more
preinstaller.properties not found.
IAResourceBundle: create resource bundle: en
java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.zerog.ia.installer.Action.isFound(DashoA10*..)
at ZeroGh.a(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.b(DashoA10*..)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA10*..)
at com.zerog.ia.installer.Main.main(DashoA10*..)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.zerog.lax.LAX.launch(DashoA10*..)
at com.zerog.lax.LAX.main(DashoA10*..)
Caused by: java.lang.SecurityException: cannot verify signature block file META-INF/ZIGBERT
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.net.www.protocol.jar.JarURLConnection.getInputStream(Unknown Source)
at java.net.URL.openStream(Unknown Source)
at java.lang.ClassLoader.getSystemResourceAsStream(Unknown Source)
at ZeroGd.b(DashoA10*..)
at ZeroGad.a(DashoA10*..)
at ZeroGac.a(DashoA10*..)
at ZeroGac.b(DashoA10*..)
at com.zerog.util.IAResourceBundle.createIAResourceBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getUsableBundle(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.util.IAResourceBundle.getValue(DashoA10*..)
at com.zerog.ia.installer.actions.InstallPanelAction.
... 13 more
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2009
04:55 AM
The jar is NOT corrupted. I tried downloading new jar also
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 05, 2009
07:21 AM
Doesn't this jar come with any documentation at all on how to use it?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 10, 2009
03:51 AM
no there is no documentation as such.
Why this check is done in the initializer of installAnywhere install?
Is there any way to disable it?
This is very standard jar from microsoft.
Many people would be using it for database connection to sql server.
Any clue?
Why this check is done in the initializer of installAnywhere install?
Is there any way to disable it?
This is very standard jar from microsoft.
Many people would be using it for database connection to sql server.
Any clue?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 10, 2009
06:02 AM
Where did you get it exactly?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 11, 2009
03:03 AM
Both the Windows and Unix downloads bundle HTML help. Have you checked that?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2009
11:44 AM
yes that did not help..
you can use the link to download..
it contains a sqljdbc.jar inside it..
the use a dummy custom action with dependency of sqljdbc.jar
At startup only it will fail 😞
you can use the link to download..
it contains a sqljdbc.jar inside it..
the use a dummy custom action with dependency of sqljdbc.jar
At startup only it will fail 😞
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 12, 2009
12:49 PM
There's something not ok with this jar. If you look inside what you see, besides a com and a manifest folders? Another jar: sqljdbc.jar of size 0 and a sqljdbc.jar.old! On the other hand, in the manifest file I see this:
Name: com/microsoft/sqlserver/jdbc/CharacterStreamSetterArgs.class
Digest-Algorithms: MD5 SHA1
MD5-Digest: 5FVUasVuBJJNhBaJXckXXA==
SHA1-Digest: NZmT+0FEnwq+PkZK98nto8dWhuI=
So the first error: Caused by: java.lang.SecurityException: no manifiest section for signature file entry com/microsoft/sqlserver/jdbc/CharacterStreamSetterArgs.class doesn't make too much sense.
Maybe this is more important? "preinstaller.properties not found." Anyway, if I were you, I would contact Microsoft and ask them about the contents of this jar...
Name: com/microsoft/sqlserver/jdbc/CharacterStreamSetterArgs.class
Digest-Algorithms: MD5 SHA1
MD5-Digest: 5FVUasVuBJJNhBaJXckXXA==
SHA1-Digest: NZmT+0FEnwq+PkZK98nto8dWhuI=
So the first error: Caused by: java.lang.SecurityException: no manifiest section for signature file entry com/microsoft/sqlserver/jdbc/CharacterStreamSetterArgs.class doesn't make too much sense.
Maybe this is more important? "preinstaller.properties not found." Anyway, if I were you, I would contact Microsoft and ask them about the contents of this jar...
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2009
05:26 AM
This is what i found in one of the java forums:
http://forums.sun.com/thread.jspa?threadID=5257700
It talks abt the issue related to eclipse. But with installanywhere, i dont know how to solve it. 😞
Adding part of the reply here..
I see that this issue was posted some time ago... but better a late reply than none.
This is most likely an incompatibility between two jar signer tools, I?ll explain further?..
The JDBC driver jar (sqljdbc.jar) that you included in your deployment jar is signed by Microsoft?s signing tool ?SignTool.exe? whereas Eclipse is most likely using the Java standard ?Jar.exe? and ?javasigner.exe? tools to create your deployment jar.
I experienced the same problem on a recent project, and I found that this signer tool incompatibility is only an issue when including the sqljdbc.jar into the deployment jar that is created using the Java tools.
To fix the problem, you will need to locate the ANT build.xml file that Eclipse is using to compile and jar your application. Within the build.xml file you need to locate the ?? task, there you will most likely find something similar to the following script:
The above script is used to include the sqljdbc.jar into your deployment jar. You need to replace it with the following script:
.
.
filesetmanifest="merge">
.
.
.
.
It is worth mentioning that the path value used in the above example is relative to the jar execution folder. So for example, if the deployment jar were deployed to C:\bin, then the sqljdbc.jar would need to be deployed separately to C:\bin\ref_jars\sqljdbc.jar.
Help appreciated
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2009
06:12 AM
Well, this might be your issue, the fact that the jar is signed. IA didn't support custom code dependency on signed jars, and I don't know what's the status of more recent versions. You can also check this thread here:
http://community.flexerasoftware.com/showthread.php?t=178483&highlight=signed+jar
http://community.flexerasoftware.com/showthread.php?t=178483&highlight=signed+jar
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2009
07:31 AM
sad.. i am not able to open any of those 3 links in your post 😞
quoting ur post here:
Can you pls briefly tell what these links say..?
quoting ur post here:
pv7721 wrote:
FYI, this might be a very old issue (almost 3 years!), possible not fixed yet:
http://community.zerog.com/cgi-bin/ikonboard.cgi?s=47d16eaa1414ffff;act=ST;f=17;t=5935;hl=signed+and+jar
LE: After more search I've found another post:
http://community.zerog.com/cgi-bin/ikonboard.cgi?s=47d16eaa1414ffff;act=ST;f=15;t=4811;hl=signed+and+jar
that was pointing to a not supported workaround:
http://community.zerog.com/cgi-bin/ikonboard.cgi?act=ST;f=15;t=2351;hl=classpath+and+hack
Hope this helps!
Can you pls briefly tell what these links say..?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2009
07:40 AM
on similar lines of workaround for signed jars, i found this:
http://kb.acresso.com/selfservice/viewContent.do?externalID=Q000549
workaround mentioned there is : You can put the jar file in the VM pack. Place it in the extensions directory inside the JRE and it should work, as that'll place it on the class path.
(I need to check if this workaround works or not)
Issues:
1. We are using a microsoft signed sql jdbc jar. I am afraid if it is legal to put a microsoft jar in SUN's jre. 😞
There it says "as that'll place it on the class path." . so is there any other way to put a jar in classpath?
http://kb.acresso.com/selfservice/viewContent.do?externalID=Q000549
workaround mentioned there is : You can put the jar file in the VM pack. Place it in the extensions directory inside the JRE and it should work, as that'll place it on the class path.
(I need to check if this workaround works or not)
Issues:
1. We are using a microsoft signed sql jdbc jar. I am afraid if it is legal to put a microsoft jar in SUN's jre. 😞
There it says "as that'll place it on the class path." . so is there any other way to put a jar in classpath?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 03, 2009
08:45 AM
qqqqqq wrote:
sad.. i am not able to open any of those 3 links in your post 😞
quoting ur post here:
Can you pls briefly tell what these links say..?
I'm sorry but when I wrote the post, that is a couple of hours ago, I've checked and the links were working. Now that I've tried them, the site seems to be down again. It's the only community IA forums back in the time IA was made by ZeroG, which the Macrovision bought (before selling the software division which became Acresso Software). Those forums are still maintained in a read only form, but seem to come and go from time to time... I think I'm going to report them again here: http://community.flexerasoftware.com/showthread.php?t=184979
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 06, 2009
02:30 AM
i am still not able to see the links 😞
Is the workaround mentioned at http://kb.acresso.com/selfservice/viewContent.do?externalID=Q000549 is same as in the links?
--> this link tell to have the required jar inside ext directory of bundled jre.(so as to put it in classpath.)
Is there any other way to put it in the classpath?
Can I turn off this signed jar check which is done at the boot of installer?
what should i be doing?
Is the workaround mentioned at http://kb.acresso.com/selfservice/viewContent.do?externalID=Q000549 is same as in the links?
--> this link tell to have the required jar inside ext directory of bundled jre.(so as to put it in classpath.)
Is there any other way to put it in the classpath?
Can I turn off this signed jar check which is done at the boot of installer?
what should i be doing?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 07, 2009
03:14 AM
Thank you. 🙂
Will the following workaround work?
-->
Load the jar at runtime.
I am able to load a jar runtime, if the path of the jar is known.
So, if I just include the sqljdbc.jar (not as dependency but just install file),
How do I get the path of the sqljdbc.jar (may be in temporary directory) ?
Is there any way to get the jar path during the 'installation panel progress'.
Will the following workaround work?
-->
Load the jar at runtime.
I am able to load a jar runtime, if the path of the jar is known.
So, if I just include the sqljdbc.jar (not as dependency but just install file),
How do I get the path of the sqljdbc.jar (may be in temporary directory) ?
Is there any way to get the jar path during the 'installation panel progress'.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 15, 2009
12:14 PM
Hi qqqqqq
Did you ever get any resolution on your sqljdbc.jar manifest error that you were seeing? I am seeing the same symptoms.
Thanks... -Pete
Did you ever get any resolution on your sqljdbc.jar manifest error that you were seeing? I am seeing the same symptoms.
Thanks... -Pete
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 16, 2009
10:43 AM
Most likely this is a sealed jar file. I thought that IA extracts all of your dependency jar files and then creates one big one.
What you can try to do is to "install" the jar file to a temp directory, then load the jar file into a classloader, then you should be able to use it.
Search the old forums for ClassPathHacker.
What you can try to do is to "install" the jar file to a temp directory, then load the jar file into a classloader, then you should be able to use it.
Search the old forums for ClassPathHacker.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 20, 2009
12:49 AM
I communicated with IA guys..
This problem is with the signed jars as dependency..
This is a known issue for them.. workaround for it is same as...
http://kb.acresso.com/selfservice/viewContent.do?externalID=Q000549
OR you can runtime load the libraries (i.e. sqljdbc jar) and use it
in that case you have to bundle the sqljdbc jar separately with the install.exe
This problem is with the signed jars as dependency..
This is a known issue for them.. workaround for it is same as...
http://kb.acresso.com/selfservice/viewContent.do?externalID=Q000549
OR you can runtime load the libraries (i.e. sqljdbc jar) and use it
in that case you have to bundle the sqljdbc jar separately with the install.exe
![](/skins/images/CC38E504FC9E1309DC48ACFEB4925670/responsive_peak/images/icon_anonymous_message.png)