To run webutil application with jre
Hi All,
I have successfully configure webutil on both DS and AS. In my application server when i try to run my form only the project name [webutil] runs with jinitiator but with the others with different name which include jre not working the webutil part in the formweb.cfg file. I used the [webutil] configuration as follows-
[webutil]
workingDirectory=/home/oracle/support/aiblss_forms
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=server
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
baseHTMLjinitiator=basejpi.htm
baseHTMLjinitiator=webutiljini.htm
baseHTML=webutilbase.htm
baseHTMLjpi=webutiljpi.htm
#archive_jini=frmall_jinit.jar
lookAndFeel=oracle
form=LOGON_FORM.fmx
width=100%
height=100%
jpi_download_page=https://java.sun.com/products/archive/j2se/1.4.2_09/index.html
jpi_classid=clsid:8AD9C840-044E-11D1-B3E9-00805F499D93what i need to change or add to run my application with jre and webutil?
Regards
Arif
Hi,
I have used the following conf in formsweb.cfg file but not works properly. I m getting the error of loading webutil settings.
[sunwebutil]
IE=native
baseHTMLJInitiator=webutiljpi.htm
baseHTMLjpi=webutiljpi.htm
jpi_classid=clsid:CAFEEFAC-0016-0000-FFFF-ABCDEFFEDCBA
jpi_codebase=http://57.200.1.63:52003/forms/jinitiator/jre16016.exe#Version=1,6,0,16
jpi_mimetype=application/x-java-applet;version=1.6
jpi_download_page=/forms/jinitiator/us/jinit_download.htm
#jpi_download_page=https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProduct
#Detail-Start?ProductRef=jre-1.5.0_06-oth-JPR@CDS-CDS_Developer
# Webutil:
WebUtilArchive=frmwebutil.jar,jacob.jar
WebUtilLogging=off
WebUtilLoggingDetail=normal
WebUtilErrorMode=Alert
WebUtilDispatchMonitorInterval=5
WebUtilTrustInternal=true
WebUtilMaxTransferSize=16384
# archive including rich text editor
archive=frmall.jar,hst65.jar,HTMLEditorLight.jar
# application-specific
#workingDirectory=/home/oracle/support/aiblss_forms
#otherparams=buffer_records=%buffer% debug_messages=%debug_messages% array=%array% query_only=%query_only% quiet=%q
#uiet% render=%render% record=%record% tracegroup=%tracegroup% log=%log%
form=LOGON_FORM.fmx
#term=/software/dutrf65w.res
#envFile=/software/ontw/<application>/<application>.env
height=100%
width=100%
record=forms
#tracegroup=33,35,39,45,64-69,98,101
separateFrame=true
splashScreen=no
lookAndFeel=Generic
colorScheme=blaf
background=NO
pageTitle=Welcome to AIBL Online Support System
# to find *.gif files in jars
imageBase=codebase
what to change more. please specify.
Arif
Similar Messages
-
How to run others applications with abap commands
Is there a mothed that can use it to run an application with abap statement?
for example: how to open a text file in program with abap command?
thank you very much.CALL FUNCTION '<b>WS_EXECUTE'</b>
EXPORTING
DOCUMENT = ' '
CD = ' '
<b>COMMANDLINE</b> = ''
INFORM = ' '
<b> PROGRAM </b> = 'NOTEPAD'
STAT = ' '
WINID = ' '
OSMAC_SCRIPT = ' '
OSMAC_CREATOR = ' '
WIN16_EXT = ' '
EXEC_RC = ' '
IMPORTING
RBUFF =
EXCEPTIONS
FRONTEND_ERROR = 1
NO_BATCH = 2
PROG_NOT_FOUND = 3
ILLEGAL_OPTION = 4
GUI_REFUSE_EXECUTE = 5
OTHERS = 6
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Here...
In the <b>CommandLine</b> you can give the path where the file is located like for Example
C:\Test\Hello.txt.
In the <b>Program</b> you need to give the application that you want to open that file.
if helpful reward points...
Regards,
Vivekananda Varma Dandu -
Revision: 12869
Revision: 12869
Author: [email protected]
Date: 2009-12-11 14:50:26 -0800 (Fri, 11 Dec 2009)
Log Message:
Fix FB-24801: Unable to run an application with AIR 3.4 sdk
Ticket Links:
http://bugs.adobe.com/jira/browse/FB-24801
Modified Paths:
flex/sdk/trunk/modules/debugger/src/java/flash/tools/debugger/concrete/PlayerSessionManag er.javaI've fixed the problem!
I think the problem was in the way I was linking to the libraries. I ended up deleting all my hand made ANT settings and instead exporting the settings from my Flash Builder project, and just using those.
Full details in this article here, it saved my life: http://helpx.adobe.com/x-productkb/multi/compilation-results-flex-builder-flex.html -
How to run JavaFX Jar with JRE 7 on MAC OS Lion 10.7.5 ?
I had java 1.6 installed on my MAC OSX Lion 10.7.5. When I am trying to run that JavaFX application jar
java -jar application.jar
It always shows a dialog "The application require a newer version of Java Run-time" with download link. Even I have downloaded and successfully installed it on my MAC machine but it still shows me the same window.
It installed jre-7u10-macosx-x64.dmg but java -version is always point to 1.6.
Then I searched for Java Preferences to point the current JRE 1.7 but I could find Java Preferences at Applications -> Utilities -> Java -> Java Preferences.
I found an Java Icon on System Preference. When I am trying to open that widow it's showing me error -- the java control panel opens in a separate window and nothing happens when we click on Re-open the Java Control Panel.
http://avats.s3.amazonaws.com/JavaRunningError.txt
I would like to know -- how to run JavaFX jar with JRE7 on MAC OS Loin 10.7.5? Is their any other way to run the JavaFX application JAR with JRE7?To find a copy of LP7 you would need to look for a copy on eBay.. However, the protection method used with LP7 no longer functions so you cannot register it and therefore you cannot use it. unless you have already registered LP7 yourself in the past using the security key dongle provided
Any version of LP7 from a torrent would be an illegal (and most likely non working) version due to the protection that was used at that time... and so posting about it here, was not be wise.
So.. thats why my previous answer was so brief... Simply put, you cannot use LP7 unless you already have a validated and registered security dongle... even if you found a copy of LP7 somewhere
The only practical solution is to find some kind soul who already has a working version of LP7 installed, that you can send the projects to... for them to do the conversion for you.
I would, but I no longer have LP7 installed here on any of my testbed Macs... -
Run the application through JRE
Hi,
I want to know How to run the application or .class file through JRE. If the jdk is not installed in the machine then how to run that program.Please give me the details about this.java
-
Error while running webdynpro application with an Interactive form
Hi all,
I am getting the following defect when I run a adobe interactive form (webdynpro application). Any pointers?
Regards,
Deepak
500 Internal Server Error
Failed to process request. Please contact your system administrator.
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
... 47 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1)
Version null
DOM version null
Client Type msie7
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-11:15:13:14[UTC], changelist=455669, host=pwdfm101), build date: Wed Oct 10 10:17:00 EDT 2007
J2EE Engine 7.00 patchlevel 109044.44
Java VM Java HotSpot(TM) Server VM, version:1.4.2_13-b06, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Thu Oct 18 17:39:22 EDT 2007 (Java Time: 1192743562661)
Web Dynpro Code Generation Infos
local/NIBCOSecurityFormWD
SapDictionaryGenerationCore 7.0013.20061002105236.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:26:06[UTC], changelist=419377, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0013.20060719095755.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:13:54[UTC], changelist=411255, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:11[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:42[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0013.20061002105432.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:14:35[UTC], changelist=419384, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0013.20060719095619.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:23:29[UTC], changelist=411251, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0013.20070703112649.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:28:49[UTC], changelist=454024, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
SapWebDynproGenerationCore 7.0013.20061002110128.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:32:21[UTC], changelist=419396, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0013.20070717142021.0000 (release=645_VAL_REL, buildtime=2007-08-07:13:42:07[UTC], changelist=455669, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: Failed to UPDATEDATAINPDF
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:418)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.afterApplicationModification(ClientApplication.java:1132)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.afterApplicationModification(ClientComponent.java:895)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRespond(WindowPhaseModel.java:573)
at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:152)
at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:313)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:387)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:365)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:944)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:266)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRuntimeException: PDFDocument Processor failed to process Render Request.
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:55)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:100)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentInteractiveFormHandlingContext.execute(PDFDocumentInteractiveFormHandlingContext.java:123)
at com.sap.tc.webdynpro.clientserver.uielib.adobe.impl.InteractiveForm.afterHandleActionEvent(InteractiveForm.java:340)
... 29 more
Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.render(PDFObject.java:3948)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentRenderHandler.handle(PDFDocumentRenderHandler.java:148)
at com.sap.tc.webdynpro.clientserver.adobe.pdfdocument.base.core.PDFDocumentProcessor.process(PDFDocumentProcessor.java:52)
... 32 more
Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
java.net.ConnectException: Connection refused: connect
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:85)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:95)
at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
... 35 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:171)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158)
at java.net.Socket.connect(Socket.java:464)
at java.net.Socket.connect(Socket.java:414)
at java.net.Socket.<init>(Socket.java:310)
at java.net.Socket.<init>(Socket.java:125)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initStreamsFromSocket(HTTPSocket.java:648)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.initializeStreams(HTTPSocket.java:470)
at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getOutputStream(HTTPSocket.java:427)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getRequestStream(HTTPTransport.java:355)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:550)
at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1432)
at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:78)
... 37 moreHi Deepak,
If you have solved the issue could you kindly close the thread with the solution as this will help others as well. If not kindly update the thread with the status. -
Unable to run Flex application with IIS
Hi,
I'm new to flex 3 application. I created a simple application
using wizard from Flex IDE, but this application run well under
ASP.net server but failed under IIS.
Below is how i created the application
1. I created a flex project running on APS.net default server
(cassini).
2. I created an application from database by clicking on Data
-> Create application from database
This application is running fine. However, if i followed the
same step, but used IIS instead of ASP.net default server, the
application failed.
Below are error codes:
faultcode: server.error.request.
faultstring: HTTP request error
faultdetail: Unable to load WSDL. if currently online, please
verify the URI and or format of the WSDL
Appreciate if anyone can help me on that. Thanks in advanceLooks like a domain or path problem.
Try using httpService to get data -
What am I doing wrong when running multiple applications with the Web Server enabled ?
I am running multiple Vi's (applications) on the same Nt Workstation and the Web Server is enable for all applications. However, I am able to view only one Panel from the browser. Only the first application that is started can be viewed. What am I doing wrong ?
Only one application can act as a web server at the default http port 80.
To solve this either run all VIs into a single application or use different
http ports for each application. For example an application can use the
default port 80 and others use ports 8080, 8081, 8082 etc.
In the browser, you enter the URL for non default ports as
http://hostname:8080/...
HTH
Jean-Pierre Drolet
"zemaitis" a ecrit dans le message news:
[email protected]..
> I am running multiple Vi's (applications) on the same Nt Workstation
> and the Web Server is enable for all applications. However, I am able
> to view only one Panel from the browser. Only the first application
> that is started can be viewed. What am I doing
wrong ?
LabVIEW, C'est LabVIEW -
Run BC4J application with Oracle10g
Hi all,
I have a BC4J application running in 9iAs and I want to migrate it to 10g.
I installed the application server and did the deploy of the application.
The pages that not use BC4J process well but the others do the browser time out.
Somebody help me!!!Hello,
I have the same problem and I don't know kow to resolve.
Clemas. -
Hi,
I want to display my BSP application in different IE9 windows each one with a different log account.
Who can I do it?
RegardsHello,
As far as I know, only IE8 and IE9 share the same session if you open 2 different windows.
And both versions of the browser have the "new session" functionality.
So if you are using IE7, opening a new window should open the BSP in a new session already.
However, you can try with URL parameter sap-sessioncmd=open as you mentionned, maybe this would work.
Hope it helps,
Tanguy -
Help running an application with java
public void actionPerformed(ActionEvent event)
if (event.getActionCommand().equals("Application"))
getContentPane().runApplication(Application);
}What would replace "runApplication(Application)"?
Thanks.What on earth are you trying to do with that code?
Do you just want to execute an external application via java, such as with the Runtime.exec() method?
try {
Runtime.getRuntime().exec(...);
} catch ( ... )Something similar to that? -
Problems with Running the application with adobe interactive form
Hi,
I am pasting the error below. Can you tell me whats happening?
com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Error during call to AdobeDocumentServer: Processing exception during a "Render" operation.
Request start time: Wed Sep 14 13:11:22 CEST 2005
com.adobe.ProcessingError: File not found error writing stream:
<Render><Template><Name> "http://inld50047142a:53000/webdynpro/dispatcher/local/IAF29/IAF29/wd_keyFCf_HVR6LN8eiYL61rWjaQ==/sapwebdynpro.xft;jsessionid=(INLD50047142A_F21_30)ID305519150DB14134377352030124527End;saplb_*=(INLD50047142A_F21_30)305519150?sap.session.download=4&sap-wd-cltwndid=4&sap-wd-appwndid=OPCP4&sap-wd-norefresh=true :
java.io.FileNotFoundException: IO error detected while retrieving input stream for: http://inld50047142a:53000/webdynpro/dispatcher/local/IAF29/IAF29/wd_keyFCf_HVR6LN8eiYL61rWjaQ==/sapwebdynpro.xft;jsessionid=(INLD50047142A_F21_30)ID305519150DB14134377352030124527End;saplb_*=(INLD50047142A_F21_30)305519150?sap.session.download=4&sap-wd-cltwndid=4&sap-wd-appwndid=OPCP4&sap-wd-norefresh=true :
java.io.IOException: Server returned HTTP response code: 500 for URL: http://inld50047142a:53000/webdynpro/dispatcher/local/IAF29/IAF29/wd_keyFCf_HVR6LN8eiYL61rWjaQ==/sapwebdynpro.xft;jsessionid=(INLD50047142A_F21_30)ID305519150DB14134377352030124527End;saplb_*=(INLD50047142A_F21_30)305519150?sap.session.download=4&sap-wd-cltwndid=4&sap-wd-appwndid=OPCP4&sap-wd-norefresh=true
Thanks,
Tarun.did you set the build.properties settings properly ?
-
Error when running PDA application with emulator
Hi,
I receive my LabVIEW PDA Module yesterday and I tried to realise the Tutorial. I don't have any problem to make it work on the PDA but I always have a error message when I want to use an emulator (see the attached file for the message).
One more information, the driver requires according to the message is installed.
Thank you.
Attachments:
NI_LABVIEW8.20.jpg 86 KBHi Roberto,
I saw this message when I first used the PDA emulator but installing VPC resolved it. Are you able to launch the emulator outside of the LabVIEW context? The emulator manager should be at this location: C:\Program Files\Microsoft Device Emulator\1.0\dvcemumanager.exe . You can use the emulator manager to launch specific emulators by right-clicking on them and selecting "Connect".
Also, have you attempted to uninstall and reinstall VPC? You should be able to remove it from the Add/Remove Programs dialog. You can then download a fresh copy here.
If you are still having problems after trying these things, you may want to check out or post to the Microsoft Device Emulator Forum. Especially check out this thread about "Failed to open VPC Network driver".
Hope this helps!
Spex
National Instruments
To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be... -
Can't run my app with older version of jre anymore. Help!
Java Web Start is supposed to allow applications to use older versions of Java JRE. My applet uses 1.6.0_31 because it doesn't work with 1.7. (Backward compatibility? Don't ask.)
When I first set it up a couple of weeks ago, it worked. Now, with JRE 1.7 officially released it does not. When I try to run it, I get the following message:
"This application would like to use an older version of Java (1.6.0_31) that is not installed on your system. We recommend running the application with the latest version o java on your computer. Then there are two buttons.
One button says "Run with latest version". The other button says "Cancel". When I click on "Cancel" the application fails with the following
basic: LaunchDesc location: http://relativitysimulation.com/Applet.jnlp
network: Created version ID: 1.6.0.31
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7
network: Created version ID: 1.6.0.31
network: Created version ID: 1.6
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7
network: Created version ID: 1.6.0.31
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7.0.03
network: Created version ID: 1.7
java.util.MissingResourceException: Can't find resource for bundle sun.applet.resources.MsgAppletViewer, key appletpanel.ExitException[ 0]
at java.util.ResourceBundle.getObject(ResourceBundle.java:393)
at java.util.ResourceBundle.getString(ResourceBundle.java:353)
at sun.plugin2.applet.Applet2MessageHandler.getMessage(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.logAppletStatus(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
basic: ExitException[ 0]
ExitException[ 0]
at com.sun.javaws.ui.SecureStaticVersioning.showCannotDownloadDialog(Unknown Source)
at com.sun.javaws.ui.SecureStaticVersioning.canAutoDownload(Unknown Source)
at sun.plugin2.applet.JNLP2Manager$JnlpLaunchState.doJvmSelection(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
security: Accessing keys and certificate in Mozilla user profile: null
security: Reset deny session certificate store
Looks to me like Cancel does not mean "Run Older Version". While I am debugging why I can't use the latest version of jre, can someone please tell me how to use the older version?
Edited by: 932841 on May 8, 2012 8:54 AM - corrected typoI'm the developer. And thank you for your prompt response. I have been given a work around so that the applet can use version 1.7. But that still doesn't explain what I am doing that makes Java fail to use the older version.
I put this code in my jnlp file on March 27th when I realized that my app didn't work with version 1.7. I tested it at that time and it worked. In the process I installed and uninstalled java 1.6.0_31 ( and 1.7) several times. Maybe something important got corrupted then.
<resources>
<j2se version="1.6.0_31" href="http://java.sun.com/products/autodl/j2se"/>
Added this -----
Oh, if someone else wants to try this app on their machine, feel free. It is at
http://www.relativitysimulation.com/Applet.html
Edited by: 932841 on May 8, 2012 11:13 AM -
Any way to distribute a javafx application with embedded JRE as a standalone?
Hey,
I'm looking for a way to distribute my javafx app, but I want a customer to be able to run it as a standalone (i.e. without installation).
I know I can distribute a jar file but it's without the embedded JRE.
Only way I see to embed a JRE is via building an installer.
Any way I can distribute say an EXE file that when double clicked just runs the app with JRE embedded inside?I have already read that guide.
Here's the relevant section:
Table 3-1 JavaFX Execution Modes
Execution Mode
Description
Run as a standalone program
The application package is available on a local drive. Users launch it using a Java launcher, such as java -jar MyApp.jar, or by double-clicking the application JAR file.
Launched from a remote server using Web Start
Users click a link in a web page to start the application from a remote web server. Once downloaded, a Web Start application can also be started from a desktop shortcut.
Embedded into a web page
JavaFX content is embedded in the web page and hosted on a remote web server.
Launched as a self-contained application
Application is installed on the local drive and runs as a standalone program using a private copy of Java and JavaFX runtimes. The application can be launched in the same way as other native applications for that operating system, for example using a desktop shortcut or menu entry.
According to this, only way to use a private JRE is via the 4th option which means installation.
Maybe you are looking for
-
HOW do I transfer my files to another person?
I'd be very grateful for some advice. Six years ago, using DW 2004, I designed a small website which has gradually grown to about 12 pages. For personal reasons, I have decided to call it a day and give full access to the owner for her to run it. But
-
"This drive is not ready for use; it's door may be open ..."
Hi. I recently updated to itunes 7, and then had an issue with a corrupt file on the i-pod (which resulted in chkdsk hanging itself at 27%, always). So I restored the i-pod and that took care of that - chkdsk now says it's fine. However - it is also
-
How to do fast export and import
i have a windows 2003 server and oracle 10.2.0.3 installed on it. here i want to ask how i can speedup my export and import using expdp.
-
can I stop formating mac because is stop at 50 % form 20 minutes
-
Created a technical sys. & a buss system,but its nt visible in Integrtn dir
Hello friends, I am following "Configuring IDOC-XI-IDOC Scenarios.pdf guide". It says we have to maintain System Landscape Directory(SLD), where we have to create a technical System and a bussiness system. I have done that . Then it says In the Integ