JNLP extension problem
Hi,
I have developed application which execute using java web start.
I work fine on Client JRE 1.6, but gives following exception Clinet JRE 1.5
Exception in thread "javawsApplicationMain" java.lang.NoClassDefFoundError: com/vistaar/framework/exceptions/UserException
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
at java.lang.Class.getMethod0(Unknown Source)
at java.lang.Class.getMethod(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Also,
I have used "extension" tag in jnlp file.
When i remove extension tag and keep only "jar" tag, in that case it works fine for Client JRE 1.5
as well,
so the problem is something with Client JRE 1.5 & JNLP extension tag.
does any one have idea, about such problems?
following is my jnlp file (with extension tag)
<jnlp spec="1.0+" codebase="http://10.65.18.20/Vistaar/">
<information>
<title>Suraj Hajare</title>
<vendor>Suraj Hajare.</vendor>
<homepage href="http://10.65.18.20/Vistaar/null"/>
<description>Suraj Hajare</description>
</information>
<security>
<all-permissions/>
</security>
<update check="timeout" policy="always"/>
<resources>
<java initial-heap-size="67108864" max-heap-size="134217728" href="http://java.sun.com/products/autodl/j2se" version="1.5+"/>
<jar href="http://10.65.18.20/Vistaar/view/html/archive/view.jar" download="eager" main="false"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/excel.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/images.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/izmcomjni.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/jfrm_UI.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/plugin.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/log4j-1.2.13.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/izmcom.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
<extension href="http://10.65.18.20/Vistaar/jnlp/JnlpExtension.jsp?jarfilename=view/html/archive/excel_extn.jar&codebase=http://10.65.18.20/Vistaar&title=VistaarMainApplet&vendor=Vistaar&permissions=all-permissions"/>
</resources>
<application-desc main-class="com.vistaar.clemenza.ui.framework.workspace.StandaloneExcelApplet">
<argument>dimbarChoice=Icon</argument>
<argument>excelFile=Book2</argument>
<argument>codeBase=http://10.65.18.20/Vistaar</argument>
<argument>serverVistaarCabVersion=3,6,6,10000</argument>
</application-desc>
</jnlp>
First of all, you have no href in your jnlp element.
Are you absolutely sure there's nothing wrong with JnlpExtension.jsp?
Other guesses (anyhow related) are:
1) It may be something about name length (too long, parameters are part of the url)
2) The jsp is setting a different href URL within (parameters are part of the url, once again) and this can often result in some kind of trouble
I'd suggest validating your jnlp with janela (sw by AndrewThompson64). Download it and have it run in your network so that it can actually download every resource and make a deeper analisys.
Bye.
Similar Messages
-
It seems like exception occurs due to WLS console extension problem. I
captured the errors and attaching it here.
The application is working fine on WLS 8.1, the exception occurs only when i deploy
the application on WLS 7.0. The application components are extending administration
console and displaying there. During this time, it is trying to invoke servlet(ServletStupImpl)
and failing over there.
Please check the attached file and reply me ASAP.
Regards
Senthil
[Console Extension error.txt]What is the the platform the server is running on, and what browser you are using when the problem occurs?
Are there any exceptions in the Java console for the applet? -
Facelets and jsf-extensions problem.
I'm fairly certain I've run into a problem between facelets and jsf-extensions. I'm working with JSF 1.2 RI, Woodstock, Facelets 1.1.13, on Tomcat 6.
When trying to get Woodstock autoValidation to work I get a javascript error the "I has no properties". The error occurs in the com_sun_faces_ajax.js file in the jsf-extensions-dynamic-faces-0.1.jar (I've used both the RC4 and a build today ,10/18/07 from source with the same results). Here is the code snippet where it happens (with my comment).
var I = G.getElementsByTagName("components")[0];
var C = I.getElementsByTagName("render");
for(var F = 0; F < C.length; F++) {
In the second line there it looks like the variable I is null, but based on the post response below I don't know why.
The response from the post looks like this:
<partial-response><components><render id="PayableForm:vendorGci"><markup><![CDATA[{"valid":true,"id":"PayableForm:vendorGci"}]]></markup></render></components>
However the server side code (validation method) never gets executed. I'm willing to do some digging and debug work, but I'd need to be pointed in the right direction.
The following is more potentially useful code snippets.
Here is the textField code:
<w:form id="PayableForm">
<w:textField style="display:none;" />
<w:message for="vendorGci" />
<w:label id="vendorGciLabel" for="vendorGci" text="Vendor: " />
<w:textField id="vendorGci" autoValidate="true"
text="${vendorBean.searchGci}" maxlength="8" required="true"
validatorExpression="#{ vendorBean.validateVendor}" />
Here is the javascript in the page (the init function is called from the body: onLoad="setTimeout('init();', 0);" , this does happen):
<w:script type="text/javascript">
function VendorListener(){
function VendorNotify(props){
alert("VendorNotify called!"); <--------------- I never see this alert message
if ( props.id != "PayableForm:vendorGci") { return; }
var field = document.getElementById("PayableForm:vendorGciLabel");
field.setProps({
valid: props.valid
VendorListener.prototype.notify = VendorNotify;
function initAccountRows(){
var table = document.getElementById("PayableForm:vendorAccountTable");
table.initAllRows();
function init(){
initAccountRows();
var listener = new VendorListener();
dojo.subscribe(
webui.suntheme.widget.textField.event.validation.endTopic ,
listener, listener.notify);
Here is the validator method. It currently doesn't do anything, just trying to get something to work. I never see the output, and I never hit the breakpoint in the method.
public void validateVendor(FacesContext context, UIComponent comp, Object value){
System.out.println("**********************************");
System.out.println("validateVendor called");
System.out.println(value);
System.out.println("**********************************");
}Actually I don't need a global variable. I need to refer in my included template the actual backing bean used in the current page. As all my backing bean extends a abstract class I could bind my component to a property of the current backing bean, no matters which one. Just like a polymorphic call but without the parameter. Let's imagine I could get this object of the facesContext object I would be able to do:
<rich:datascroller renderIfSinglePage="false" align="right" for="listagem" maxPages="12" fastStep="10"
pageIndexVar="pageIndex" pagesVar="pages" stepControls="show" fastControls="hide" boundaryControls="show"
inactiveStyleClass="paginacaoInativa" selectedStyleClass="paginacaoSelecionada"
styleClass="paginacao" tableStyleClass="paginacaoTabela"
binding="#{facesContext.currentBackingbean.formDataScroller}" id="paginacao">
Instead of pass the backing bean to the ui:param of this template... Dou you get the point? -
JAX RPC extension: Problem with document/literal and MyType[]
Hi,
I have installed the JAX RPC extension and want to generate a stub from my WSDL file. The WSDL describes a document/literal binding.
Problem:
A webservice server method like:
public wineshop.model.common.SimpleProducer[] getSimpleProducerList() throws RemoteException;
is translated into a stub method like:
public UnknownType getSimpleProducerList() throws Exception {..}
Is an array of own types with the binding style "document/literal" not supported in JAX RPC 1.4 or is it just a bug?
The WSDL file is generated by JAX RPC 1.4.
I have installed JWSDP-1.5 and generated a stub with wscompile from the WSDL file. The generated stub has the correct method return type:
public wineshop.ws.client.SimpleProducer[] getSimpleProducerList()
throws java.rmi.RemoteException
It there a workaround like replacing some JDev JARs with JWSDP-1.5 to solve the problem?
Any hints are welcome.
Thanks Markusrepost.....
-
ACE20 and TLSv1.0 extensions problem
Hi,
I have a problem with an ACE20 running software version A2(2.3) [build 3.0(0)A2(2.3)].
We have a simple load-balancing arrangement for two Apache webservers. All we do is pass HTTP and HTTPS traffic through to one of two servers. we don't do SSL termination or initiation on the ACE - just passthrough.
We now have a requirement to support connections that only use TLSv1.0 with no fallback to SSLv3. If I use IE8 the connection works. If I use IE9 or FF19 then the connection fails. I've traced this to the use of TLS extensions in the ClientHello packet - which came after the TLSv1.0 RFC. IE8 doesn't send extensions whereas the other browsers do. I can replicate the problem with the OpenSSL s_client application. What surprises me is that the ACE checks the structure of the TLS negotiation even though I'm not asking it to make decisions about it. I can see why this would be done as a security feature if the ACE implemented a strict RFC2246-compliant server - the extensions having bee added post-RFC.
Is there any way to tell the ACE to forward SSL packets and not worry too much about the contents? I've checked all the Release notes and can't find any relevant caveats.
Thank you
CathyHi Ajay,
Disabling normalization made no difference. I thought it might help, but I think it only looks at the gross structure of the packets and doesn't worry about RFC2246 compliance.
The relevant parts of the configuration are shown below:
rserver host web-web1
ip address a.b.c.d
inservice
rserver host web-web2
ip address a.b.c.e
inservice
serverfarm host FARM-web2
rserver web-web1
inservice
rserver web-web2
inservice
sticky ip-netmask 255.255.255.255 address source FARM-web2-Sticky
timeout 99
replicate sticky
serverfarm FARM-web2 backup FARM-sorry
class-map match-any L4VIPCLASS
2 match virtual-address x.y.z.t tcp eq www
3 match virtual-address x.y.z.t tcp eq https
6 match virtual-address x.y.z.t tcp eq 81
policy-map type loadbalance first-match LB-POLICY
class class-default
sticky-serverfarm FARM-web2-Sticky
policy-map multi-match L4POLICY
class L4VIPCLASS
loadbalance vip inservice
loadbalance policy LB-POLICY
loadbalance vip icmp-reply active
loadbalance vip advertise
service-policy input L4POLICY
As you see, the configuration is about as simple as it can be.
Kind Regards
Cathy -
Hi there,In WLS 6.0 i am encountering a problem in using a JSP expression as a value to a custom tag's attribute. I've specified RTEXPRAL to be TRUE in the TLD. But still the tag is not being evaluated at all. But if i repalce the JSP expression with a hard coded value then everything seems to work perfectly fine. Is it that i have to enclose the JSP expression within double or single quotes?
<%@ taglib uri="lib/esjsp.jar" prefix="es" %>
<%@ taglib uri="pz.tld" prefix="pz" %>
<%@ taglib uri="cm.tld" prefix="cm" %>The .tld files are the Tag Library Descriptors for JSP 1.1 tags. The .jar file
is for a "pre-JSP1.1" Weblogic proprietary tag library extension. Weblogic
Server looks for the older taglib jar files under the lib directory that is
relative to the directory where the weblogic.properties file is located. If you
start your Weblogic Commerce Server from a directory other than your default
directory, then copy the following jar files to a lib directory under that new
directory:
esportal.jar
pt_admin.jar
esjsp.jar
um_tags.jar
wljsp.jar
This will be fixed in a future release.
Ture Hoefner
BEA Systems, Inc.
1655 Walnut Street; suite 200
Boulder, CO 80302
www.beasys.com -
AM extension:Problem in Lov.
Hi Experts,
I did an extension for the Main AM of the page..After get extended except Lov's Everthing is working fine.
Please let me know whats the problem for lov's after extend the AM.
is there any solution to resolve this.
Thanks
Bharat HegdeBharat,
If you have done the .jpx import you have to remove the VO substitution
Can be done in two ways,
1) replace the VO path with your VO
begin
jdr_utils.listCustomizations('/oracle/apps/eam/requests/server/RequestResultsVO');
end;
begin
jdr_utils.printDocument('the above qry output');
end;
Which will display your substitution VO details,this is to confirm
begin
jdr_utils.deleteDocument('<enter your VO with customization path, make sure you are not enteriing the standard VO>');
end;
do a commit;
After you run the delete script , Run the above listcustomization script to confirm ur subs is deleted.
2) And you can try via
Functionalional Administrator(responsibility) -> Personalization->Import/Export -> Personalization Repository
Query for the Document Path /oracle/apps/eam/requests/server/
You should see ur custom ,delete from there.
Thanks.
With Regards,
Kali.
OSSi. -
Create pdf chrome extension problems
My os is Win 8.1
My product is Acrobat XI with all current updates as of 11-25-2013
I use the lastest version of Chrome browser
I have used the pdf extension on the browser at least 7 times.
1st time nothing happened
2nd time it worked perfectly
3rd through 6th time it did nothing what soever.
I went into Chrome and looked at the settings. It was enabled.
I rebooted my computer and tried a 7th time which resulted in nothing happening.
I openned Chrome and deleted this extension thinking I would browse Chrome extensions and re install.
I was not able to find this extension and started reading in the Acrobat forums.
I did as suggested and closed Chrome and open Acrobat and click repair.
This resulted in no change what so ever. I have also noticed that the disscussions I read the folks with
this same issue have not been able to resolve the problem.
I believe in Acrobat and enjoy the use of it. This chrome browser extension function was great the one time it worked for me.
I am open for help....now that I can't even make the extension show up on my brower again.
Thanks,
JerryHi Jerry,
Would you mind emailing me directly with your info? [email protected]
Kindest regards, Stacy -
Administration Console Extension problem with 8.1.5 upgrade
I have a module of code that is an extension of the Administration Console. When I deploy the .ear file, I can see a yellow folder/node displayed in the Weblogic (8.1.3) console.
This has been working for a couple of years until we recently upgraded to Weblogic 8.1.5 server. Even though the server log says that .ear file has been deployed successfully, the yellow folder/node does not appear in the Weblogic console.
Any one know what may caused this problem?
Thank you!From $ORACLE_HOME/bin enter the
following:
$ORACLE_HOME/bin/oerr ORA 01034 This will give you more info on your
problem. -
JWSDP and complex type extension problem
Hy,
We got a problem with JAX-RPC reference implementation. It seems it doesn't support inheritance beetween complex types as web services parameters or return value. A Parse exception happens when client code deserializes base class members. Does anyone know about this problem ? We don't have it with Apache Axis implementation (on client side). In our case, server code always runs in C++ with gSOAP.
And the stacktrace :
deserialization error: unexpected XML reader state. expected: END but found: START: longitude
Here our wsdl file :
<?xml version="1.0" encoding="UTF-8"?>
<definitions name="Service"
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:SOAP="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:WSDL="http://schemas.xmlsoap.org/wsdl/"
targetNamespace="urn:ass"
xmlns:tns="urn:ass"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:WAT="urn:ass/WAT.xsd"
xmlns:ifg="urn:ass">
<types>
<schema
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="urn:ass/WAT.xsd"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:WAT="urn:ass/WAT.xsd"
xmlns:ifg="urn:ass">
<complexType name="Date">
<sequence>
<element name="time" type="xsd:long" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="DateStruct">
<all>
<element name="inst" type="WAT:Date" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="IcaoCode">
<sequence>
<element name="s" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="isAlphaNum" type="xsd:boolean" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="IcaoCodeStruct">
<all>
<element name="inst" type="WAT:IcaoCode" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="Ident">
<sequence>
<element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="Name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
<element name="Text" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="IdentStruct">
<all>
<element name="inst" type="WAT:Ident" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="Latitude">
<sequence>
<element name="s" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="LatitudeStruct">
<all>
<element name="inst" type="WAT:Latitude" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="Longitude">
<sequence>
<element name="s" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="LongitudeStruct">
<all>
<element name="inst" type="WAT:Longitude" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="Notam">
<sequence>
<element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="Text" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="NotamStruct">
<all>
<element name="inst" type="WAT:Notam" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="Pib">
<sequence>
<element name="Id" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="Name" type="xsd:string" minOccurs="1" maxOccurs="1" nillable="true"/>
</sequence>
</complexType>
<complexType name="PibStruct">
<all>
<element name="inst" type="WAT:Pib" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="AirField">
<sequence>
<element name="longitude" type="WAT:Longitude" minOccurs="1" maxOccurs="1"/>
<element name="latitude" type="WAT:Latitude" minOccurs="1" maxOccurs="1"/>
<element name="codeICAO" type="WAT:IcaoCode" minOccurs="1" maxOccurs="1"/>
</sequence>
</complexType>
<complexType name="AirFieldStruct">
<all>
<element name="inst" type="WAT:AirField" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
<complexType name="SunTime">
<complexContent>
<extension base="WAT:AirField">
<sequence>
<element name="sunriseTime" type="WAT:Date" minOccurs="1" maxOccurs="1"/>
<element name="sunsetTime" type="WAT:Date" minOccurs="1" maxOccurs="1"/>
<element name="heuresCalculees" type="xsd:int" minOccurs="1" maxOccurs="1"/>
<element name="heuresExistent" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</sequence>
</extension>
</complexContent>
</complexType>
<complexType name="SunTimeStruct">
<all>
<element name="inst" type="WAT:SunTime" minOccurs="1" maxOccurs="1"/>
<element name="coderet" type="xsd:int" minOccurs="1" maxOccurs="1"/>
</all>
</complexType>
</schema>
</types>
<message name="getSuntimeRequest">
<part name="req" type="xsd:string"/>
</message>
<message name="SunTimeStruct">
<part name="inst" type="WAT:SunTime"/>
<part name="coderet" type="xsd:int"/>
</message>
<portType name="ServicePortType">
<operation name="getSuntime">
<documentation>Service definition of function ifg__getSuntime</documentation>
<input message="tns:getSuntimeRequest"/>
<output message="tns:SunTimeStruct"/>
</operation>
</portType>
<binding name="ServiceBinding" type="tns:ServicePortType">
<SOAP:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
<operation name="getSuntime">
<SOAP:operation soapAction=""/>
<input>
<SOAP:body use="encoded" namespace="urn:ass" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</input>
<output>
<SOAP:body use="encoded" namespace="urn:ass" encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"/>
</output>
</operation>
</binding>
<service name="Service">
<documentation>gSOAP 2.1.10c generated service definition</documentation>
<port name="ServicePort" binding="tns:ServiceBinding">
<SOAP:address location="http://location/Service.cgi"/>
</port>
</service>
</definitions>Try using the -f:searchschema feature of wscompile when generating the client stubs from your WSDL file.
-
JDeveloper Extension Problem with Navigator Elements
Hi,
I have a problem with the elements of the JDev Navigator.
At IDE startup I want to set an overlay for the elements on the active project.
This function is implemented in the Subversion Extension too.
How can I access the elements of an active project in the navigator?
It is not a problem to set an overlay with the ContextMenuListener.
Thank you for your help.
Greetings,
Benjamin OelenbergPlease take a look at the Extension SDK sample projects. There is a sample that does exactly this.
Install the Extension SDK from the Help --> Check for Updates dialog and after restart, say yes to installing the sample projects. -
Hello all
im little newbie in develop Adobe Air Application,
i downloaded Dreamweaver CS3 trial and Adobe Air Extension
for dreamweaver
i install all with success
now, i try to use the Air Application Setting with a sample,
but i can't access the configuration panel, always i have this
message :
Title of the msg box :
"Adobe Air Extension for Dreamweaver"
Message :
"Java Runtime Environnment (JRE) version 1.4 or higher is
required in order to create the AIR file. Please install it and run
the command again."
the problem, i already have installed the JRE (i use actually
the 1.6.0_07), i try a lot of things (like, re-install jre,
dreamweaver, air extension, download again, re-install).. but
cannot use the Air setting..
config :
windows xp sp2
P4 3.2 Ghz
4 Go ram
Someone have an idea about this problem ?
thanks in advance
best regardshello,
nobody can help ?
in addition to the problem, i look around the dreamweaver
config
i find the error msg come from the file "AIRSettings.js",
it's appear the var jreversionObj cannot retrieve the good version
of jre who is installed on my os ..
i do not understand why .. so i comment the line who check
this.. and at last, i can acceed to the AIR panel settings in
dreamweaver CS3,
but now, when i try to compile my Air app.. i have the msg
where i have to make a certificat,
i try it, but have an error msg say "Error creating the
digital certificate file. An error log was created"
and in the AIR error log file : i have some unknow caracters
in file like "Y" with 2 point on it..
any advice to solve this ?
thanks in advance (and sorry for my english :o) -
I need to deploy a JavaFX Applet on a Mac running 1.6.0_33. But so far, I've been unable to do this successfully. Here's what I've tried:
1. I generated a JNLP file and using the generated html page, tried to view the applet. Unfortunately, the dtjava script indicated that I didn't have the correct setup. I was hoping that it would simply download the jfxrt.jar with the appropriate native libraries from Oracle's site, but that didn't happen.
2. I modified the JNLP to serve up an application instead of an applet, and tried accessing the JNLP directly instead of through the web page.
2. I tried serving up the jfxrt.jar and the native libraries separately using an os-specific resources tag in jnlp -- one jar for the native libs, and keep the original jfxrt.jar (that didn't work -- "java.lang.UnsatisfiedLinkError. Unable to load NativeLibLoader")
3. I tried updating jfxrt.jar with the native libraries (that didn't work -- same error message).
4. I tried copying the new jfxrt.jar file into *$JAVA_HOME/lib* (and not serving the jar file), but it couldn't find javafx.application.Application
5. I tried changing the extended file attributes (there's an attribute com.apple.quarantined) that's associated with the files and I thought that this might be preventing the jfxrt.jar from being accessed. But that didn't work either -- same error.
6. I've tried adding a javafx.runtime.path property to the j2se entry in the JNLP -- same error.
So my question is, how did people deploy JavaFX apps via webstart before Java 7 when the JRE did not include the the javafx runtime jars and libraries? Is there some other location that I should place the jfxrt.jar?In answer to your earlier comment about letting you know how well switching from applet to application works.
The application "launches" but doesn't startup. The application name appears next to the Apple menu, and it looks like it's trying to startup, but doesn't get any further. The thread dump shows that its executing the call to the Application.launch() method and then sits there.
at sun.misc.Unsafe.park(Native Method)
- parking to wait for <7f3711c38> (a java.util.concurrent.CountDownLatch$Sync)
at java.util.concurrent.locks.LockSupport.park(LockSupport.java:156)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.parkAndCheckInterrupt(AbstractQueuedSynchronizer.java:811)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.doAcquireSharedInterruptibly(AbstractQueuedSynchronizer.java:969)
at java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireSharedInterruptibly(AbstractQueuedSynchronizer.java:1281)
at java.util.concurrent.CountDownLatch.await(CountDownLatch.java:207)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:134)
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:75)
at javafx.application.Application.launch(Application.java:209)I'm using maven to build the jar and apparently there's some undocumented "magic" that goes on if you use the javafxpackager. I noticed that a com.javafx.main.Main class is inserted into the jar if I use the packager, and some additional attributes are added to the jar. It might be good at some point to document some of the magic. Especially the stuff that dtjava.js does to the jfx:? tags in order to turn the jnlp into something that is launchable.
What's odd is that I can run the application from Eclipse without any problem. -
Hello there everyone... My company is equipped with mac's an pc's and a pc server using windows 2000 server. The server 'died' and we bought a new one with windows sbs 2008, our files that were created by our mac computers were stored on the old server so we copied them back to the new one. The problem is that now when we try to access them some files that don't have extensions we can not open them as we don't know what they are, i.e in the same folder I had files that were tiff,jpeg,quark,pdf when I try to access them there are no extensions so I don't know with what program to open each file. These files are grey or black and are reffered to as Unix Executable File. Is there a way to get the mac systems to re-read the files correctly??? Our mac os is 10.4 and 10.5 and our server uses Windows SBS 2008!
I'd be worried about these files. You may have lost metadata as BD suggests.
Maybe your server administrator should look at copying mac file data or how to turn on the serving of Mac files. ( I'd guess it was an option in windows 2000. )
Can't you take a guess from the name what the application would have been?
Start the appropriate application & use file > open.
There is also the Terminal file command which will look inside a file & take a best guess at the contents of the file. Many files have an identifier in the first four characters of the file telling what type of data the file contains.
Macintosh-HD -> Applications -> Utilities -> Terminal
mac $ file /Users/mac/Desktop/ciruit.rtf
/Users/mac/Desktop/ciruit.rtf: Rich Text Format data, version 1, Apple Macintosh
mac $ file /Users/mac/Desktop/Lunch\ picture.JPG
/Users/mac/Desktop/Lunch picture.JPG: JPEG image data, EXIF standard
mac $
what you do is type file followed by a space. No need to type out the file path &name. Drop the file you wish to identify onto the terminal window. Press return after the drop.
you can also list the entire contents of a folder by the command:
file *
What you would do in this case is to use the cd command to move to the folder you want:
cd
then drag the folder you want to see & drop it on the terminal window. Press return after the drop.
Here is an overview of the terminal commands. Lets assume that your account has a short user name of mac.
Macintosh-HD -> Applications -> Utilities -> Terminal
#How to list all of your disks.
# The ls command is for list
mac $ ls /Volumes/
Audio CD Macintosh-HD Spotless Tiger-ext
mac $
# Let's say your flash drive is named Spotless
# cd is change directory
mac $ cd /Volumes/Spotless
# pwd is print working directory
mac $ pwd
/Volumes/Spotless
mac $
# The ls command is for list
# l is long
# F is type of file where / is directory
mac $ ls -lF
total 134704
-rw-r--r-- 1 mac staff 64560 Mar 3 2009 A-picture-of-Youpi-key.png
drwxr-xr-x 83 mac staff 2822 Nov 7 14:52 Applescript files/
drwxrwxrwx 12 mac staff 408 Dec 13 2008 Christmas Cards/
drwxr-xr-x 9 mac staff 306 Dec 21 17:39 Christmas Cards 2009/
... trimmed ...
What does all this mean?
drwxrwxrwx
d = directory
r = read
w = write
x = executeable program
drwxrwxrwx
| | |
| | all other users not in first two types
| |
| group
|
owner
# l is long
# a is all to show hidden files & folders
mac $ ls -lFa
total 134736
drwxr-xr-x 41 mac staff 1496 Dec 22 17:11 .
drwxrwxrwt 8 root admin 272 Dec 24 13:55 ..
-rwxrwxrwx 1 mac staff 15364 Dec 23 12:52 .DS_Store*
drwx------ 4 mac staff 136 Jan 22 2009 .Spotlight-V100
drwxrwxrwt 5 mac staff 170 Sep 14 16:36 .TemporaryItems
d-wx-wx-wx 4 mac staff 136 Dec 31 1969 .Trashes
-rw-r--r-- 1 mac staff 64560 Mar 3 2009 A-picture-of-Youpi-key.png
drwxr-xr-x 83 mac staff 2822 Nov 7 14:52 Applescript files
drwxrwxrwx 12 mac staff 408 Dec 13 2008 Christmas Cards
drwxr-xr-x 9 mac staff 306 Dec 21 17:39 Christmas Cards 2009
... trimmed ...
# mv is move or rename
mv -i the-name the-new-name
# You can just rename the file back to what it was with mv command.
mv -i old-name new-name
Here is what these commands mean:
cd is change directory
pwd is a print working directory
ls is list
sudo is Super user do
mv is move or rename
For cryptic comments, you can always uses the manual command which is man. For example:
man mv
# Type the letter q to quit.
I noticed that you had spaces in your filenames or directories. You need to escape them. See examples:
mac $ ls -l ~/"see it"
-rw-r--r-- 1 mac staff 3171 Oct 26 23:38 /Users/mac/see it
mac $
mac $ cd /Users/mac/Desktop/ttt\ html\ copy/
Do you know about tabing? Type in a few letters of a name then press the tab key. The computer will type out the rest of the name if it is unique.
Robert -
Damaged files or extension problem
When I copie my files, which I create at home, on the server at my work location (I am using a Maxtor external HD). And I'm opening these files, a lot of the images are being damaged. Mostly -eps and -tif files.
However when I go home and open them again, there's no problem.
The systems and software at home and at the work location are the same. Except for the fact that I don't have a 'server' or network at home. (the server has a windows-platform)
Maybe someone can help me solve the problem?Hi, how do you mean "damaged"? Are the files not all there (a comparison of the size on your hd vs. the file on the server will tell you)? Are the files' extensions being lost? (In the latter case, the file is all there, but the name is altered). Is it something else entirely?
Best,
~FifthWheel
Maybe you are looking for
-
My MacBook keeps shutting down
I bought my MacBook in August so it is very new. Recently it has started to shut down after about 5-10 minutes of use. I read on the main page about an update but it is for older operating systems and tells me that my computer doesn't need the update
-
Quick Time video import problem (MXPro, not 8)
I first posted this a few days ago, the help I received has not been too useful, though, so I'm trying again. I've got a flash file (.fla) whose purpose is to create a playable movie slide to be used in another flash presentation. It is a template, a
-
Changing wifi router on existing
I have a 3tb time capsule. I've had to change my wifi router and can now not get control of the time capsule. The airport utility does not recognise it and the time capsule has an orange flashing light on the front. How to I get the time capsule to
-
Itunes improvement suggestions.
Does anyone have any idea how to link together certain songs. Many albums have songs that were made to play consecutively. This makes shuffling songs very annoying when they play out of order. It seems to me that Itunes should have a way to link them
-
Slideshow text for individual slides in LR 4.4
Is it possible to place text in individual slides in LR 4.4? If so, how? Currently have only been able to have text apply to all slides.