lopica-talk Mailing List for Lopica
Brought to you by:
vamp201
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
|
Apr
(11) |
May
(11) |
Jun
(13) |
Jul
(8) |
Aug
(3) |
Sep
(1) |
Oct
(12) |
Nov
(9) |
Dec
(8) |
2004 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
(2) |
May
(5) |
Jun
(2) |
Jul
|
Aug
(2) |
Sep
(1) |
Oct
(4) |
Nov
(1) |
Dec
|
2005 |
Jan
(1) |
Feb
(1) |
Mar
|
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
2006 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
|
Aug
(6) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2007 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
2008 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Neha C. <neh...@gm...> - 2016-03-13 13:17:26
|
neh...@gm... |
From: Laurent Y. <lau...@ap...> - 2008-03-03 09:27:14
|
Hello, I've tried JRE intaller in project "webstart-service". I don't have same result when I run it on linux or windows and in both case it desn't work. On Windows: When I call my JNLP with url download to my local project, I arrived in servlet DownloadService. It retreive Jre file but when it finish to read the file, it return in servlet (I don't know why) and when it tried to get the HttpServletResponse.getOutputStream() I 've got this error: ClientAbortException: java.net.SocketException: Software caused connection abort: socket write error at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java: 366) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:299) at org.apache.catalina.connector.OutputBuffer.writeBytes(OutputBuffer.java:392) at org.apache.catalina.connector.OutputBuffer.write(OutputBuffer.java:381) at org.apache.catalina.connector.CoyoteOutputStream.write(CoyoteOutputStream.ja va:88) at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65) at java.io.BufferedOutputStream.write(BufferedOutputStream.java:78) at com.apologic.server.webstartservices.DownloadService.service(DownloadService .java:105) at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Application FilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterCh ain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.ja va:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.ja va:178) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126 ) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105 ) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java :107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processC onnection(Http11BaseProtocol.java:663) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.jav a:527) at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWo rkerThread.java:80) at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.jav a:684) at java.lang.Thread.run(Thread.java:595) Caused by: java.net.SocketException: Software caused connection abort: socket write error at java.net.SocketOutputStream.socketWrite0(Native Method) at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92) at java.net.SocketOutputStream.write(SocketOutputStream.java:136) at org.apache.coyote.http11.InternalOutputBuffer.realWriteBytes(InternalOutputB uffer.java:747) at org.apache.tomcat.util.buf.ByteChunk.flushBuffer(ByteChunk.java:403) at org.apache.tomcat.util.buf.ByteChunk.append(ByteChunk.java:323) at org.apache.coyote.http11.InternalOutputBuffer$OutputStreamOutputBuffer.doWri te(InternalOutputBuffer.java:770) at org.apache.coyote.http11.filters.IdentityOutputFilter.doWrite(IdentityOutput Filter.java:117) at org.apache.coyote.http11.InternalOutputBuffer.doWrite(InternalOutputBuffer.j ava:580) at org.apache.coyote.Response.doWrite(Response.java:555) at org.apache.catalina.connector.OutputBuffer.realWriteBytes(OutputBuffer.java: 361) ... 22 more On linux : When I call my JNLP with url download to my local project, I don't arrived in servlet DownloadService. If I call directly the servlet I go in but I don't have parameter so it doesn't work. Thanks for your help, Laurent. |
From: Kishore L. N. TLS,C. <kis...@hc...> - 2007-10-16 12:45:31
|
Hi All, =20 I am working java web start application, which is launching Applet=2E But I= am not able to establish a connection to servlet from this Applet which is= launched when I started Webstart application=2E =20 I am using the following code to establisg a connection with servlet from= my applet=2E =20 s2 =3D " http://localhost:50100/JAWSClient/view?func=3Denroll"; s2 =3D s2 + "&name=3D" + UserID; mystatus=2EsetText(s2); URL url =3D new URL(getCodeBase(), s2); URLConnection urlconnection =3D url=2EopenConnection(); urlconnection=2EsetUseCaches(false); urlconnection=2EsetDefaultUseCaches(false); urlconnection=2EsetDoInput(true); urlconnection=2EsetDoOutput(true); ((HttpURLConnection)urlconnection)=2EsetRequestMethod("GET"); mystatus=2EsetText("setting property"); urlconnection=2EsetRequestProperty("Content-Type",= "application/octet-stream"); urlconnection=2EsetAllowUserInteraction(false); =20 But the same code is working fine for normal applets (not launched from a= webstart application), do I need to perform any specific operations to= establish a connection to servlet????? =20 Please share if you have any idea=2E Regards, Kishore Nerella<?xml:namespace prefix =3D o ns =3D= "urn:schemas-microsoft-com:office:office" /> =20 DISCLAIMER: ---------------------------------------------------------------------------= -------------------------------------------- The contents of this e-mail and any attachment(s) are confidential and= intended for the named recipient(s) only=2E It shall not attach any liability on the originator or HCL or its= affiliates=2E Any views or opinions presented in=20 this email are solely those of the author and may not necessarily reflect= the opinions of HCL or its affiliates=2E Any form of reproduction, dissemination, copying, disclosure, modification,= distribution and / or publication of=20 this message without the prior written consent of the author of this e-mail= is strictly prohibited=2E If you have=20 received this email in error please delete it and notify the sender= immediately=2E Before opening any mail and=20 attachments please check them for viruses and defect=2E ---------------------------------------------------------------------------= -------------------------------------------- |
From: <huy...@ho...> - 2007-07-16 06:50:48
|
Hi! I am trying to start my java web start enabled app from a Windows 2003 which doesn't have a network card installed. When program meet the following code.It throws the exception: .... InetAddress localhost = InetAddress.getLocalHost(); ..... java.net.UnknownHostException: blackmonkey: blackmonkey at.java.net.InetAddress.getLocalHost(Unknown Source) at tw.com.baoruh.Application.<init>(Application.java:230) Blackmonkey is the host name.But not in the hosts file. If I add line "127.0.0.1 blackmonkey" to hosts file.Everything fine! But I cannot do this for the application will installed on different pc. I check the java doc of getLocalHost said : "...If there is a security manager, its checkConnect method is called with the local host name and -1 as its arguments to see if the operation is allowed. If the operation is not allowed, an InetAddress representing the loopback address is returned. " Because the jnlp permission was set to all-permissions which seems that java doesn't return the lookback address but instead tring to resolve the blackmonkey and failed!(Although I can ping to blackmonkey by using command.It seems java's resolve process is different to OS's resolve process.) Here is my jnlp snippet: ... <offline-allowed /> <icon href="file:/e:/111/sites/bundle/TachoGraphAnalyzer/icons\Computer_System_35.gif"/> </information> <security> <all-permissions/> </security> <resources os="Windows" arch="x86"> <j2se version="1.5+" max-heap-size="512M"> </j2se> <jar href="file:/e:/111/sites/bundle/TachoGraphAnalyzer/TachoGraphAnalyzer__V3.0.1.176.jar" /> <jar href="file:/e:/111/sites/bundle/TachoGraphAnalyzer/openaccess__V1.1.jar" /> <jar href="file:/e:/111/sites/bundle/TachoGraphAnalyzer/jdo__V1.1.jar" /> <jar href="file:/e:/111/sites/bundle/TachoGraphAnalyzer/jta__V1.1.jar" /> <jar href="file:/e:/111/sites/bundle/TachoGraphAnalyzer/firebird\firebirdsql__V2.1.jar" /> ... Can anybody help! |
From: Ben A. <ben...@st...> - 2007-06-25 09:05:11
|
Hello there I would greatly appreciate a small amount of your time to assist with my doctoral research at The University of Newcastle. The research concerns open source licensing and we're seeking developers working on Java projects. The research is supervised, ethics-approved, anonymous and results will be freely available. Participation will also provide a custom licensing report for your project. To learn more, please visit: http://licensing-research.newcastle.edu.au Thanks for reading this email, and I hope you'll consider participating. Best regards Ben Alex (My apologies for being off-topic; this list will not be emailed again) |
From: Clemens E. <lin...@gm...> - 2006-12-29 21:06:28
|
Hello, Since Java-6 webstart has the ability to download jar-files on demand if I specify download="lazy" and if the jar-files contain a file-index. If a file has been needed once its cached in webstart's local cache. So far so good ;) However when I update jar-files on the server webstart automatically updates all jar-files that have been downloaded before, even if they are not this time of execution. My problem is that lazy downloading works great till I update the jar-files on the server. Instead of downloading new versions when access to a particular file is needed, webstart updates all previously downloaded files, even if they are not needed. Any help would be really appricated, lg Clemens PS: Thank you for providing such an informative site - I tried to migrate our applet based solution to webstart but webstart seems (again) to be somewhat crippled in its implementation and documetation is available rarely. |
From: Ben K. <kn...@pf...> - 2006-08-08 12:59:09
|
Kolja Kleist wrote: > Ben Knear wrote: > >> Kolja Kleist wrote: >> >>> Kolja Kleist wrote: >>> >>>> Ben Knear wrote: >>>> >>>>> I'm trying to run an RCP through Webstart that contains SWT widgets, but >>>>> the look and feel is completely different when executing through >>>>> Webstart rather than through Eclipse. The RCP executes properly through >>>>> Webstart. I have tried including the org.eclipse.swt_3.1.0.jar as a >>>>> nativelib to the feature and to the jnlp, neither helped. Anyone had any >>>>> experience/trouble with this? Thanks! >>>>> >>>>> Busy Coder >>>>> >>>> Hello, >>>> I added the following to my jnlp file and it works for me on Windows XP: >>>> >>>> <resources> >>>> ... >>>> <nativelib href="lib/swt-win32-lib-3.1.1.jar"/> >>>> </resources> >>>> <resources os="Windows"> >>>> <jar href="lib/swt-win32-3.1.1.jar"/> >>>> </resources> >>>> >>>> Regards, >>>> Kolja >>>> >>> Sorry, >>> maybe I should describe the content of the jars: >>> >>> swt-win32-lib-3.1.1.jar: Contains the three SWT DLLs. >>> >>> swt-win32-3.1.1.jar: Contains the SWT classes provided by Eclipse (Not builded by myself) >>> >>> Regards, >>> Kolja >>> >> Thank you for your quick reply. >> >> I am running on RHEL 3, however the process should be the same, just >> different os arches and jar names. I looked around a little, but my >> org.eclipse.swt_3.1.0.jar does not have 3 dlls. I don't think it should >> since I'm on Linux. What should I have, or what are they? It came from >> Eclipse/Plugins. My linux version of swt is the same as you describe >> your Windows version. >> >> Thanks, >> Ben > I think you have to include the SWT *.so library files instead of the > DLLs and jar it to swt-linux-3.1.1.jar. > Then you add the following to your jnlp (Don't know what os name will be > shown): > > <resources os="<linux_name>"> > <jar href="lib/swt-linux-3.1.1.jar"/> > </resources> > > Kolja > I implemented the FileViewer written by Jeff Gunther on the "Deploy an SWT Application through Webstart" tutorial, and it ran fine. However, because I am using an RCP with SWT Widgets, it is a little different than running from a main. Is the basic look and feel to be expected when using this type of program? Thanks for your help Ben |
From: Kolja K. <k.k...@we...> - 2006-08-07 19:23:19
|
Ben Knear wrote: >Kolja Kleist wrote: > > >>Kolja Kleist wrote: >> >> >> >> >>>Ben Knear wrote: >>> >>> >>> >>> >>> >>> >>>>I'm trying to run an RCP through Webstart that contains SWT widgets, but >>>>the look and feel is completely different when executing through >>>>Webstart rather than through Eclipse. The RCP executes properly through >>>>Webstart. I have tried including the org.eclipse.swt_3.1.0.jar as a >>>>nativelib to the feature and to the jnlp, neither helped. Anyone had any >>>>experience/trouble with this? Thanks! >>>> >>>>Busy Coder >>>> >>>> >>>> >>>Hello, >>>I added the following to my jnlp file and it works for me on Windows XP: >>> >>> <resources> >>> ... >>> <nativelib href="lib/swt-win32-lib-3.1.1.jar"/> >>> </resources> >>> <resources os="Windows"> >>> <jar href="lib/swt-win32-3.1.1.jar"/> >>> </resources> >>> >>>Regards, >>>Kolja >>> >>> >>> >>Sorry, >>maybe I should describe the content of the jars: >> >>swt-win32-lib-3.1.1.jar: Contains the three SWT DLLs. >> >>swt-win32-3.1.1.jar: Contains the SWT classes provided by Eclipse (Not builded by myself) >> >>Regards, >>Kolja >> >> >> >Thank you for your quick reply. > >I am running on RHEL 3, however the process should be the same, just >different os arches and jar names. I looked around a little, but my >org.eclipse.swt_3.1.0.jar does not have 3 dlls. I don't think it should >since I'm on Linux. What should I have, or what are they? It came from >Eclipse/Plugins. My linux version of swt is the same as you describe >your Windows version. > >Thanks, >Ben > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >lopica-talk mailing list >lop...@li... >https://lists.sourceforge.net/lists/listinfo/lopica-talk > > I think you have to include the SWT *.so library files instead of the DLLs and jar it to swt-linux-3.1.1.jar. Then you add the following to your jnlp (Don't know what os name will be shown): <resources os="<linux_name>"> <jar href="lib/swt-linux-3.1.1.jar"/> </resources> Kolja |
From: Ben K. <kn...@pf...> - 2006-08-07 18:45:28
|
Kolja Kleist wrote: > Kolja Kleist wrote: > > >> Ben Knear wrote: >> >> >> >> >>> I'm trying to run an RCP through Webstart that contains SWT widgets, but >>> the look and feel is completely different when executing through >>> Webstart rather than through Eclipse. The RCP executes properly through >>> Webstart. I have tried including the org.eclipse.swt_3.1.0.jar as a >>> nativelib to the feature and to the jnlp, neither helped. Anyone had any >>> experience/trouble with this? Thanks! >>> >>> Busy Coder >>> >> Hello, >> I added the following to my jnlp file and it works for me on Windows XP: >> >> <resources> >> ... >> <nativelib href="lib/swt-win32-lib-3.1.1.jar"/> >> </resources> >> <resources os="Windows"> >> <jar href="lib/swt-win32-3.1.1.jar"/> >> </resources> >> >> Regards, >> Kolja >> > Sorry, > maybe I should describe the content of the jars: > > swt-win32-lib-3.1.1.jar: Contains the three SWT DLLs. > > swt-win32-3.1.1.jar: Contains the SWT classes provided by Eclipse (Not builded by myself) > > Regards, > Kolja > Thank you for your quick reply. I am running on RHEL 3, however the process should be the same, just different os arches and jar names. I looked around a little, but my org.eclipse.swt_3.1.0.jar does not have 3 dlls. I don't think it should since I'm on Linux. What should I have, or what are they? It came from Eclipse/Plugins. My linux version of swt is the same as you describe your Windows version. Thanks, Ben |
From: Kolja K. <k.k...@we...> - 2006-08-07 18:21:36
|
Kolja Kleist wrote: >Ben Knear wrote: > > > >>I'm trying to run an RCP through Webstart that contains SWT widgets, but >>the look and feel is completely different when executing through >>Webstart rather than through Eclipse. The RCP executes properly through >>Webstart. I have tried including the org.eclipse.swt_3.1.0.jar as a >>nativelib to the feature and to the jnlp, neither helped. Anyone had any >>experience/trouble with this? Thanks! >> >>Busy Coder >> >>------------------------------------------------------------------------- >>Using Tomcat but need to do more? Need to support web services, security? >>Get stuff done quickly with pre-integrated technology to make your job easier >>Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>_______________________________________________ >>lopica-talk mailing list >>lop...@li... >>https://lists.sourceforge.net/lists/listinfo/lopica-talk >> >> >> >> >Hello, >I added the following to my jnlp file and it works for me on Windows XP: > > <resources> > ... > <nativelib href="lib/swt-win32-lib-3.1.1.jar"/> > </resources> > <resources os="Windows"> > <jar href="lib/swt-win32-3.1.1.jar"/> > </resources> > >Regards, >Kolja > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >lopica-talk mailing list >lop...@li... >https://lists.sourceforge.net/lists/listinfo/lopica-talk > > Sorry, maybe I should describe the content of the jars: swt-win32-lib-3.1.1.jar: Contains the three SWT DLLs. swt-win32-3.1.1.jar: Contains the SWT classes provided by Eclipse (Not builded by myself) Regards, Kolja |
From: Kolja K. <k.k...@we...> - 2006-08-07 18:10:45
|
Ben Knear wrote: >I'm trying to run an RCP through Webstart that contains SWT widgets, but >the look and feel is completely different when executing through >Webstart rather than through Eclipse. The RCP executes properly through >Webstart. I have tried including the org.eclipse.swt_3.1.0.jar as a >nativelib to the feature and to the jnlp, neither helped. Anyone had any >experience/trouble with this? Thanks! > >Busy Coder > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >lopica-talk mailing list >lop...@li... >https://lists.sourceforge.net/lists/listinfo/lopica-talk > > Hello, I added the following to my jnlp file and it works for me on Windows XP: <resources> ... <nativelib href="lib/swt-win32-lib-3.1.1.jar"/> </resources> <resources os="Windows"> <jar href="lib/swt-win32-3.1.1.jar"/> </resources> Regards, Kolja |
From: Ben K. <kn...@pf...> - 2006-08-07 17:40:22
|
I'm trying to run an RCP through Webstart that contains SWT widgets, but the look and feel is completely different when executing through Webstart rather than through Eclipse. The RCP executes properly through Webstart. I have tried including the org.eclipse.swt_3.1.0.jar as a nativelib to the feature and to the jnlp, neither helped. Anyone had any experience/trouble with this? Thanks! Busy Coder |
From: radha r. <rad...@ya...> - 2006-05-16 14:50:38
|
Hi, A shortcut was created for a previous version of our application. Then a new version was installed in the server. When the client used the shortcut to launch the application, it still pointed to the old version. Could anyone please explain this behaviour? Any help is greatly appreciated. Thanks --------------------------------- Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2¢/min with Yahoo! Messenger with Voice. |
From: May, S. <sm...@ge...> - 2006-02-02 20:39:05
|
The installation was created by NullSoft 1.0j. The command line I used is:=20 javaws-1_0_1_02-win-int-rt.exe /S /D=3DC:\gers\JWS_1-0-1_0 This successfully runs a silent install, but does not honore the '/D path for the install dir. In the Sun documentation, the only advertised option is "-s" for a silent install. Is it possible to specify the installation directory as well? --Stuart=20 |
From: Dimitar P. <de...@ma...> - 2005-12-09 10:28:39
|
Hello all, I have recently created JNLP installer descriptor to install COM libraries. But before we get there, I must say that the installer had no chance being started at all. After Java Web Start downloaded all resources (NOT including the installer JARs) it has shown the message: "Starting installer...". Then it remains visible for 2-3 seconds and then disappears. The "javaw.exe" process remains. Note: it is not "javaws.exe". I guess (not quite sure) the problem is somewhere between starting separate "javaw.exe" to serve the installer, and entry point of the installer itself. I have guessed that I must enable JWS logging and to check its log in order to understand what is happening. Here is the log: ****************************************************************************= ***** Java Web Start 1.4.2_10 Console, started Thu Dec 08 15:53:54 EET 2005 Java 2 Runtime Environment: Version 1.4.2_10 by Sun Microsystems Inc. Logging to file: C:\Documents and Settings\Rees\My Documents\javaws.log java.lang.NullPointerException =09at com.sun.javaws.LaunchSelection.selectJRE(Unknown Source) =09at com.sun.javaws.Launcher.executeInstallers(Unknown Source) =09at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source) =09at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source) =09at com.sun.javaws.Launcher.run(Unknown Source) =09at java.lang.Thread.run(Unknown Source) Here is the <installer-desc> JNLP: ****************************************************************************= ***** <?xml version=3D"1.0" encoding=3D"windows-1251"?> <jnlp spec=3D"1.0+" codebase=3D"http://realhost.com" href=3D"/project/native.jnlp"> <information> <title>Project 1.0 BETA1</title> <vendor>Company Ltd.</vendor> <offline-allowed/> </information> <security><all-permissions/></security> <resources os=3D"windows" arch=3D"x86"> <jar href=3D"/project/installer.jar" main=3D"true"/> <nativelib href=3D"/project/native.jar"/> </resources> <installer-desc main-class=3D"somecompany.installer.InstallSomeLibs"/> </jnlp> That's it. I see nothing wrong there. Everything complies with JNLP 1.0.1 spec. Two JARs contain the installer class files (including "javax.jnlp" package -- is it wrong to include it inside? Maybe in the context of JWS "javax.jnlp.*" classes are visible?) and native libraries. But there is one thing -- when I looked in the JWS cache, I did not saw (100% sure) the two JARs which contain installer classes and native libraries. That's strange -- I think they should be downloaded before issuing message "Starting installer...", right? But since I am not an expert of how Java Web Start is implemented, I cannot claim that. My istaller class instantiates "javax.jnlp.ExtensionInstallerService" via "javax.jnlp.ServiceManager.lookup(...)" and then updates progress, changes status line etc., calls "setNativeLibraryInfo" and finally calls "installSucceeded(boolean)" or "installFailed". Again, everything should be as specified in the docs. In manifest file of "installer.jar" (where the actual installer resides) I have put "Vendor:" and "Main-Class:" attributes. Something wrong? Also, I have ensured logging immediately after the installer class starts -- i.e. it creates log-file and logs every action I decided to expose in the log. It should create the log like that: ****************************************************************************= ***** PrintStream log =3D new PrintStream(new FileOutputStream(new File(System.getProperty("user.home") + File.separator + "SomeCompany" + File.separator + "jnlp-installer.log"))); Immediately after that the installer starts to do logging. But the file (nor the directory, which the installer will create if the directory did not existed) actually does not even get created. This is an indication to me that the installer never gets called (and as pointed above -- not downloaded, too). It gets worse -- after the last test I discovered that even the static initializer is not called! Well, that's logical, since the JARs are never downloaded. And the error indication I posses is just this tiny stack trace. And finally, I created a dummy installer. All it does is to instantiate "ExtensionInstallerService" and to inform it that "installation" has succeeded. Nothing! Same error over and over again. And absolutely finally, when I installed JRE 1.5.0_05, Java Web Start has shown that my installers are 0.0 KB. How and why? Please, somebody help. Or just remind me to check something that I might overlooked. Regards. - Dimitar Panayotov C, C++, Java programmer/developer Web developer - [X]HTML, XML+XSLT, CSS, JavaScript, PHP de...@ma... +359886455387 ----------------------------- =C7=E0=E4=E0=E2=E0=F2 =F1=E5 =EC=F0=E0=F7=ED=E8 =E8 =F2=F0=F3=E4=ED=E8 =E2= =F0=E5=EC=E5=ED=E0: =D5=C0=D0=C8 =CF=CE=D2=DA=D0 =C8 =CE=C3=CD=C5=CD=C8=DF=D2 =C1=CE=CA=C0=CB =F1=E0=EC=EE =E2 =EA=E8=ED=E0=F2=E0! http://www.kino.dir.bg/film.php?id=3D5389 |
From: Aminur R. <am...@gm...> - 2005-11-24 12:14:17
|
Hello All, I have a Swing Application bound to EJB3.0. Now to run EJB3.0 clients, we need JVM option -javaagent (See link http://www.oracle.com/technology/tech/java/oc4j/ejb3/howtos-ejb3/howtooutof= container/doc/how-to-ejb30-out-of-container.html ) But java web start supports only fixed set of arguments for VM (java-vm-arg= s ) See http://java.sun.com/j2se/1.5.0/docs/guide/javaws/developersguide/syntax.htm= l#resources Can anyone help me how to pass this -javaagent argument so that I can acces= s EJB 30 application via webstart? Thanks AR |
From: Chris M. <ch...@st...> - 2005-05-12 21:14:48
|
Hi David, The stack trace for the NPE should be available to you in the "Java Console" that pops up as you start the JWS App. If there is a problem with your jnlp file I think it displays there as well. I also find it convenient sometimes to bring up javaws.exe, or "Java Application Cache Viewer". - Chris Murphy David C. Hicks wrote: > Hi, > I've looked through all the FAQ's that I could find, but nothing seemed > to cover this issue. Admittedly, I'm new to JNLP, so I'm sure that I'm > just missing something silly. > > I've set up an application to launch from Tomcat. The launcher begins > with no problem, but almost immediately presents me with an error dialog > stating that it encountered a NullPointerException while trying to > download the jar file that contains my application. Can anyone point me > at something that might be the culprit? My test environment is Tomcat > on Fedora Core 3 and I'm running the Mozilla browser and have enabled > the Java plugin for it - I suppose the launcher wouldn't even start if I > hadn't. :-) > > Thanks, > David > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click > _______________________________________________ > lopica-talk mailing list > lop...@li... > https://lists.sourceforge.net/lists/listinfo/lopica-talk > > -- www.strandz.org For matching users to their data. |
From: David C. H. <dh...@i-...> - 2005-05-12 16:44:37
|
Hi, I've looked through all the FAQ's that I could find, but nothing seemed to cover this issue. Admittedly, I'm new to JNLP, so I'm sure that I'm just missing something silly. I've set up an application to launch from Tomcat. The launcher begins with no problem, but almost immediately presents me with an error dialog stating that it encountered a NullPointerException while trying to download the jar file that contains my application. Can anyone point me at something that might be the culprit? My test environment is Tomcat on Fedora Core 3 and I'm running the Mozilla browser and have enabled the Java plugin for it - I suppose the launcher wouldn't even start if I hadn't. :-) Thanks, David |
From: Gerald B. <ge...@va...> - 2005-02-15 02:34:22
|
Hello, just to let you know that I've checked in the sources for most of the Web Start tools hosted at the Lopica web site. Browse http://cvs.sourceforge.net/viewcvs.py/lopica for details. The lineup includes: PingAutodl PingAutodl is a little script that lets you probe a server using the JNLP version protocol over HTTP to check what Java runtimes versions you can autodownload using Web Start. You can invoke PingAutodl from the command line with no parameters to check all the product version strings, or by calling it with parameters (e. g. PingAutodl 1.4+ 1.3) to probe the server for more exotic best match strings. Web Start XML Startup Script Browser The Lopica Web Start XML Startup Script Browser lets you explore - suprise, suprise - Web Start XML startup scripts. To help you find and organize Web Start XML Startup Scripts the browser supports the OPML XML format so you can create channel guides or playlists. Web Start XML Startup Script Checker The Lopica Web Start XML Startup Script Checker lets you check if your Web Start XML startup scripts follow all the rules and regulations set forth in the spec and are ready for prime time. The Lopcia startup script checker loads your Web Start XML startup script, checks if it is well-formed, validates it against built-in DTD and W3C XML schemas and collects all warnings and errors. The Lopica startup script checker uses a multi schema engine and also allows you to use your own Relax, Relax NG, Trex, XML DTD, or W3C XML schemas. Web Start XML Startup Catalog Machine The Lopica Web Start XML Startup Script Catalog Machine lets you create catalogs listing Web Start apps along with their vendor, version, description, homepage and more. The Lopica Web Start Catalog Machine comes with a built-in template, but also allows you to use your own templates. The Lopica Catalog Machine uses Apache Velocity as its template engine and, therefore, spares you from learning yet another proprietary template syntax. JNLP Model Pack The Lopica JNLP Model Pack wraps the Web Start XML startup script (JNLP file) so you can use it using Java. If anyone is interested in any of the above tools let me know. - Gerald |
From: Gerald B. <ge...@va...> - 2005-01-04 18:31:14
|
Hello, Just to let you know that if anyone is interested in my Java Web Start consulting services or Venus Application Publisher installation offerings or any of the Lopica Web Start tools you can now engage me through my new employer SchemaSoft. You can find out more about SchemaSoft online @ http://schemasoft.com - Gerald -------------------- Gerald Bauer Lopica - All Things Web Start | http://lopica.sourceforge.net Web Start Forum | http://webstartforum.com Web Start News Wire | http://webstartnews.com Web Start F.A.Q. | http://webstartfaq.com |
From: <cjm...@sm...> - 2004-11-09 13:15:32
|
I am trying to make this call from within an application I am porting to Java Web Start: Beans=2EsetDesignTime( true); When this call is made I get: Exception in thread "AWT-EventQueue-0" java=2Esecurity=2EAccessControlException: access denied (java=2Eutil=2EPropertyPermission * read,write) =09at java=2Esecurity=2EAccessControlContext=2EcheckPermission(Unknown Sou= rce) =09at java=2Esecurity=2EAccessController=2EcheckPermission(Unknown Source)= =09at java=2Elang=2ESecurityManager=2EcheckPermission(Unknown Source) =09at java=2Elang=2ESecurityManager=2EcheckPropertiesAccess(Unknown Source= ) =09at java=2Ebeans=2EBeans=2EsetDesignTime(Unknown Source) =09at util=2EpUtils=2EloadXML(pUtils=2Ejava:1306) My understanding is that if I go for "all-permissions" I then have to sign= all the jars etc=2E I was wondering if anyone knew of a way to reasonably easily allow a java=2Eutil=2EPropertyPermission? What I am trying to achie= ve is XMLDecoding an XMLEncoded file I would like the application to be able to read=2E =20 Thanks for any tips - Chris Murphy -------------------------------------------------------------------- mail2web - Check your email from the web at http://mail2web=2Ecom/ =2E |
From: Thad H. <th...@mi...> - 2004-10-27 14:26:30
|
I'd like to see a better handling of arguments. =A0Why can't I just pass th= ings=20 in to myscript.jnlp and have them seen as arguments (BTW, I'm using J2SE=20 1.4.2; =A0I hear this might be fixed in 1.5. =A0Is it?). Moreover, why can't arguments work like parameters in applets? =A0I'd love = to be=20 able to call a getParameter( imageParam ) vs. having to expect it in a=20 certain order. =A0Currently I use a JSP that generates my JNLP with argumen= ts=20 patterned <argument>param=3Dvalue</arguement> and I use StringTokenizer to= =20 split it on the equals sign, but getParameter() seem so much nicer,=20 especially stuff that I might be moving from applets. On Monday 25 October 2004 21:11, Gerald Bauer wrote: > =A0 =A0 What gets you all worked up when using Web Start? What features do > you want to see added to Web Start or fixed? Let us know. |
From: Gerald B. <ge...@va...> - 2004-10-27 03:00:59
|
Hello, Looks like Joshua Marinacci has hit a nerve with his Web Start Rant Java.net posting. Here are some selected comments: The following changes need to be made in order for Web Start to be half-way usable: * Make the default classloader for Java secure enough, and throw away the JNLP ClassLoader. I want one way to load classes and resources and for that one way to work regardless of the context in which the application is running. * Ditch the JNLP APIs and build security into the existing classes. I shouldn't have to the JNLP APIs for things like opening files, reading files, etc. Security should be built into Object, Class, and JFileChooser. * Create a deployment tool that does the work for you. Something that's simple and Wizard-based that allows me to deploy my apps. The wizard should look through the JAR files, decide what needs to be signed and what doesn't, ask me about where I'm deploying it (either internally within a firewall or externally for general consumption) and then generate the appropriate JNLP file. * Recognize the fact that a good proportion of the developers want to use Web Start to deploy apps within their firewalls, and make it easy to do. The main point here is that if I'm deploying this internally, my users don't care what technology I'm using, and are confused when it starts asking for permission to do things. No native app asks for these things, and neither should Web Start. The app should act as a native desktop app that just happens to be written in Java. * Thread all JAR loading code. * Don't make me sign other people's JARs. That's counterintuitive and gives the user a false sense of security. * Use a single policy file. There's no need to have a javaws policy and a jre policy file. * Don't make me modify policy files on every desktop to deploy something internally. That obviates the need to use WebStart in the first place. Cay Horstmann (of Core Java book fame) comments: I just spent a miserable weekend writing code so that users can run the same app either under Web Start, with the FileOpenService and FileSaveService, or locally, with JFileChooser dialogs. I had to overcome two problems. 1. jnlp.jar is not a part of rt.jar, so I had to load the Web Start specific code with Class.forName 2. The FileSaveService is perverse, forcing you to write the file to a ByteArrayOutputStream before you get the dialog. Why do I have to do this work? More @ http://weblogs.java.net/blog/joshy/archive/2004/10/webstart_rant_1.html - Gerald -------------------- Gerald Bauer Lopica - All Things Web Start | http://lopica.sourceforge.net Web Start Forum | http://webstartforum.com Web Start News Wire | http://webstartnews.com Web Start F.A.Q. | http://webstartfaq.com |
From: Gerald B. <ge...@va...> - 2004-10-26 01:13:36
|
Hello, Joshua Marinacci has posted a blog story on Sun's Java.net site titled "Web Start Rant". Joshua writes: Send me your ideas of what you'd like to see out of webstart. What are the missing features. What are the most important bugs? I want to figure out what we can do through addons and what requires changes from Sun. This is what I'd like to see: * Better icon support. Make the width/height attributes do something, like select the right icon for the right job. If the desktop uses 48x48 icons, use the <icon width="48" height="48"> first. Let the jnlp file include platform specific icons too. Also, support PNG w/ transparency. Java apps still look inferior to native ones with such awful icon and splash screen support. * Create a SocketService to ask the user for permission to contact a site, and let the program spell out a reason why. Remember that permission in the future. (Think of the OS X keychain). * More demonstration applications. There should be a top quality example app that looks great, runs fast, and exercises all of the Web Start features. The source should be available and well documented. Pay someone to do this if you have to. * A sample self-contained JSP that implements the webstart/jre autodetection and autodownload. The current document is spotty and scattered. This should be super easy to drop into your existing website. * A set of standard button icon for Webstart. Similar to the and Get Firefox. This is important both for branding and functional reasons. * More of a general Swing issue. A set of standard icons for applications to use. This is a good (though very unpublicized) start, but we need more. It should be a quick jar download from an icons.dev.java.net project and be community extendable. They should be platform independent and look reasonable good on all of them (Win, OSX, and Gnome/KDE). A hard task, I know, but not impossible. With a set of templates and PSD files it's actually quite easy for members of the community to add new icons. Source: http://weblogs.java.net/blog/joshy/archive/2004/10/webstart_rant_1.html What gets you all worked up when using Web Start? What features do you want to see added to Web Start or fixed? Let us know. - Gerald -------------------- Gerald Bauer Lopica - All Things Web Start | http://lopica.sourceforge.net Web Start Forum | http://webstartforum.com Web Start News Wire | http://webstartnews.com Web Start F.A.Q. | http://webstartfaq.com |
From: Richard T <hip...@co...> - 2004-10-11 19:56:17
|
Help regarding Java 2 Runtime Environment would be appreciated.I'm running WinXP Home with SP2 on a Dell Dimension 8100. I have the following JRE files and wonder if I need all of them: Java 2 Runtime Environment, SE v1.4.0_01 Size 1.66MB SE v1.4.1_02 Size 1.74MB SE v1.4.2_01 Size 106.00MB SE v1.4.2_03 Size 107.00MB SE v1.4.2_04 Size 107.00MB Java Runtime Environment 1.1 Size 5.44MB Do I need all the JRE files or just the most recent? Thanks for any help. Dick Varon -- This mail was scanned with Norton Anti Virus before it left me |