Wrong path on JNLP chain
Hi
Sorry to post it here, but I was unable to find where We can post JavaFX Issues.
This is a minor issue, but need to be adressed.
I always set my java Console to shown, to test my applets, etc.
While testing some JavaFX, I could note that JavaFX has a wrong path, or a wrong path chaining:
network: Connecting http://javafx.com/launch/lib/lib/basickit.jar with cookie "JSESSIONID=c3c4962140d944b30859de123fae; s_cc=true; s_sq=%5B%5BB%5D%5D"
java.io.FileNotFoundException: http://javafx.com/launch/lib/lib/basickit.jar
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.downloadJAR(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack.access$000(Unknown Source)
at sun.plugin.PluginURLJarFileCallBack$2.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
(...)Note the correnct URL is
http://javafx.com/launch/lib/basickit.jar an not
http://javafx.com/launch/lib/lib/basickit.jar , without the extra /lib
A few lines later there is a correct call to basickit.jar :
network: Connecting http://javafx.com/launch/lib/basickit.jar.pack.gz with cookie "JSESSIONID=c3c4962140d944b30859de123fae; s_cc=true; s_sq=%5B%5BB%5D%5D"
network: ResponseCode for http://javafx.com/launch/lib/basickit.jar.pack.gz : 304
network: Encoding for http://javafx.com/launch/lib/basickit.jar.pack.gz : null
network: Disconnect connection to http://javafx.com/launch/lib/basickit.jar.pack.gzI hope it help to find out a fix.
A.
Which applet were you running?It happens on several demos at JavaFX.com .
Perhaps in all of then.
Similar Messages
-
Wrong path and application in registry protocol\stdFileEditing\Server ?
Hi
How come there is a wrong path in registry is it a security issue, error or just values not in use anymore ?
I check via regedit: HKEY_CLASSES_ROOT the key .pdf points to
AcroExch.Document the key curver points to AcroExch.Document.7
Under this i check
HKEY_CLASSES_ROOT\AcroExch.Document.7\protocol\StdFileEditing\server
the value is
"C:\Program Files\Adobe\Reader 9.0\Acrobat\Acrobat.exe" (Acrobat catalog and the exe file is not existing)
but in my filesystem the real path is
C:\Program Files\Adobe\Reader 9.0\Reader
and i think the program should be AcroRd32.exe instead
When I have corrected the key an update would reverse it to the old not existing value
So could anyone tell me why i se this behaviour ?
Regards
SEJHi Frank,
How did you call the application in a war?
Regards,
Violeta -
Wrong path for go.bat in portal integration
Hi Friends,
during the configuration of the portal integration in rspor_cust01 I get the message
'Windows can not find C:\usr.......\go.bat'.
Where can I change the path because it is in D:\usr\sap\......go.bat.
Thanks you for any help.
Rg JimbobHi Subbu,
I used workshop page properties to associate the image to the page.
framework/skins/classic/images/home.gif
- Shankar
Subbu Allamaraju <[email protected]> wrote:
Shankar,
Did you use any tag to create the img tag? Do you have any sample
HTML/JSP snippet?
Subbu
Shankar Bala wrote:
I created a new desktop and have the following problem. The imagelinks to portal
pages in the horizontal nav bar in the top have wrong path.
Example.
In the original portal the home page link in the nav bar has a imageassociated
with it in workshop.
\framework\skin\classic\images\home.gif
The partial url generated for the image looks liek this:
\mywebapp\\framework\skin\classic\images\home.gif.
I created a new desktop everything works fine except for the images.The href's
are created for the links but the image path is wrong.
the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
The "appmanager" in the path causes the problem.
Is this a bug? -
Update Reader 9.5.2. Windows7 wrong path
Waar kan ik het correcte pad invoeren?
Sorry, I have no idea what "wrong path" you are talking about? An error message during the update? How are you updating?
Maybe and uninstall (using http://labs.adobe.com/downloads/acrobatcleaner.html) and reinstall will fix the problem? -
New desktop has wrong path for page links in nav bar
I created a new desktop and have the following problem. The image links to portal
pages in the horizontal nav bar in the top have wrong path.
Example.
In the original portal the home page link in the nav bar has a image associated
with it in workshop.
\framework\skin\classic\images\home.gif
The partial url generated for the image looks liek this:
\mywebapp\\framework\skin\classic\images\home.gif.
I created a new desktop everything works fine except for the images. The href's
are created for the links but the image path is wrong.
the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
The "appmanager" in the path causes the problem.
Is this a bug?Hi Subbu,
I used workshop page properties to associate the image to the page.
framework/skins/classic/images/home.gif
- Shankar
Subbu Allamaraju <[email protected]> wrote:
Shankar,
Did you use any tag to create the img tag? Do you have any sample
HTML/JSP snippet?
Subbu
Shankar Bala wrote:
I created a new desktop and have the following problem. The imagelinks to portal
pages in the horizontal nav bar in the top have wrong path.
Example.
In the original portal the home page link in the nav bar has a imageassociated
with it in workshop.
\framework\skin\classic\images\home.gif
The partial url generated for the image looks liek this:
\mywebapp\\framework\skin\classic\images\home.gif.
I created a new desktop everything works fine except for the images.The href's
are created for the links but the image path is wrong.
the url generated is : \mywebapp\appmanager\framework\skin\classic\images\home.gif
The "appmanager" in the path causes the problem.
Is this a bug? -
Web Application Transaction Monitoring Alerts with "wrong" Path
Hello,
i have created some web transaction monitors, such as
http://foo.htm who is hosted on the server foo123.cologne.org.
It works.. but
we have also a mssql monitoring, the discovery of the mssql management pack discovers the reporting part of mssql server on our managementserver Operations12.cologne.org. So (it's right..) the server Operations12.cologne.org is a member of the SQL Instances;SQL
Compontents;SQL Computers group.
When the web transaction monitor generates an alert, it have the pathname Operations12.cologne.org and not the pathname of the "right" server foo123.cologne.org.
For our mssql admins i have build an email-notification, when somethings going wrong at our sql servers (member of the SQL Instances;SQL Compontents;SQL Computers group) they received a mail.
The problem is, that they received a mail, when a web transaction monitor generated one, because the pathname is the name of our management server, because the management server is a member of thos sql server groups.
Someone have an idea to fix my "problem"?
- Best way: changing the path names of the web transaction monitorings... but how? i can't find anything to change..
Kind regards
Wolfgang WinterThank you, it's a help to decide, what to do, so i have to solutions:
- installing an agent to the web-appliction-hosting-server and configure it as a watcher node
(may be i will have problems with our firewall admins, because they have to allow the communications and.. when the hosting watcher is down, i have no alerts.. when i use more than one watcher nodes (good).. i have the wrong path names..
- configure a part of our management server group without SQL-Reporter Component as a watcher node
(more easy, because i have to tell my firewall admins: "the server foo456 is the standard watcher node"
Crazy.. because i don't know, how to assign the web transaction monitors to the "causing" server.., for mail notification and for our integration to HP Service Desk... -
JSF - Why getting wrong path Handling URLs in Facelets Templates
Hi, I am trying to do a web application using JSF, Facelets in Netbeans 6.7. but I am having a problem:
Why I am getting wrong path ?
It is very simple, straight forward web application.
When run, it shows the template-client.xhtml perfectly . The navigation menu is shows ok, but they don't work. However, if I enter in the browser address http://localhost:8080/test3/portal/products.jsf it goes perfect to the right page and the navigation between About, Products and Home works perfect. But once I click on Home, the menu start to give me errors. Looks like the path is wrong again.
folders structure:
test3My code:
faces-config.xml:
<?xml version='1.0' encoding='UTF-8'?>
<!-- =========== FULL CONFIGURATION FILE ================================== -->
<faces-config version="1.2"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd">
<application>
<view-handler>
com.sun.facelets.FaceletViewHandler
</view-handler>
</application>
</faces-config>web.xml:
<?xml version="1.0" encoding="UTF-8"?>
<web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
<context-param>
<param-name>com.sun.faces.verifyObjects</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>com.sun.faces.validateXml</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.DEFAULT_SUFFIX</param-name>
<param-value>.xhtml</param-value>
</context-param>
<context-param>
<param-name>facelets.DEVELOPMENT</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<param-name>facelets.SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.jsf</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>
30
</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>forward.jsp</welcome-file>
</welcome-file-list>
</web-app>forward.jsp:
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:forward page="template-client.jsf"/>template-client.xhtml:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:h="http://java.sun.com/jsf/html">
<body>
This text above will not be displayed.
<ui:composition template="/template.xhtml">
This text will not be displayed.
<ui:define name="title">
Facelets
</ui:define>
This text will also not be displayed.
<ui:define name="body">
Hello from the Facelets client template!
</ui:define>
This text will not be displayed.
</ui:composition>
This text below will also not be displayed.
</body>
</html>template.xhtml:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets"
xmlns:ice="http://www.icesoft.com/icefaces/component">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Facelets - Template Example</title>
<link href="#{facesContext.externalContext.requestContextPath}/css/default.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="menu">
<ui:insert name="linemenu">
<ul>
<li><a href="../forward.jsp">Home</a></li>
<li><a href="about.jsf">About Us</a></li>
<li><a href="products.jsf">Products</a></li>
</ul>
</ui:insert>
</div>
<div>
<h1>
<ui:insert name="title">Default Title</ui:insert>
</h1>
<p>
<ui:insert name="body">Default Body</ui:insert>
</p>
</div>
</body>
</html>about.xhtml:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets">
<body>
<ui:composition template="./../template.xhtml">
<ui:define name="title">
title ABOUT
</ui:define>
<ui:define name="body">
body ABOUT
</ui:define>
</ui:composition>
</body>
</html>products.xhtml:
<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets">
<body>
<ui:composition template="./../template.xhtml">
<ui:define name="title">
title PRODUCTS
</ui:define>
<ui:define name="body">
body PRODUCTS
</ui:define>
</ui:composition>
</body>
</html>My folders:
Test3
Web Pages
/WEB-INF
/css
-default.css
/layouts
/portal
-about.xhtml
-products.xhtml
-forward.jsp
-template.xhtml
-template-client.xhtmlPlease, I need help with this. It may is very easy to find out, I maybe skiping something
Thank for your help anyone!!! -
I am using v. 7.1 of Mail under OS X 10.9.1. When I attempt to save an email to my Documents folder I get an error message:
Could not save to path /Users/bob/~/~/~/~/~/~/~/~/~/~/Documents/Payment submitted.rtf. Choose a different path.
Clearly Mail has a bad pathname for the Documents folder. TextEdit documents save properly to Documents. Terminal shows the path to Documents as: /Users/bob/Documents
What is going wrong with Mail?
BobAgreed. I get a completely different wrong path, but only (so far) when I try for Documents. Seems like a bug. Good catch.
Apple - Mac OS X - Feedback -
I have setup the thumbnail pictures for users in Sharepoint 2013. I can browse the library throughy this link
http://myserver/sites/mysite/_layouts/15/start.aspx#/User%20Photos/Forms/Thumbnails.aspx?RootFolder=%2Fsites%2Fmysite%2FUser%20Photos%2FProfile%20Pictures&FolderCTID=0x0120008BF2C6579F4E1947B6C670F4524E2C06&View=%7BDF932ADB%2D33D5%2D4024%2DA88C%2DA4B0253DBE98%7D
but when I open a user page, the picture is not loading. I see from the debugger that is calling the following url which is missing a "/" right after the sites/mysite
http://myserver/sites/mysiteUser%20Photos/Profile%20Pictures/j_doe_LThumb.jpg?t=63560464578
How can I fix this??
CKotsisHi CKotsis,
According to your description, my understanding is that the profile picture showed a wrong path.
Please try to run a full user profile sync, compare the result.
Please modify and run the following PowerShell commands to check if it works:
$site = get-spsite "https://sharepoint"
$context= [Microsoft.office.server.servercontext]::GetContext($site)
$userProfileManager = new-object Microsoft.office.server.userprofiles.userprofilemanager($context)
$profiles = $userProfileManager.GetEnumerator()
foreach ($profile in $profiles)
$Matchurl = "mysitesUser Photos"
if($profile["pictureurl"].value -match $matchurl)
Write-host $profile["AccountName"].value "contains incorrect url"
$CurrentURL = $profile["Pictureurl"].value
$CurrentURL = $CurrentURL.tostring()
$GoodUrl = "mysites/User Photos"
$CorrectUrl = $CurrentURL.replace($matchurl,$goodurl)
$profile["pictureurl"].value = $correcturl
$profile.commit()
Write-host $profile["AccountName"].value "PictureURL has been corrected"
Here is a similar post for your reference:
https://social.technet.microsoft.com/Forums/office/en-US/1fa50226-a495-4d3c-8fd3-da9fdede6a52/wrong-profile-picture-url?forum=sharepointadminprevious
Best Regards,
Wendy
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Path does not chain with any of the trust anchors, but included in cacerts?
I have implemented a CA that has a self-signed certificate:<CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE>
I have a cert from this CA: <CN=realAnonym>
With this cert, I want to make a SSL connection to some server with client authentication.
<CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE> is included in the cacerts-file of the server.
<CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE> (Part of trusted CA's) in my opinion match with <CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE> (second certificate in certificatechain of <CN=realAnonym>).
But it doesn't ???
execute the server with -Djavax.net.debug=ssl,handshake gives:
<CN=GeoTrust Global CA, O=GeoTrust Inc., C=US>
<CN=Entrust.net Certification Authority (2048), OU=(c) 1999 Entrust.net Limited,
OU=www.entrust.net/CPS_2048 incorp. by ref. (limits liab.), O=Entrust.net>
<CN=Equifax Secure Global eBusiness CA-1, O=Equifax Secure Inc., C=US>
<OU=Go Daddy Class 2 Certification Authority, O="The Go Daddy Group, Inc.", C=US
>
<CN=VeriSign Class 1 Public Primary Certification Authority - G3, OU="(c) 1999 V
eriSign, Inc. - For authorized use only", OU=VeriSign Trust Network, O="VeriSign
, Inc.", C=US>
<CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE> (Part of trusted CA's)<OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use only", OU=Class 2 Public Primary Certification Authority - G2, O="VeriSign, Inc.",
C=US>
<OU=VeriSign Trust Network, OU="(c) 1998 VeriSign, Inc. - For authorized use onl
y", OU=Class 1 Public Primary Certification Authority - G2, O="VeriSign, Inc.",
C=US>
*** ServerHelloDone
main, WRITE: TLSv1 Handshake, length = 7383
main, READ: TLSv1 Handshake, length = 3784
*** Certificate chain
chain [0] = [
Version: V3
Subject: CN=realAnonym (client certificate)Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: Sun RSA public key, 1024 bits
modulus: 127355714484211456591612779667470666909980708602501730899657524388577
49850208930275081977822300971032883864332221450883863390126466833031349667099122
38288059447802849568096837640845268449147677304455823253593898716430967402259872
25271396467992796337646786345774935629264123070013042903682567551911526037603651
public exponent: 65537
Validity: [From: Fri Nov 18 00:00:00 CET 2005,
To: Fri Nov 03 12:04:28 CET 2006]
Issuer: C=BE, L=Leuven, O=KUL, OU=JurgenAgten, CN=ps (Clent certificate issuer) SerialNumber: [ 0107a404 7764]
Certificate Extensions: 3
[1]: ObjectId: 2.1.2.3.102 Criticality=false
Extension unknown: DER encoded OCTET string =
0000: 04 02 31 00 ..1.
[2]: ObjectId: 2.1.2.3.101 Criticality=false
Extension unknown: DER encoded OCTET string =
0000: 04 1D 31 1B 30 19 13 02 4C 64 02 02 03 E8 13 06 ..1.0...Ld......
0010: 61 7A 65 72 74 79 13 07 41 72 62 69 74 65 72 azerty..Arbiter
[3]: ObjectId: 2.1.2.3.100 Criticality=false
Extension unknown: DER encoded OCTET string =
0000: 04 82 09 F7 30 82 09 F3 03 82 09 6B 00 AC ED 00 ....0......k....
0010: 05 73 72 00 19 6A 61 76 61 78 2E 63 72 79 70 74 .sr..javax.crypt
0020: 6F 2E 53 65 61 6C 65 64 4F 62 6A 65 63 74 3E 36 o.SealedObject>6
0030: 3D A6 C3 B7 54 70 02 00 04 5B 00 0D 65 6E 63 6F =...Tp...[..enco
0040: 64 65 64 50 61 72 61 6D 73 74 00 02 5B 42 5B 00 dedParamst..[B[. .
09D0: C8 18 22 75 E9 23 56 96 9E 7E 71 C5 7B 6B 95 5B .."u.#V...q..k.[
09E0: DF AB 6D 0A 39 0C E3 74 F1 BA 5A 9C 50 76 0B 3E ..m.9..t..Z.Pv.>
09F0: 13 79 20 2E B5 B1 FC 83 76 97 A2 .y .....v..
Algorithm: [MD5withRSA]
Signature:
0000: 78 DC AF 04 6F D9 F2 54 6A 5D CB 99 4E 45 90 25 x...o..Tj]..NE.%
0010: 8D 4B 24 17 BF BB B9 1D AB 1D 7C EF 3D F5 01 9C .K$.........=...
0020: 49 9C 81 CC 64 0C F4 38 37 F5 BB CF 28 F7 FB 2F I...d..87...(../
0030: 5E 91 21 E3 A1 B0 92 90 F7 DC 92 F6 A8 6C E3 78 ^.!..........l.x
0040: 36 B7 36 B8 05 6B 17 8D C8 CF AF D2 9B F6 89 B2 6.6..k..........
0050: 5B 20 E4 14 0B 98 1C 50 69 FC CC C1 6F 6C F0 EA [ .....Pi...ol..
0060: 63 1E 64 71 BA 41 3D B6 23 7A 72 91 01 B4 B2 23 c.dq.A=.#zr....#
0070: 40 2D 62 48 E0 84 0E FA D7 EF E1 9C F5 92 DF 42 @-bH...........B
chain [1] = [
Version: V1
Subject: CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE (Client certificatechain[1] the CA) Signature Algorithm: MD5withRSA, OID = 1.2.840.113549.1.1.4
Key: Sun RSA public key, 1024 bits
modulus: 117566584630083419996551735329369567910739541932314407531248741596590
25394436071793849489119529408325801928292164157908793562030900052755912331352764
88920380150146179015561996002426862508085279249965768014151302583170908492349232
49673303864165396475282399840755746956422674084689146502252850565325504345529883
public exponent: 65537
Validity: [From: Fri Nov 18 16:31:50 CET 2005,
To: Thu Feb 16 16:31:50 CET 2006]
Issuer: CN=ps, OU=JurgenAgten, O=KUL, L=Leuven, C=BE (is self-signed)SerialNumber: [ 437df3e6]
Algorithm: [MD5withRSA]
Signature:
0000: A5 0B D2 F7 C9 4A BF E5 00 C2 42 50 DF EB 33 A6 .....J....BP..3.
0010: DB 1A 7F C5 38 DE 4A FA 23 09 5C 09 5D 68 73 CD ....8.J.#.\.]hs.
0020: 72 B7 A4 9A 50 30 ED BE 35 28 6D 19 21 77 B6 32 r...P0..5(m.!w.2
0030: FE 83 22 CE EF 7F F4 3E 6E 52 B0 E9 9D 14 EA 48 .."....>nR.....H
0040: A4 0B DC 41 C2 86 D4 48 6A AD 49 46 84 10 FA 69 ...A...Hj.IF...i
0050: 7D C6 81 0C AF BA 88 D5 C1 30 BA 1A 5A E5 D3 24 .........0..Z..$
0060: 0A 3E 15 5A B5 99 A8 B2 32 80 85 D4 72 3F F4 60 .>.Z....2...r?.`
0070: 18 BA 11 3A 91 35 D9 F9 CA D3 C9 AE 2F 3E 39 E1 ...:.5....../>9.
main, SEND TLSv1 ALERT: fatal, description = certificate_unknown
main, WRITE: TLSv1 Alert, length = 2
main, called closeSocket()
main, handling exception: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors
main, IOException in getSession(): javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchorsIt is not even done the first validation part on the client side ( if you have not cut the debugs).
On both, your client and your server, you should add your CA certificate to the trust set. You can first leave the client authentication aside, and do it on the client code to be sure the client authenticates the server's certificate properly; later you can add the same functionality to your server when checking the client certificate. The mechanism provided to deploy this, is either through system property javax.net.ssl.trustStore to introduce your truststore or introcuding your own trustmanager in the codes.
In case, you want to set it dynamically in the program code, you should consider using your extension of X509TrustManager() . Aussuming it be YourTrustManager, you go like this:
//YourTrustManager implements javax.net.ssl.X509TrustManager
SSLContext sslContext = SSLContext.getInstance("SSLv3");
YouTrustManager tm = new YourTrustManager();
TrustManager tms[] = {tm};
sslContext.init(null, tms, null);
HttpsURLConnection.setDefaultSSLSocketFactory(sslContext.getSocketFactory());Further, you might need to change the default hostname verifier on the HttpsConnection before you can establish a successful handshake with the pattern you used for your certificates.
Read http://java.sun.com/j2se/1.5.0/docs/guide/security/jsse/JSSERefGuide.html in case this does not make it clear enough. -
Teststand 3.0 Deployment looking for a file(glang.chm) in a wrong path
Hi, Please help
i just try deploy an installer using TestStand 3.0. it can successfully process the workspace file, But, when the TestStand deployment tool try to build the installer, it keep looking for one of project file(glang.chm) in a wrong path, the error message is following, see the attachment for the screen shot
Error Code:7
Could not process LabVIEW VIs. Fix any broken VIs before rebuilding. LabVIEW error:
C:\MVS 2\data\data\data\glang.chm - source does not exist
+++++++++++++++++++++++++++++++++++++++++++++++++
i understand that it is looking for glang.chm in "C:\MVS 2\data\data\data\", but in my project, glang.chm actually is under "C:\MVS 2\data\". In order to make it works, i need to create the path "C:\MVS 2\data\data\data\" and copy glang.chm into the path.
My question is: How to change the setting in TestStand deployment tool, so that it would look for glang.chm in corrected path"C:\MVS 2\data\", not in "C:\MVS 2\data\data\data\" ?
Attachments:
error message(screen shot).jpg 184 KBWell, David's solution works as expected. It copies the the pristine .lnk file from the startup menu to the desktop.
This .lnk file will start only the operator interface testexec.exe without loading any sequence.
Now I did try a modification. I did create a .lnk file, which loads the sequence file automagically by providing the right commandline arguments to testexec.exe. This .lnk file works on the development system either I start it from desktop or from some normal directory with the explorer.
And now I try to add that .lnk file to the deployed files like all other deployed files by adding it to some project in the workspace, which is configured to be used in the deployment wizard. That doesn't work.
If there is a 2kb "MySequence.lnk" in t
he development tree,you will also find a "MySequence.lnk" in the Image tree at the expected position. But this is 1396 kb big, which is just the size of testexec.exe ( Labwindows/CVI version) where the .lnk file did point to. And the properties (commandline) of that .lnk file became empty.
Other "normal" files in the same directory, which are also included in the deployment, are copied without any coruption into the Image tree into the same directory as the corupted .lnk file.
The installer will install the corupted .lnk file to the desired position without problems. And copying it with post.bat to the desktop is also no problem. -
Hello,
I'm not sure if this is a JDeveloper question or Enterprise Manager question, but I am having a problem with the deployment of a JSP application that contains BC4J components. The way I am deploying is I create a .WAR file through JDeveloper, then I use Enterprise manager to deploy that WAR file. I am able to navigate to the pages that do not contain business components, but as soon as I goto a page with a business component, DataHandler for example, I get a file not found exception. When I look at the stack trace I see that it is looking in the wrong directory for the DataHandlerComponent.jsp file. Say for instance my file resides in "$ORACLE_HOME/application/jsp" on the server and specify "/jspApp" as the URL to map my application to when deploying via enterprise manager. When I hit the page with the DataHandler component (or any other BC4J component for that matter), I get a file not found exception and it is looking at "$ORACLE_HOME/application/jsp/jspApp/DataHandlerComponent.jsp" and that is not where the file resides...it is with all the other JSP files. It appends the path I specified on deployment to where I look for any of the BC4J components. Do I have a setting wrong in JDeveloper or Enterprise manager? Any insight is much appreciated.
Thanks,
Dusty GronsoTry not specifying an additional path. The component tags also have an attribute that lets you specify the location of the JSP file that implements the component output. You can try overriding the location within your JSP page.
-
Wrong path in address server?
Hi,
i have a DS3 installation in "E:\BO\Data Services". If I start a Batch Job which uses a Germany Address Cleanse transform I get an error that the file "C:/Programme/Business Objects/BusinessObjects Data Services/DataQuality\reference_data\ga_country.dir" cannot be found. (yes, the path HAS "/" and "\"...!) Where did DS/AddressServer get the path information?
My first thought was that the AddressServerConfig.txt is wrong. It seems to be okay because it has relative paths:
REFERENCE_DATA_DIRECTORY = ../../DataQuality/reference_data
GAC_DATA_DIRECTORY = ../../DataQuality/gac
Thanks for your help. Best regards,
TimoYou should take a look at substitution parameter settings of your Data Services.
Tools --> Substitution Parameter Configurations ... --> $$RefFilesAddressCleanse:
Default value is here: "C:/Program Files/Business Objects/BusinessObjects Data Services/DataQuality/reference_data"
If you installed your Data Services into a different directory, you should take care that the Substitution Parameter are adjusted correctly.
This should not apply to the paths in the AddressServerConfig.txt as they are relative.
Niels -
Hello,
i try to call a application in a war (which is in an ear); but the path the server take is the wrong one. he always take:
D:\usr\sap\P64\JC00\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root\...
Can i change this?
Thanks,
FrankHi Frank,
How did you call the application in a war?
Regards,
Violeta -
Wrong path´s in Classic mode after update!
Hello
We seem to have a quite odd problem after we updated our OSX Server to 10.4.8. so I´ll shortly summarize what the problem is...
The server has several sharepoints with e.g. logos, Quark documents etc.
We use an old QuarkXPress 3.32 in a Classic 9.2 environment, which worked fine untill after the update.
But now, when I e.g. have an A4 QuarkXPress document where I make an "add" with several pictures loaded from several different shares (e.g. Pictures-, Logos- and so on server), which works just fine, save the document on the server and then move to another mac and open the document the file-path´s of the diffenrent pictures are all wrong (e.g. if picture1.jpg is on the pictures-server the path could be Logos/picture1.jpg). Funny thing is, when I go to yet another mac the path could be completely different again, it´s totally random?!?
Also the status of the picture in QuarkXPress can be "OK" even though I know it isn´t
Does my OSX 10.4.8 server not talk properly with my classic (seems weird because I log on just fine, load pictrues fine but then the path is wrong)?
Are my shares configured wrong (also seems weird because it worked just fine before)?
I really don´t know what to do here, so I though maybe someone on here had experienced a similar problem.
I would appreciate any idea that could help fixing the problem
Kind regards
MarcIf you do enough research, you will find that it has happened with every iOS update going back as far as iOS 5 and probably even earlier. I cannot explain why it happens. And this type of thing does not just happen with with iOS devices and iOS updates. Any software downloaded from the internet can go bad and cause problems. I'm not that well versed enough to explain the technicalities of it, but I know that it happens. An interruption in the download, anti virus software, etc., can cause problems when you download and install software.
The only thing that I can tell you for sure, is that you have to restore the device now. There is no hope to getting working otherwise. FWIW, I NEVER update without backing up first, and I don't go more than two or three days without backing up period. I also archive backups in iTunes so I have a dozen or so backups at my disposal at any given time.
Maybe you are looking for
-
Bug or User Error - Virtual Copy
All, I'm still on 1.3.1 (still too much dust flying on 1.4.1), Mac OS X 10.4. The situation is as follows: Took a standard RAW image file from Canon 40D. 1. Made a virtual copy of the original, crop aspect set to 8x10, made adjustments, etc. includin
-
I have adobe 9 pro. I am currently adding fields to a document and would like my date field to display the current date when the document is opened so that the user does not have to enter the date each time. How do I do that?
-
I am trying to export a panoramic photo file in PSE 12. but EXPORT under file is grayed out, how do i get rid of it being grayed out?
-
Missing points from an on-line purchase
I placed an order online back on April 4th and was picked-up on 04/23. The transaction shows up under my points and purchases, but shows zero points under the Total Points Earned with this transaction. How do I get this resolved?
-
I have through eprint to print out Chinese character on the Tiltle and content, but the print out was dispalyed some of unexpected symbols. And after I logon to eprint website, the Chinese character title can be display correctly, Could you help me t