Unable to find visa refnum
I am trying to run several VIs connected to different serial ports-all at the same time.I got the error:1073807246-I was trying to clear it in the way described in this forum-by creating a VI with a 'refnum' wired as input to the VISA close session.I am only able to wire a 'control' to it-and again it shows me some other error(1073807346)-other than this,the VI seems to be perfectly(It is also surprising that I was able to run the same VI without any problems yesterday!Would it be a good idea to 'open' the VISA session just once in the beginning of the whole VI(which has several sub VIs)and then 'close' it only at the end of the whole process?
any suggestions/ideas are welcome.
Opening the VISA session once at the beginning of the program or process and then closing once done, is the usual way to handle it. It saves on a lot of opening and closing. Just pass the reference from VI to VI. This will speed things up a little as well.
Rob
Similar Messages
-
Error: Unable to find all subVIs from saved VIs.
TestStand 2010 SP1, LabVIEW 2011, WinXP
Trying to build a deployment in TestStand.
During the build, I get the now-infamous popup:
Title: "Save Modified VIs?"
Text: "An error occured while trying to read the dependencies of your VIs; a possible cause for this problem is VIs not saved in the current version of LabVIEW. Would you like to save any modified VIs now?"
I select "yes", and the build then fails with errors in the log pane of the "Build Status" window. The error is:
Error: Unable to find all subVIs from saved VIs, either a subVI is missing or the VI is not saved under the current LabVIEW version.
The missing file path is: etc, etc.
I go to said missing path. The VI is in fact present. I open the VI and do "Save All", try again. Same thing. Then, I try a Mass Compile on the test VI directory. Attempt to build again, same error.
Note that I do call some VIs dynamically, but those are all present in my workspace, and are not found in this error.
Is there a debugging option or log file or some kind of trace I can do to dig into this and find out the state of things causing the error? Please help me out here.
-AndyOne quick way to narrow down the issue is to change your LabVIEW adapter to Run-Time engine and then try and run the sequence in the Sequence Editor.
Also, triple check your search directories and make sure you're not pulling in VIs from an unexpected location.
When you see that dialog it's already too late to save so trying to Save at that point never works.
Another tip is to ignore which VIs it says are not saved in the current version and instead look at the subVIs that those VIs are calling. You can run into this if you have two subVIs loaded with the same name.
CTA, CLA, MTFBWY -
Hi i have installed report generation tool kit but i am unable to find a function
hi,
I have installed report generation toolkit full version and i have few example programms in which a function named generate report get data to modify.vi been used but i am unable to find a function pallet called Generate Report get data to modify.vi in my function list and when ever i try to RUN this example programm i get an error saying this function is not executable if i go inside that function again its showing the same error inside that function saying its not executable if any one knows about this VI pls help me
regards
narayanhi,
i have tried your method by going into
resorces i have opened the VI s there its not showing any error but how
to open same vi or call that VI while i am programming how i can
search those functions in my function pallet and i have a previously
written prog in LABVIEW 8 VERSION where he has used this functions and
he has made some SUB VIS using those functions and some of the contents
VI S of resorce he has put it in a folder so every time when i try to
open this VI it says dependncie issue it is trying to access the VI
FROM RESORCE AS WELL HAS FROM THE FOLDER WHERE PREVIOUSLY STORED HOW TO
SOLVE THIS PROBLE PLEASE HELP IF ANY ONE HAS SOLLUTION FOR THIS
REGARDS
NARAYAN -
GRC 10 Upgrade: Unable to find a system while creating a request in AC
Hi All,
I am unable to find a system while creating a new request in Access Management. I have created a connector to the backend system and I tested that by logging into the system remotely. However, the same system is not available for selection for which the request needs to be created.
Please suggest.
Regards,
FaisalHi Faisal,
Please re-visit the following config:
SPRO>GRC>AC-->Maintain Connector Settings
SPRO>GRC>AC-->Maintain Mapping for Actions and Connector Groups
SPRO>GRC>AC-->Maintain Plugin Settings (Make sure you have not checked the checkbox)
Still not solved - please follow this document and make sure you have completed all the steps:
http://www.sdn.sap.com/irj/bpx/go/portal/prtroot/docs/library/uuid/5067e447-5c64-2e10-7d9c-8f7e5953aadb
Regards,
Ajesh. -
WiFi unable to find requested server...
I have an 8120 Pearl and I successfully connected to my home WiFi network. But, whenever i try to access a website, google.com for example, I'm getting "unable to find the requested server". I don't have a BB data plan, but I shouldn't need one when using wifi, so what could it be? I have security enabled WPA and I'm able to connect using my iPhone and 3 laptops... does WPA have anything to do with it?
The browser is set to hotspot browser and also here are my wifi diagnostics:
WiFi
Current Profile: HZ_wifi
SSID: HZ_wifi
Security Type: Pre-Shared Key (PSK)
Local IP Address: 192.168.1.4
Signal level: -49dBm
Connection Data Rate: 48Mbps
Status: Network acquired
I've tried power cyclying the router and that didn't help, I am able to connect via wifi on my friends network so it can't be the phone, and its not the router, i can only think its that the two are incompatible, could this be the case?
Message Edited by giyad on 06-26-2009 11:17 AMI do have the exact problem with my bold, I have my laptop and a nokia phone connected to home wi-fi and both working perfectly.
the issue with the bold is that it connects to the wi-fi network but it works only for few minutes and then the browser says: "Unable to find requested server" and the Wi-fi mark changes to gray after i was able to visit few sites. i dont have or intend to have a data plan as I have access to Wi-fi connection almost all the time. I have tried resetting the router and it didn't work. Any one with the right solution??? -
Unable to find setter method for attribute:
I am using Jboss jboss-4.2.3.GA, JDK 1.6.
I am trying to deploy our application on Jboss. When loading sources page or whenever we try to load the taglib we are getting the following error.
org.apache.jasper.JasperException: jspfile.jsp(67,1) Unable to find setter method for attribute: collection
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:40)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:407)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:148)
at org.apache.jasper.compiler.Generator$GenerateVisitor.evaluateAttribute(Generator.java:2736)
at org.apache.jasper.compiler.Generator$GenerateVisitor.generateSetters(Generator.java:2965)
at org.apache.jasper.compiler.Generator$GenerateVisitor.generateCustomStart(Generator.java:2169)
at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(Generator.java:1689)
at org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
at org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2388)
at org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2394)
at org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
at org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2338)
at org.apache.jasper.compiler.Generator.generate(Generator.java:3374)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:316)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:445)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)
at com.ssmb.common.servlets.GenericControllerServlet.service(GenericControllerServlet.java:639)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:182)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
at java.lang.Thread.run(Thread.java:619)
The line corresponding in JSP file is ,
<ssmb:list name="src_" collection="sources" showAll='<%= "" + true %>'>
Please let me know if you have faced this issue before.Have you written this tag in a tld or a tag file?
How have you declared the attribute "collection"?
Does the class which implements the custom tag <ssmb:list> have a method in it: public void setCollection(String collection) ? -
Unable to find Oracle quote Lines Data
Hi,
I have to find the query or any other data source which is getting the data for the Print quote report. I am unable to find out from where the data in report is being displayed.
The Flow is like...
Search for any quote.
Click on the quote link
One Drop poplist will be displayed. Select Print Quote
And click on the submit button. The PDF report generated,
Now I have to find out from where this data is coming. Can anyone help me on this.
Thanks
AnoopAnoop,
This is a JTT page and there is no VO. If you wanna see how this report is built check out qotSCocPrint.jsp. Here data source are quoting classes. If u need any quoting related data y do u worry about source, y don't u directly hit quoting tables like aso_quote_headers_all and aso_quote_lines_all.
--Mukul -
I'm using matchbook pro and I'm unable to find iPhoto after upgrading to Maverick os
I'm using matchbook pro and I'm unable to find iPhoto after upgrading to Maverick os
Open the Mac App Store application and see if iPhoto is under your "Purchases" tab.
Clinton -
Error Message: "Unable to find qm_dw.htm
(I'm a low-to-moderate ability user - just upgraded from MX2004 to CS4 and just moved from PC to MacBook) I'm working through various DW CS4 tutorials and added one 'Adobe' plug-in (Lorem and More). On recent DW start-ups I have started getting the message "Unable to find qm_dw.htm in the Configuration/Floaters directory. The floater will not be shown." Does anyone know how I can resolve this? Many thanks in anticipation. John.
In case it helps, try deleting the DW cache file
http://kb2.adobe.com/cps/191/tn_19105.html#dat (step 4) -
Photoshop unable to find Java script plugin
Since the last ACR update to PSCS6, I am unable to browse in Bridge or Mini Bridge and I get the error message "Could not complete the Browse in Bridge Command because Photoshop was unable to find the JavaScript plugin". When I try to open mini bridge, it will open but there is the error message: "Could not complete the command because the extension could not be loaded". I have tried a system restore and read all of the posts related to this error but no one seems to come up with an answer. I tried pasting the .dll files recommended in another post but that did not help. I tried the suggestion to run PS as an administrator but that did not work. I have searched the web, many people have this problem but very few answers, as per usual with Adobe. Using PSCS6 x64 with Windows7x64. Need help!
My mind reading abilities are a bit fuzzy today.
I can't seem to read what version of Photoshop, what computer, what OS you are using? -
Unable to find Bean and AM impl for customisation of Fusion Application
Hi,
Iam navigating through this link
under Fusion App --> Navigator -->WarehouseOperation -->REceipts --> and Entering createReceipt screen via Receive Expected Shipments. I want to default the value of packing slip as how supplier got defaulted but in editable mode. For this i want to know how supplier got defaulted and in same way i want to default Packing slip number.
But iam unable to find the managed bean or AMimpl java file for doing code change.
"Copylines" is default activity and from there it is navigating to CreateReceipt.jsff, i don't find any parameter carrying the value for Supplier.
So Logic must be either in Managed Bean or in AmImpl . I need to include my logic also here. But unable to find the necessary file.
reg,
Lakshmi.While creating a receipt, you select one or more orders belonging to a single supplier and then create one receipt against that. And that is how the supplier field gets defaulted in the Create Receipt UI.
Packing slip is also defaulted when the user receives against ASN provided it is captured at the time of creation of the ASN.
For a regular PO receipt, the user is expected to enter the packing slip by default.
Can you describe your exact requirement in detail?
The customization framework does allow the value of a field to be overwritten but using this, you will always have a predefined value or some limited logic using EL.
But we would not recommend that because when you customize the value of a field, it will discard the value that is fetched from the database.
This can potentially break the default functionality of receiving where the packing slip is defaulted from the ASN.
And another question that I have is the need for the AM details - this particular code is present in the AM and not the managed bean.
Are you planning to extend the AM that is shipped by receiving? -
Type-mapping not working correctly, get "Unable to find a javaType for the xmlType" WARNING
I'm manually creating a web-services.xml file, and using the autogen ant task to
generate the codec XML/Java classes. The XML definition is provided by SAP.
The ant build.xml file:
<project name="buildWebservice" default="stubgen">
<target name="stubgen">
<clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
packageName="com.aa.rmis.webservice.client"
clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
autotype="False" />
</target>
<target name="all" depends="stubgen"/>
</project>
The problem is seen below in the output from Ant. Note the WARNINIG. The problem
is that the xml type cannot be mapped to the Java type.
C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
Buildfile: clientbuild.xml
stubgen:
[clientgen] Generating client jar for RMIS.ear ...
[clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
cument:sap:business']:PaymentRequest.Create. Make sure that you have registered
this xml type in the type mapping
[clientgen] Using SOAPElement instead
[clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
client.jar-836624340
[clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
BUILD SUCCESSFUL
Total time: 17 seconds
The Java source that has the implementation of the service methods is simply:
package com.aa.rmis.webservice;
import com.aa.rmis.ifr.request.*;
public class TestService
public TestService()
public int serviceRequest(PaymentRequestCreate request)
System.out.println("Received serviceRequest message");
return 0;
public void testStringRequest(String request)
The web-service.xml file is attached, which contains the schema for the SAP PaymentRequest.Create
object definition.
Another problem I have, which is probably related, is that the service method
that has a complex data type (non-built in data type) is not being deployed into
the WebLogic server. But the other service method that simply takes a String
parameter is.
The steps I took are:
1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
2. Use ant task autogen to generate the request codec classes
3. Create the web-services.xml file by inserting the schema definition and the
mapping file created by the autogen task, and defining the operations
4. Build web-services.war file that contains all autogen compiled class files,
the web-services.xml file, and the service implementation class
5. Build the ear file that holds the web service files
6. Use the clientgen ant task to generate (included above) to generate the client
jar file that should contain the proxy for both of the service methods
Environment:
* WebLogic 7.02
* JDK 1.3.1_06
* JBuilder 9 Enterprise
* Ant 1.4
Possible causes:
* Namespace not being used correctly
* copied verbatim the mapping xml file generated by autogen into the web-services.xml
file
* xml-schema part of web-services.xml might not be set correctly
* operation definition might not be using the correct namespace
* Classpath used for ant might not be right
* Doubt this is the problem, but I'm out of other ideas
* Set by using the setWLEnv.cmd file provided by WebLogic
* Tried adding the generated classes directory for my project to the classpath,
but did not work
I've been referencing the Programming WebLogic Web Services document throughout
this entire process. I must be missing something.
Can anybody from BEA help me out with this problem?
Thanks in advance.
[web-services.xml]Hi JD,
I spent a few cycles looking over your web-services.xml file, however I
don't have any suggestions other that one that looks like you have
already tried, at the top, in the <schema...>
targetNamespace="urn:sap-com:document:sap:business"
Making edits to these generated files can be tricky and my only
suggestion is to create a small reproducer to run by our outstanding
support team.
A quick look at our problem database shows one issue (CR095109) related
to a similar problem at deploy time that was fixed with 7.0SP3. Again,
the support folks will be able to help focus in on the issue.
Regards,
Bruce
JD wrote:
>
The first posting contains the wrong web-services.xml file. Please refer to this
one instead.
"JD" <[email protected]> wrote:
I'm manually creating a web-services.xml file, and using the autogen
ant task to
generate the codec XML/Java classes. The XML definition is provided
by SAP.
The ant build.xml file:
<project name="buildWebservice" default="stubgen">
<target name="stubgen">
<clientgen ear="C:\projects\RMIS\ifrrequests\RMIS.ear"
packageName="com.aa.rmis.webservice.client"
clientJar="C:\projects\RMIS\ifrrequests\rmisws-client.jar"
autotype="False" />
</target>
<target name="all" depends="stubgen"/>
</project>
The problem is seen below in the output from Ant. Note the WARNINIG.
The problem
is that the xml type cannot be mapped to the Java type.
C:\projects\RMIS\ifrrequests>ant -buildfile clientbuild.xml
Buildfile: clientbuild.xml
stubgen:
[clientgen] Generating client jar for RMIS.ear ...
[clientgen] WARNINIG: Unable to find a javaType for the xmlType:['urn:sap-com:do
cument:sap:business']:PaymentRequest.Create. Make sure that you have
registered
this xml type in the type mapping
[clientgen] Using SOAPElement instead
[clientgen] Compiling 4 source files to C:\DOCUME~1\944377\LOCALS~1\Temp\rmisws-
client.jar-836624340
[clientgen] Building jar: C:\projects\RMIS\ifrrequests\rmisws-client.jar
BUILD SUCCESSFUL
Total time: 17 seconds
The Java source that has the implementation of the service methods is
simply:
package com.aa.rmis.webservice;
import com.aa.rmis.ifr.request.*;
public class TestService
public TestService()
public int serviceRequest(PaymentRequestCreate request)
System.out.println("Received serviceRequest message");
return 0;
public void testStringRequest(String request)
The web-service.xml file is attached, which contains the schema for the
SAP PaymentRequest.Create
object definition.
Another problem I have, which is probably related, is that the service
method
that has a complex data type (non-built in data type) is not being deployed
into
the WebLogic server. But the other service method that simply takes
a String
parameter is.
The steps I took are:
1. Get XML from SAP Interface Repository (IFR) for PaymentRequest
2. Use ant task autogen to generate the request codec classes
3. Create the web-services.xml file by inserting the schema definition
and the
mapping file created by the autogen task, and defining the operations
4. Build web-services.war file that contains all autogen compiled class
files,
the web-services.xml file, and the service implementation class
5. Build the ear file that holds the web service files
6. Use the clientgen ant task to generate (included above) to generate
the client
jar file that should contain the proxy for both of the service methods
Environment:
* WebLogic 7.02
* JDK 1.3.1_06
* JBuilder 9 Enterprise
* Ant 1.4
Possible causes:
* Namespace not being used correctly
* copied verbatim the mapping xml file generated by autogen into
the web-services.xml
file
* xml-schema part of web-services.xml might not be set correctly
* operation definition might not be using the correct namespace
* Classpath used for ant might not be right
* Doubt this is the problem, but I'm out of other ideas
* Set by using the setWLEnv.cmd file provided by WebLogic
* Tried adding the generated classes directory for my project to
the classpath,
but did not work
I've been referencing the Programming WebLogic Web Services document
throughout
this entire process. I must be missing something.
Can anybody from BEA help me out with this problem?
Thanks in advance.
Name: web-services.xml
web-services.xml Type: ACT Project (text/xml)
Encoding: base64 -
Hi, I am using my icloud on my iphone but am unable to find it on my mac book pro. It's not under my system preferences like it shows under the setup. Can I download it again? Or something. I just need to backup some files on my computer and am unable.
The minimum requirement for iCloud is Lion 10.7.5 (Mavericks preferred): the iCloud Preference Pane does not appear on earlier systems - the MobileMe pane appears on Lion and earlier but is now non-functional - you cannot now open or access a MobileMe account.
To make use of iCloud you will have to upgrade your Mac to Lion or Mavericks, provided it meets the requirements.
The requirements for Lion are:
Mac computer with an Intel Core 2 Duo, Core i3, Core i5, Core i7, or Xeon processor
2GB of memory
OS X v10.6.6 or later (v10.6.8 recommended)
7GB of available space
Lion is available in the Online Apple Store ($19.99). Mountain Lion (10.8.x) is also available there at the same price but there seems little point as the system requirements are the same for Mavericks (10.9.x) - which is free - unless you need to run specific software which will run on Mountain Lion only.
The requirements for Mountain Lion and Mavericks are:
OS X v10.6.8 or later
2GB of memory
8GB of available space
and the supported models are:
iMac (Mid 2007 or newer)
MacBook (Late 2008 Aluminum, or Early 2009 or newer)
MacBook Pro (Mid/Late 2007 or newer)
Xserve (Early 2009)
MacBook Air (Late 2008 or newer)
Mac mini (Early 2009 or newer)
Mac Pro (Early 2008 or newer)
It is available from the Mac App Store (in Applications).
You should be aware that PPC programs (such as AppleWorks) will not run on Lion or above; and some other applications may not be compatible - there is a useful compatibility checklist at http://roaringapps.com/apps:table -
My MacBook Pro stated that it needed to be updated. I clicked yes to restart the computer and update but when it restarted it stays on the gray screen with the apple logo and then pops up, stating "unable to find driver for this platform." What do I do?
Boot into Recovery by holding down the key combination command-R at the startup chime. Release the keys when you see a gray screen with a spinning dial.
Note: You need an always-on Ethernet or Wi-Fi connection to the Internet to use Recovery. It won’t work with USB or PPPoE modems, or with networks that require any kind of authentication other than a WPA or WPA2 Personal password.
When the Mac OS X Utilities screen appears, follow the prompts to reinstall the Mac OS. You don't need to erase the boot volume, and you won't need your backup unless something goes wrong. If your Mac didn’t ship with Lion, you’ll need the Apple ID and password you used to upgrade, so make a note of those before you begin.
Don't install the Thunderbolt update -- it's defective. -
Problem with Java keystore and certificates (unable to find valid cert path
Our program is made so that when a certificate is not signed by a trusted Certification Authority, it will ask the user if he/her wishes to trust the certificate or not. If they decide to trust the certificate, it will accept the self signed certificate and import it into the keystore and then use that certificate to log the user in. This works fine. It will import the certificate into the keystore and use the specified ip address to establish a connection with the LDAP server (Active Directory in our case) and authenticate properly. However, the problem arises when we then try and connect to a different ip address (without restarting tomcat, if we restart tomcat, it works fine...). It imports the certificate into the keystore fine, but always gives the exception
"Root exception is javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target"
and does not authenticate with our LDAP server (which is Active Directory). The problem seems to be that it is no longer looking at the System.setProperty("javax.net.ssl.trustStore", myTrustStore);
I have tried multiple times to just reset this property and try and "force" it to read from my specified trust file when this error happens. I have also imported the certificates directly into the <java_home>/jre/lib/security/cacerts and <java_home>/jre/lib/security/jssecacerts directories as the java documentation says that it will look at those directories first to see if it can find a trusted certificate. However, this does not work either. The only way that I can get this to work is by restarting tomcat all together.
If both of the certificates are already in the keystore before tomcat is started up, everything will work perfect. Again, the only problem is after first connecting to an IP address using TLS and importing the certificate, and then trying to connect to another IP address with a different certificate and import it into the keystore.
One of the interesting features of this is that after the second IP address has failed, I can change the IP address back to the first one that authenticated successfully and authenticate successfully again (ie
I use ip 1.1.1.1, import self signed certificate, authenticates successfully
login with ip 2.2.2.2 import self signed certificate, FAILS
login again with 1.1.1.1 (doesn't import certificate because it is already in keystore) successfully authenticates
Also, I am using java 1.5.0_03.
Any help is greatly appreciated as I've been trying to figure this out for over a week now.
ThanksPlease don't post in threads that are long dead and don't hijack other threads. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
I'm locking this thread now.
Maybe you are looking for
-
Intel imac slow to to to sleep since 10.6.8 update
Since upgrading my Intel iMac to 10.6.8 a few days ago, it is slow to go to sleep. After clicking on sleep, (or using Opt/Command/Eject), it takes between 20 and 30 seconds to go to sleep. Same problem when shutting it down. Restart is still as fast
-
TLS Handshake fails on Mac OS X
Hello, We have a problem with the authentication of Mac OS X 10.8 devices on our wireless network. We are using ISE version 1.2 with patch 2 and a 2504 with version 7.4.115 as WLC. The device should be authenticated with a client certificate over eap
-
DS board simulation version owner
Hi All, Can some one tell me the reason for the DS board simulation version owner field not getting populated. We made some change in PB and saved them in a simulation version. When we tried to process the simulation version from /sapapo/cdpss0, its
-
My WiFi only new iPad running iOS 6 shows my wife's phone number
My WiFi only new iPad running iOS 6 shows my wife's phone number in settings for face time & iMessage. My apple account has only my number. How can I make FaceTime & iMessage use my phone no?
-
Laser print for mac book 10.8.2
Hello, i need for my home a wlan Laser Jet. Not so a big printer with scan and more. Only print. All Laser Jet, not for Mac with 10.8.2 Version. Greetings