PKCS#11 library issue on Java 5
Hi,
I'm facing problem with PKCS#11 library name using SunPKCS11 in Java 5. My sample program runs successfully either providing only PKCS#11 library name or providing library name with absolute path in Java6.
My sample code is given below:
String str_pkcs11Config = null;
str_pkcs11Config = "name = Gemalto \n" + "library = *gclib.dll*\n" + "slot = 0";
System.out.println("Configuration : \n" + str_pkcs11Config);
java.io.ByteArrayInputStream bais = new java.io.ByteArrayInputStream(str_pkcs11Config.getBytes());
Provider obj_provider = new SunPKCS11(bais);
Security.insertProviderAt(obj_provider, 1);
KeyStore obj_keyStore = KeyStore.getInstance("PKCS11");
obj_keyStore.load(null, "password".toCharArray());
for (Enumeration list = obj_keyStore.aliases(); list.hasMoreElements(); ) {
String str_keyAlias = (String) list.nextElement();
if (obj_keyStore.isKeyEntry(str_keyAlias)) {
System.out.println("Key Alias : " + str_keyAlias);
X509Certificate[] certChain = (X509Certificate[]) obj_keyStore.getCertificateChain(str_keyAlias);
if (certChain != null) {
for (int i = 0; i < certChain.length; i++) {
System.out.println("Subject DN : " + certChain.getSubjectDN().toString());
Platform is windows XP. The above program fails with Java5 with following error:
java.security.ProviderException: Library gclib.dll does not exist
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:109)
at sun.security.pkcs11.SunPKCS11.<init>(SunPKCS11.java:80)
gclib.dll is in PATH i.e. WINDOWS/System32/
But the above program works fine on Java5 if i specify the full path for gclib.dll. Please tell me how should i get rid of this problem. I don't wana specify full path for library.
Thanx in advance.
Regards,
Israr Ahmed
It sounds like we are hitting the same issue.
I actually had success using the 32-bit library found here: /opt/nfast/toolkits/pkcs11/libcknfast.sl.
As you mentioned, the 64-bit library is found here: /opt/nfast/toolkits/pkcs11/libcknfast-64.so
Unfortunately, the system I was working on is in a customer test lab, so I don't have access at the moment. A few other things that I was going to try were:
1. Renaming the 64-bit library to either libcknfast.sl or libcknfast.so. Maybe Oracle makes assumption about the filename of the library?
2. Setting the environment variable LIBPATH=<directory containing library> (either in /opt/oracle/extapi/64/hsm/ncipher/1.58.42/ or /opt/nfast/toolkits/pkcs11/) and verify by running “su - <user>” where <user> is the name of the Oracle process.
3. Sifting through Oracle Configuration files to make sure that the path to the library hadn't somehow been altered to be incorrect.
Perhaps you can try these and report back? I can't access my problem system without going on-site, unfortunately.
Also, do you have the ability to log a Service Request @ https://metalink.oracle.com? I am negotiating to purchase this ability, but cannot at the moment.
Message was edited by:
cglidden
Similar Messages
-
Why can't I use WebCT chat with my computer? I get the 'spiral of death' every time I try to type in my chat. I have a feeling it has to do with compatibility issues between Java and Tiger.
Hi Elizabeth,
Do your Mac meet any of these requirements?
http://www.wvnet.edu/services/webct/requirements.html
From this it appears to be PC only!???
http://sourceforge.net/projects/awebctcclient/files/Pancake%20%28it%20own%20proj ect%20now%29/Pancake%20Console%20V1.0.0/PancakeConsole-1.0.0-src.zip/download
Can you provide any more info on which bersion or file you have?
Can you tell us why you need this for your use? -
Library names in java ( JNI )
I want to load library name called MathLib.
but i am getting error like below..
Exception in thread "main" java.lang.UnsatisfiedLinkError: no MathLib in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at MathLib.<clinit>(MathLib.java:12)
i want to know is MathLib is available or not..
if yes
i want an example on this MathLib and also some library names in Javai mean if mathlib is available i want one example
program on that.I have no idea whether it is. Did you try Google?
and u r telling that mathlib is not available.I just said it's not available to your program.
now i want to know the library name which one have to
give in the above line code.The file name of the library you want to use, of course. How would we know which one it is? mathlib.dll? -
Include a C++ library in a Java program
Hi,
my question is if I could include a C++ library in my java program and, in that case, how to do it.
Thanks!my question is if I could include a C++ library in my
java program and, in that case, how to do it.
Although JNI allows that keep in mind that certainly in some cases it is easier to create a C++ application (executable) and then have java communicate with that app. -
Library Issue: I just imported 2 CD's into ITunes. They show up in "Recently Added" and on my other devices via ITunes Match, but NOT in the ITunes software on the computer where I added them. They show up in the search box, but when I click on the results it just kicks me to ALL my music. I have imported thousands of songs/CD's before and this is a new one.
Something may have gone wrong with the index of the Music playlist. Making another change to the library such as downloading the current iTunes Free Single of the Week, or deleting one track from your library and reimporting it, should fix the problem.
If that doesn't work close iTunes and delete the hidden file sentinel from inside the main iTunes folder, then start iTunes again. It should run a consistency check when it starts up which ought to correct things.
tt2 -
What are the simple to use COM library in your java code
Hi,
what are the simple to use COM library in your java codePhHein wrote:
[javax/comm|http://java.sun.com/products/javacomm/reference/api/javax/comm/package-summary.html]
No, he wants to use Windows COM objects!
@OP
It's not easy. You can try j-integra or ezjcom, which I tried years ago and was not too happy, but maybe
they improved or they are just fine for your needs. $$$ involved!
If you want to do it by yourself, it won't be easy at all, I promise, but it can be done with JNI or JNA.
If your interactions are very few and simple, maybe some workarounds could be found. -
OK well I finally got the java update to full load and it stated that it was corrupt or something like that and now I can not get into my favorite chat room it says I need to get java .. when I go to the link to re get a update to java it says I am updated.. so I called apple and they sent me a patch or something and it did not help .. anyone have any ideas what is happening?
my old chatroom I think I remember someone talking about java issues there and how you had to have a old java or something like that .. can somehelp please!golam wrote:
I am having issues with java encoding in Gentoo Linux environment. I am using java 1.6. When I ran the following test application to print french accent with encoding type, all I get is wrong character. Please provide me with some pointers. When I try this in Windows, it works perfectly. Many Thanks in advance
//test.txt file contains the following string
àäèéêëîïôùûüÿ
///TEST CODE to find which encoding to use
System.out.println("encoding:"+encoding[i]+"line===>"+inputLine);
This is the problem.
Don't assume the console character set can display these characters,
use a swing component.
This is also why it happens to work in on some boxes and not on others.
///////////////OUTPUT after running the test app
java Test encoding:Big5line===>???????
encoding:Big5-HKSCSline===>???????
encoding:EUC-JPline===>???????
encoding:EUC-KRline===>???????
encoding:GB18030line===>???????
encoding:GB2312line===>???????
encoding:GBKline===>??????? -
Iphoto6 LIbrary Issue (Not finding photos)
Hello : couple of i photo6 issues
1) I have many photos on my mac book pro from my past powerbook (old libraries) When I launch Iphoto6, it only recognises the latest pics. How do I make iphoto recognise the older pics. They are in my pictures folder, however they are not coming up in iphoto as thumbnails. (I am thinking I may have to create a whole new library which I am happy to do (i.e. drag library folder to desk top, then ask Iphoto to create new library etc. using originals folder) If this is correct can someone please explain the process for doing so. If not, please advise what else I should do. I am not notally sure here..... all tips welcome.
2) Why is there a DATA file and an ORIGINALS file in the library file. Do i need both ?
3) I seem to have many duplicates some are thumbnail size pics from previous imports when I had library issues in 2004. Is there a simple way to get rid of these smaller pics so I only have the originals? Hope this all makes sense.
Baiscally I need a total 'clean up of my iphoto library(s) and streamline things I believe, but need some advise on doing so.
I look very much forward to hearing form you.
Kind regards, Mark
Mac Book Pro Intel 15" 2.16ghz 1gig ram 120g HDD Mac OS X (10.4.9)
Mac Book Pro Intel 15" Mac OS X (10.4.9)Mark
How do I make iphoto recognise the older pics.
They are in my pictures folder,
But where in your Pictures Folder? How did they get
there? Have they been imported into iPhoto? I'll
happily post instructions for creating a new library,
but maybe it's not necessary...
2) Why is there a DATA file and an ORIGINALS file
in the library file. Do i need both ?
You mean DATA and ORIGINALS folders? Yes you do need
both. A Note about the iPhoto Library Folder:
In this folder there are various files, which are the
Library itself and some ancillary files. Then you
have three folders
Originals are the photos as they were
downloaded from your camera or scanner.
(ii) Modified contains edited pics, shots that
you have cropped, rotated or changed in any way.
This allows the Photos -> Revert to Original command
- very useful if you don't like the changes you've
made.
(iii) Data holds the thumbnails the the app
needs to show you the photos in the iPhoto Window.
Remember: It is strongly advised that you do not
move, change or in anyway alter things in the iPhoto
Library Folder as this can cause the application to
fail and even lead to data loss.
3) I seem to have many duplicates some are
thumbnail size pics from previous imports when I had
library issues in 2004. Is there a simple way to get
rid of these smaller pics so I only have the
originals? Hope this all makes sense.
Duplicate Annihilator
may help.
But if you decide to go back and start again, we can
weed those out from the new library while recreating
it.
Regards
TD
Thanks TD Most Helpful. The photos are all in my pictures folder in the originals folder. I think I need to make a new library and go through and delete the duplicates. It seems i may be in a bit of a mess unfortunately. -
Issue generating java from pl/sql package
Hi,
In JDeveloper (11.1.1.6) I am having an issue generating java from a pl/sql package. When I am in the database navigator I right click on the package and select "generate java". This produces some java files, some sqlj files and a <package_name>.javatmp file. When a collegue does the same all files are generated with a .java extension. Can anyone tell me what I can do to generate all java files?
Thanks,
GraemeIt turns out that I was running against a 64-bit JDK. (1.6.0_41.)
When I changed this to run against a 32 bit JDK (also 1.6.0_41) my problem went away.
It might be worth noting that my machine is 64 bit. -
Does Safari have issues with Java?
When I log into my IG Index financial spread betting account safari usually quits unexpectedly immediately after the dealing screen has loaded. This is causing me huge frustration. The site relys a lot on Java. I believe there were issue with Java in Mac OS 10.3.9 that may still exist on 10.4.X
Any ideas?Do you have the latest versions of Java installed?
Have you enabled Java in Safari's preferences? -
A new discussion was started by Alex Harui in
Commits --
[svn:fx-trunk] 5844: rename classes (again!) per Ely's last recommendation to avoid XML Library issues
Revision: 5844
Author: [email protected]
Date: 2009-04-01 17:59:34 -0700 (Wed, 01 Apr 2009)
Log Message:
rename classes (again!) per Ely's last recommendation to avoid XML Library issues
QE Notes: Rename mustella tests again (please)
Doc Notes: Update names of classes in documentation.
tests: checkintests
Modified Paths:
April Fool!
View/reply at
Replies by email are OK.
Use the unsubscribe form at
to cancel your email subscription.In the default php.ini is set open_basedir which limits work with php only to few directories (and directories bellow them). There is set /srv/http, /home,/tmp and /usr/share/pear by default.
To allow your vhost you should add /data/www or set empty value. -
Problems using NSS library as PKCS#11 provider with JAVA 6
Hi,
I�m trying to configure JAVA 6 on Solaris 10 SPARC to use Mozilla NSS library as PKCS#11 provider (to achieve FIPS-140 certification for my application). I�m following the guidelines from http://java.sun.com/javase/6/docs/technotes/guides/security/p11guide.html#NSS but unfortunately something doesn�t work for me as expected...
Let me describe the exact steps that I followed (because devil may be in the small details :-)
I downloaded NSS 3.11.4 and NSPR 4.6.4 binaries from mozilla.org (32 bit �debug� versions for Solaris 9, because these were the only �binary� versions for SPARC available on Mozilla site and as far as I understand these are the exact versions that passed FIPS-140 certification), unpacked them under the /opt directory and copied both of them into a single /opt/nss tree as follows:
mkdir /opt/nss
cp �r /opt/nss-3.11.4/* /opt/nss
cp �r /opt/nspr-4.6.4/* /opt/nss
I created a PKCS#11 configuration file /opt/nss/pkcs11.cfg as per JAVA 6 security guide:
name = NSScrypto
nssLibraryDirectory = /opt/nss/lib
nssDbMode = noDb
attributes = compatibility
(I know that this configuration is not for FIPS mode � but I thought that I�d better start with a simple NSS configuration)
Then I modified /usr/jdk/jdk1.6.0_03/jre/lib/security/java.security file and replaced 1st provider with:
security.provider.1=sun.security.pkcs11.SunPKCS11 /opt/nss/pkcs11.cfg
Now everything should be in place � so I created a small JAVA program and ran it:
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESedeKeySpec;
import javax.crypto.SecretKey;
import javax.crypto.Cipher;
import java.security.*;
public class Test
public static void main(String[] args)
try
SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DESede");
DESedeKeySpec keySpec = null;
keySpec = new DESedeKeySpec(new String("laKuf1Tcc6sOhsdPf49=m4es").getBytes());
System.out.println("keyFactory provider: " + keyFactory.getProvider().getName());
SecretKey key = keyFactory.generateSecret(keySpec);
Cipher decryptCipher = Cipher.getInstance("DESede");
decryptCipher.init(Cipher.DECRYPT_MODE, key);
System.out.println("decryptCipher provider: " + decryptCipher.getProvider().getName());
catch (Exception ex)
ex.printStackTrace();
Unfortunately it produced the following output:
EMS-Server42# java test
keyFactory provider: SunPKCS11-NSScrypto
decryptCipher provider: SunJCE
And when I comment out SunJCE provider in java.security file I get the following exception:
java.security.NoSuchAlgorithmException: Cannot find any provider supporting DESede
at javax.crypto.Cipher.getInstance(DashoA13*..)
at test.main(test.java:38)
So it looks like something is wrong with my NSS configuration. Because AFAIK DESede (3DES) is supported by the NSS library, but for some reason JAVA doesn�t see this algorithm implemented in NSS PKCS#11 provider.
Any suggestions on what am I doing wrong?
Best regards,
AlexWorks for me:
import java.security.Provider;
import java.security.SecureRandom;
import java.security.Security;
import javax.crypto.Cipher;
import javax.crypto.SecretKey;
import javax.crypto.SecretKeyFactory;
import javax.crypto.spec.DESedeKeySpec;
import javax.crypto.spec.IvParameterSpec;
public class Test
public static void main(String[] args)
try
String configFileName = "/nss/nss.cfg";
Provider nss = new sun.security.pkcs11.SunPKCS11(configFileName);
Security.addProvider(nss);
SecretKeyFactory keyFactory = SecretKeyFactory.getInstance("DESede", nss);
DESedeKeySpec keySpec = new DESedeKeySpec(new String("laKuf1Tcc6sOhsdPf49=m4es").getBytes("UTF-8"));
System.out.println("keyFactory provider: " + keyFactory.getProvider().getName());
SecretKey key = keyFactory.generateSecret(keySpec);
//iv for CBC mode - note, in practice you don't generate a random iv for decryption :)
byte[] iv = new byte[8]; //64-bit block size for 3DES
SecureRandom sr = SecureRandom.getInstance("PKCS11", nss);
sr.nextBytes(iv);
IvParameterSpec params = new IvParameterSpec(iv);
Cipher decryptCipher = Cipher.getInstance("DESede/CBC/NoPadding", nss);
decryptCipher.init(Cipher.DECRYPT_MODE, key, params);
System.out.println("decryptCipher provider: " + decryptCipher.getProvider().getName());
catch (Exception ex)
ex.printStackTrace();
}Oh, I wouldn't expect your key loading to work when you switch over to FIPS mode.
cfg file:
name = NSScrypto
nssLibraryDirectory = /nss
nssSecmodDirectory = /nss
nssModule = fipsYields the following error:
java.security.spec.InvalidKeySpecException: java.security.InvalidKeyException: Could not create key
because you can't directly handle keying material in FIPS. You'll have to save the secret key in the NSS certDB or generate a random one each time and send it wrapped to the other side. -
Hello all - our app (on UDS 5.2.0) uses a C library and now we are upgrading the library. Everything seems ok while importing, compiling and distiriuting the updated library but when we try to integrate the workspace with the changes we get an error -
Forte_cl0: SYSTEM ERROR: Error fetching system object (1,0xa5e0e,0)
fromshadow!Class: qqsp_ImplementationException
Error #: [1101, 279]
Detected at: qqrp_ShadowRepositorySession::Fetch(FlatObject)
Last TOOL statement: method
abSurrogateRepositoryClient.IntegrateWorkspace
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= D89DBB80-4A53-11DA-92CE-76AFF250AA77:0x69b:0x2, taskId =
[D89DBB80-4A53-11DA-92CE-76AFF250AA77:0x69b:0x2.18]) in
application
"FTLaunch_cl0", pid 1352 on node TESTPRO in environment DEVP
And after this error no matter no matter what we do - compile,revert changes, unistall the library, the same error appears when we intergate workspace and we have to recreate the whole thing from scratch - the repos, environment etc. We are not using shadow repositories and are directly connected to the central repos. Has anyone seen this error before? Is there any issue wuth using C libraries on UDS? Any help would be appreciated...thanks!I got the same issue, trying to use UDS 5.2 and UDS 5.0 concurrently on my Win2K machine (I was testing upgrading to UDS 5.2). The solution is probably the same for other OSs.
I have included the email correspondance with Sun below.
Stephen.
Hi Mary,
Once I added the UDS 5.2 userlib and install/bin directories to my PATH, repository issue went away.
You can close this request.
Thanks for oyur help,
Stephen.
-----Original Message-----
From: Mary McCarthy [mailto:[email protected]]
Sent: 16 February 2005 10:45
To: Boyatsis, Steven
Cc: Montgomery, Stephen (LIT); Smyth, Ray(LIT)
Subject: Re: Case # 64448594 - UDS 5.2 Shadow Repository Issue
Hi Steven,
I'm just checking in to learn the latest status of your shadow repository configuration. Have you been able to get past the ImplementationException?
Thanks,
Mary
Mary McCarthy wrote:
Hi Stephen,
I checked with the backline team and found that strictly speaking, we
don't recommend installing more than one UDS release runtime per
machine. This is because the installer assumes only one release and
it doesn't cater for multiple releases. Below is their advice for
getting this work properly. Please keep us posted with your results.
Thanks,
Mary
The problem comes with the values for the environment variables FORTE_*, WWW_* and PATH being different for each UDS release runtime. They may reside in any of the following Windows registry folders and are searched in this order.
HKEY_CURRENT_USER\Environment
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment
HKEY_CURRENT_USER\Software\ForteSoftwareInc\Forte
HKEY_LOCAL_MACHINE\SOFTWARE\ForteSoftwareInc\Forte\<release>
In the case of the environment variables FORTE_* and WWW_*, the UDS runtime is able to retrieve them from the release specific folder in the Windows registry, so they should not present a problem, if they are only defined there with their release-specific value.
HKEY_LOCAL_MACHINE\SOFTWARE\ForteSoftwareInc\Forte\<release>
The environment variable PATH is used by the operating system when activating the UDS runtime libraries in %FORTE_ROOT%\install\bin, so the trick is to make sure that each UDS runtime has a distinct setting for PATH. Beware that only the following Windows registry folders are searched by the operating system.
HKEY_CURRENT_USER\Environment
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session
Manager\Environment
The Windows NT Services for each release needs to start up as its own service account and not as the default 'Local System acount'.
UDS Environment Manager <release>
UDS Repository Manager <release>
I suggest that the customer creates two service accounts.
uds5_0_9
uds5_2_0
Log in to each account and set the environment variable PATH appropriately as a User environment variable and not as a System environment variable. Check the value of PATH in the following Windows registry folder.
HKEY_CURRENT_USER\Environment
Then change the four Windows NT Services to start up as the appropriate service account and then recycle the Windows NT Services in order that they will pick up the new local user registry hive that has the appropriate PATH setting.
As with some things Windows related, the customer may need to recycle the operating system, if the new local user registry hive doesn't get loaded after these changes.Montgomery, Stephen (LIT) wrote:
Hi Mary,
I have further investigated this and I'm pretty sure it has to with
having UDS 5.2 and UDS 5.0.9 installed on the same PC:
Current Win2k Environment Settings :- defaultenv.txt
I have my environment settings pointing to UDS 5.0, installed at
c:\forte. I have UDS 5.2 installed at c:\forte52. I was using the
following shortcut to use my UDS 5.2 workspace:
where the full target command is "C:\forte52\install\bin\ftexec.exe
-fr
bt:c:\forte52\repos\dev52 -fi bt:c:\forte52\userapp\forte\cl0\forte
-fm "(n:96000,x:128000)" -fns gardenia:6101 -fw montgoms_workspace"
I consistently get the workspace error below either from importing a
public plan, searching for text etc,
SYSTEM ERROR: Error fetching system object (1,0xa5e11,0) from shadow!
Class: qqsp_ImplementationException
Error #: [1101, 279]
Detected at: qqrp_ShadowRepositorySession::Fetch(FlatObject)
Last TOOL statement: method
abSurrogateRepositoryClient.ListPublicPlansWithData
Error Time: Mon Feb 07 07:51:48
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= 5A4CD430-75F6-11D9-9ACC-6BC7A19DAA77:0xf06:0x1, taskId =
[5A4CD430-75F6-11D9-9ACC-6BC7A19DAA77:0xf06:0x1.13]) in application
"Forte_cl0", pid 804 on node DWS186 in environment T_env.
However, if I set up a script to change the FORTE_ROOT variable to
c:\forte52 and add the c:\forte52\userlib and c:\forte52\install\bin
to start of my PATH variable, the error disappears. Previously I had
tried just to change the FORTE_ROOT variable to C:\forte52 and then
run the shortcut. This isn't enough though - you need to include the
install and userlib directories on the PATH.
Stephen.
-----Original Message-----
From: Mary McCarthy [mailto:[email protected]]
Sent: 03 February 2005 15:44
To: Montgomery, Stephen (LIT); Boyatsis, Steven
Cc: Smyth, Ray(LIT)
Subject: Re: Case # 64448594 - UDS 5.2 Shadow Repository Issue
Hi Stephen and Steven,
It sounds like the shadow still thinks it's detached. But the fact
that you can do this through fscript contradicts that.
Can you try attaching the shadow again? It might be a good idea to
get everything checked in, all the shadows attached, then recreate
them again. I've reviewed our list of known issues and we haven't
seen repository corruption in ages.
Thanks,
Mary
Montgomery, Stephen (LIT) wrote:
Hi Mary,
All of our Forte environments (including the repositories) run on AIX
5.1. We have a large number of back-end UDS components that also run
on AIX. Our clients and developers all use Windows 2000 SP4 to run
the application front end/gui.
The issue I have raised is being experienced only on Win2k when I've
created a shadow repository for my new workspace using UDS 5.2.0
Developer Edition. I then detach and reattach to pull in all the
public plans into my local 'cache' in shadow. I then receive this
intermittent error when I have tried importing new public plans,
searching for text and once integrating...
Hope this helps,
Stephen.
-----Original Message-----
From: Mary McCarthy [mailto:[email protected]]
Sent: 02 February 2005 18:10
To: Montgomery, Stephen (LIT); Boyatsis, Steven
Subject: Case # 64448594 - UDS 5.2 Shadow Repository Issue
Hi Steven,
I've been assigned to work with you on this support issue. I'm not
terribly familiar with AIX. Would you mind clarifing the AIX version
for me? Which portion of UDS is running on AIX, the server?
Thanks,
Mary
Hardware Platform: IBM
Component Affected: Languages/Development Tools OS and Kernel Version:
AIX gardenia 1 5 0001DC5A4C00 Describe the problem: UDS 5.2 Shadow
Repository Issue.
Background Information:
1. Running UDS 5.2.0 on client and server. Remote repository is
newlycreated UDS 5.2.
2. Created shadow repository for workspace on Win2k PC.
3. Detached shadow to pull down/cache workspace plans locally on my
machine 4. Attached Shadow to reconnect.
5. Have been happily checking out/unchecking, branching, updating,compiling etc in shadow workspace for 2-3 days.
Shadow Repository Info:
Repository information:
Connected to repository bt:c:\forte52\repos\dev52.
Connected to an attached shadow (65).
Current workspace is (montgoms_workspace)
Workspace created: 24-Jan-2005 10:44:43
Last Updated: 26-Jan-2005 11:27:05
Up-to-date with integration #2.
Last Integrated: (Never)
Repository create date 13-Jan-2005 10:23:46.
Persistent counter value (75737).
This is a compressed repository.
Shadow is on central repository dev_repos52.
List of workspaces cached in this shadow.
advap_workspace (220541)
montgoms_workspace (220892)
2 of a maximum of 15 workspaces are currently cached in thisshadow.
Completed printing repository information.
Issue:
1. Attempt to include public plan from remote repository by Plan,Include Public. The following exception is raised and the list of
available public plans is not shown.
SYSTEM ERROR: Error fetching system object (1,0xa5e11,0) from shadow!
Class: qqsp_ImplementationException
Error #: [1101, 279]
Detected at: qqrp_ShadowRepositorySession::Fetch(FlatObject)
Last TOOL statement: method
abSurrogateRepositoryClient.ListPublicPlansWithData
Error Time: Thu Jan 27 10:04:49
Exception occurred (locally) on partition "Forte_cl0_Client",(partitionId
= CAF940B0-3D47-11D9-BCA0-F9B6F329AA77:0x7277:0x1, taskId =
[CAF940B0-3D47-11D9-BCA0-F9B6F329AA77:0x7277:0x1.13]) inapplication
"Forte_cl0", pid 1036 on node DWS186 in environment T_env.
This exception is raised for each workspace cached in the local
shadowbut I can import public plans into the workspaces using fscript.
I also encountered the same error while performing a word search on
another workspace in another UDS5.2 repository
Thanks,
Stephen
This system is SRS Net Connect enabled: No I will be sending an
Explorer file: No List steps to reproduce the problem(if applicable):
When was the problem first noticed: week ago The problem is: staying
the same Any changes recently?: None What software is having the
problem?: UDS 5.2.0 on Windows 2000 SP 4.
Desired start date for this service request: normal (according to
service coverage) Alternate contact first name: stephen Alternate
contact last name: montgomery Alternate contact phone: 00 44 2890
445629 Alternate contact email: [email protected] Email
copy of original Service Request to primary contact: Yes Preferred
Method of Response: Email Email copy of Service Request to alternate
contact: Yes Email primary and alternate contacts when a Sun
engineer updates this Service Request: Yes
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\n0105003\Application Data
CLASSPATH=.;C:\Program Files\SQLLIB\java\db2java.zip;C:\Program
Files\SQLLIB\java\runtime.zip;C:\Program Files\SQLLIB\bin
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=DWS186
ComSpec=C:\WINNT\system32\cmd.exe
DB2INSTANCE=DB2
DB2TEMPDIR=C:\Program Files\SQLLIB
FORTE_ROOT=c:\forte
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\n0105003 ICM_FOLDER=Information
Catalog Manager IMNINST=help IMNINSTSRV=C:\PROGRA~1\IBM\IMNNQ
INCLUDE=C:\Program Files\Microsoft Visual C++ Toolkit
2003\include;C:\Program Files\Microsoft SDK\include;C:\Program
Files\SQLLIB\INCLUDE;C:\Program Files\SQLLIB\TEMPLATES\INCLUDE
Lib=C:\Program Files\Microsoft Visual C++ Toolkit 2003\lib;C:\Program
Files\Microsoft SDK\Lib;c:\sybase\LIB LOGONSERVER=\\BART
MDIS_PROFILE=C:\Program Files\SQLLIB\METADATA\PROFILES
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=C:\WINNT\MS\SMS\CORE\BIN;C:\sybase\JS-12_5\bin;C:\sybase\OCS-12_5
\dll;C:\sybase\OCS-12_5\bin;C:\Program Files\Microsoft Visual C++
Toolkit 2003\bin;C:\Program Files\Microsoft
SDK\Bin;C:\Perl\bin\;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem
;c:\sybase\dll;c:\sybase\bin;C:\Program
Files\Rational\common;C:\Program Files\SQLLIB\BIN;C:\Program
Files\SQLLIB\FUNCTION;C:\Program Files\SQLLIB\SAMPLES\REPL;C:\Program
Files\SQLLIB\HELP;C:\PROGRA~1\IBM\IMNNQ;C:\PROGRA~1\TextPad
4;C:\JBuilderX\jdk1.4;C:\JBuilderX\jdk1.4\bin;C:\Program Files\Common
Files\GTK\2.0\bin;C:\Program Files\Executive
Software\Diskeeper\;C:\Program Files\Unrar;C:\Program
Files\Embarcadero\RSQL57;C:\Program
Files\Embarcadero\Feb2001Shared;C:\Program
Files\Embarcadero\RSQL57;C:\Program Files\Embarcadero\Feb2001Shared
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 2 Stepping 9, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0209
ProgramFiles=C:\Program Files
PROMPT=$P$G
SMS_LOCAL_DIR=C:\WINNT
SYBASE=C:\sybase
SYBASE_JRE=C:\sybase\shared-1_0\JRE-1_3
SYBASE_OCS=OCS-12_5
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\Temp
TMP=C:\Temp
USERDNSDOMAIN=lit.lmig.com
USERDOMAIN=LIT0
USERNAME=n0105003
USERPROFILE=C:\Documents and Settings\n0105003
VCToolkitInstallDir=C:\Program Files\Microsoft Visual C++ Toolkit
2003\ VWSPATH=C:\Program Files\SQLLIB VWS_FOLDER=IBM DB2
VWS_LOGGING=C:\Program Files\SQLLIB\LOGGING VWS_TEMPLATES=C:\Program
Files\SQLLIB\TEMPLATES windir=C:\WINNT -
Hello,
I have installed weblogic 10.3.4 and ADF 11.1.1.4 on my solaris server and I have 4 war files and an ear file which I am trying to deploy on the server. I have copied some libraries in the lib folder at the domain level : /Oracle/Middleware/user_projects/domains/base_domain/lib for one of the application's war file to work. I came across a strange issue where the all the war files are in failed state if I put some libraries in this lib folder but if i put the libraries in the war file's lib folder then all applications work fine... Can someone explain why does this happen ?Hi,
You are running into classloader scope issues. Essentially if you put a library jar in the war - it is lower in the classpath than libraries at the server level. For example if you want to inject an application managed JPA EntityManagerFactory into a servlet and bypass heavyweight EE 5 practices - you use @PersistenceUnit and ship the implementation library jar (EclipseLink for example) in the WAR. Otherwise (recommended) you use the shipped or your own 3rd party jar in the modules or the server lib and use a container managed @PersistenceContext on an @EJB (session bean) in the EJB.jar. (Note: Java EE 6 via Web Profile allows most EJB functionality in the WAR now.
Think of the classloader hierarchy as a tree - a class that references another class can find it up the tree via classloader resolution from the war all the way past the server and into the JRE/JDK but not the other way around. Is there a dependency from the library into classes specifically in your WARs (this would not be good if the library is outside the WAR classloader).
This is a quick off the top of my head discussion.
Here is a slightly relevant discussion of scoping a shared library by position.
http://wiki.eclipse.org/EclipseLink/Examples/JPA/WebLogic_Web_Tutorial#EclipseLink_JAR_location
http://wiki.eclipse.org/EclipseLink/Development/JPA_2.0/weblogic#DI_1.1:_Alternative_3:_Application_Level_Shared_Library_-InUse
thank you
Michael O'Brien
EclipseLink : http://www.eclipselink.org
Telus Health/Emergis : http://telushealth.com -
Hi All,
I am getting the following error when I try to use the tag library in my JSP page
OracleJSP: oracle.jsp.parse.JspParseException: Line # 1,
<%@ taglib uri="/WEB-INF/test_tags.tld" prefix="test" %>
It seems that it is not able to parse the tld file. Has anybody run into similar issue? What is the solution?
Thanks in advance.Rahul -
It's hard to say what the problem is without seeing the tld, but by default, the .tld file should be located in the META_INF directory, not WEB_INF.
Hope this helps,
Lynn
Java Tools Team
Maybe you are looking for
-
Photoshop Elements 8.0 won't open, keep getting an Error message from windows
I am running Windows Vista on a toshiba laptop and I've owned the software for a little over a year now, everything was working quite fine the usual few crashes every once and a while. Though I had thought to myself oh well here it's time for some ne
-
Lenovo g510 poor performanc​e
I have bought laptop Lenovo g510 series, i want to play some games on this laptop, but i cant run them on good graphics. It is impossible to run and play some of the new games. Help me configure my laptop, please. Also the fan is making noisy all the
-
Surface Pro 3 Windows 8.1 Pro N HID Sensor Collection
I've been tasked with creating an enterprise image on the surface pro 3. I'm using MDT 2013. I've added the driver pack to MDT for the surface pro 3. All drivers install except for HID Sensor collection device and the simple device orientation sensor
-
Hi, I must install 4 new languages in 11.5.9 eBS . I follow the NLS Release Notes ( Part N° B10846-01; Metalink Doc ID 232831.1 ) , but I have "only" one doubt .... ! I must choose "Maintain Applications Database Objects" and select the "Maintain th
-
Hi all, Quick one - I've recorded footage using a Sony HDR-PJ810 in 1080p24 with 5.1ch surround audio (currently experimenting with different frame rates, resolutions and audio). If I import this into a 1080p24 preset in Premiere Elements 12 then I