|
From: David D. <hap...@hu...> - 2006-07-16 04:47:59
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> David (Nice name, by the way),<br> <br> I tried it (sounded like the perfect solution), but apparently my hosting service does not allow that: I upload the file, FileZilla shows it there, and then it immediately disappears. They must treat it as a virus and wipe it automatically. Weird, huh?<br> <br> <shame>I know I should have thought of that, but I usually learn new things by using them, and most default Apache setups work great out of the box. I know a lot more about Tomcat, but that's because I've had to set up several web-apps and services for various clients and projects.</shame><br> <br> Appreciate the help, though, and that'll give me another point to argue with the hosting service.<br> David<br> <br> David Hayes wrote: <blockquote cite="mid20060716042726.MIOV12077.eastrmmtao01.cox.net@davyboy" type="cite"> <meta http-equiv="Content-Type" content="text/html; "> <meta name="Generator" content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--><o:SmartTagType namespaceuri="urn:schemas-microsoft-com:office:smarttags" name="PersonName"> <!--[if !mso]> <style> st1\:*{behavior:url(#default#ieooui) } </style> <![endif]--> <style> <!-- /* Font Definitions */ @font-face {font-family:Wingdings; panose-1:5 0 0 0 0 0 0 0 0 0;} @font-face {font-family:Tahoma; panose-1:2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0cm; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman"; color:black;} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:blue; text-decoration:underline;} pre {margin:0cm; margin-bottom:.0001pt; font-size:10.0pt; font-family:"Courier New"; color:black;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @page Section1 {size:595.3pt 841.9pt; margin:72.0pt 90.0pt 72.0pt 90.0pt;} div.Section1 {page:Section1;} /* List Definitions */ @list l0 {mso-list-id:421341165; mso-list-template-ids:-1066389824;} @list l0:level1 {mso-level-number-format:bullet; mso-level-text:\F0B7; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:10.0pt; font-family:Symbol;} @list l1 {mso-list-id:1714379656; mso-list-template-ids:-1739543238;} @list l1:level1 {mso-level-number-format:bullet; mso-level-text:\F0B7; mso-level-tab-stop:36.0pt; mso-level-number-position:left; text-indent:-18.0pt; mso-ansi-font-size:10.0pt; font-family:Symbol;} ol {margin-bottom:0cm;} ul {margin-bottom:0cm;} --> </style><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--> </o:SmartTagType> <div class="Section1"> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">David,<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Your server is an apache, so can’t you just add a mime-type to a .htaccess file in the apps directory?<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">If you don’t have a .htaccess file, try the one above. If you do, just add the one line into your file:<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">AddType application/x-java-jnlp-file jnlp<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Hope this helps,<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">David Hayes<o:p></o:p></span></font></p> <p class="MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><o:p> </o:p></span></font></p> <div> <div class="MsoNormal" style="text-align: center;" align="center"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt; color: windowtext;" lang="EN-US"> <hr tabindex="-1" align="center" size="2" width="100%"></span></font></div> <p class="MsoNormal"><b><font color="black" face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; color: windowtext; font-weight: bold;" lang="EN-US">From:</span></font></b><font color="black" face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; color: windowtext;" lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:wra...@li...">wra...@li...</a> [<a class="moz-txt-link-freetext" href="mailto:wra...@li...">mailto:wra...@li...</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>David Days<br> <b><span style="font-weight: bold;">Sent:</span></b> 16 July 2006 00:16<br> <b><span style="font-weight: bold;">To:</span></b> <st1:PersonName w:st="on"><a class="moz-txt-link-abbreviated" href="mailto:wra...@li...">wra...@li...</a></st1:PersonName><br> <b><span style="font-weight: bold;">Subject:</span></b> [Wrapper-user] GUI Available</span></font><font color="black"><span style="color: windowtext;" lang="EN-US"><o:p></o:p></span></font></p> </div> <p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;"><o:p> </o:p></span></font></p> <p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Leif (and anyone else interested.)<br> <br> I've placed the Jar file on my company site (please excuse the sparseness if you look around) at:<br> <br> <a href="http://www.tdcs.cc/apps/jswconf/JSWConf.jar">http://www.tdcs.cc/apps/jswconf/JSWConf.jar</a> (for some reason, capitalization is important when specifying the file)<br> <br> My hosting service is reluctant to add the mime-type for Java Web Start, but you can download the JNLP file and get any updates using the following:<br> <br> <a href="http://www.tdcs.cc/apps/JSWConf.jnlp">http://www.tdcs.cc/apps/JSWConf.jnlp</a> (again, caps seem to be important to the hosting service)<br> <br> Running: Either use the jnlp file or enter "java -jar JSWConf.jar" That's it!<br> <br> Usage:<o:p></o:p></span></font></p> <ul type="disc"> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Select the file using the "Load" button<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">The list of configuration properties is in the lower window: Green indicates enabled files, Red indicates disables (commented out)<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Select a property and the property, value, state (enabled/disabled), and comments will be displayed in the top panel.<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Changes made are instantaneous<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">"Add" places the new property below the currently selected one.<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">"Remove" deletes the currently selected property.<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">If you want to go back to the originally loaded configuration, select "Reload"<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Click "Save" and the file will be written back to the same place you loaded it from.<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Empty property settings (anything with a blank before the "=") are dropped when writing the output.<o:p></o:p></span></font></li> </ul> <p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;"> Bugs/Shortcomings/"Gee, I'd like it to do this..."/Next version (or so)<o:p></o:p></span></font></p> <ul type="disc"> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Everything has to be manually entered: No auto fill of jars, no file selection (yet), no automatic use of environment settings<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">No pre-select list of properties (simple enough to do, probably in the next version)<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Needs to split up the properties into their relevant sections (JVM, Application Params, Service config, etc)<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">No GPL Notice within the application yet, but I'm going on record as saying that anyone who wants to grab it, mod it, and use it in accordance with the GPL has my blessing.<o:p></o:p></span></font></li> <li class="MsoNormal" style=""><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;">Even an unmodded wrapper.conf file looks slightly different ("diff original-wrapper.conf saved-wrapper.conf" makes it seem as if nothing is the same), but appears to follow the observable conventions of the sample wrapper.conf. This is basically a reverse-engineer job--if anyone can direct me to the documentation for the "standard" I'll try to make it compliant to the letter.<o:p></o:p></span></font></li> </ul> <p class="MsoNormal"><font color="black" face="Times New Roman" size="3"><span style="font-size: 12pt;"> I've had the IO function repeatedly crunch through a file 100 times (load and unload) and the output is consistent. If anyone has any weirdness show up, please let me know. I've tried hard to stamp out unwanted padding and such, but I may have missed something.<br> <br> As always, feel free to pass on criticisms, complaints, faint praise, left-handed compliments, and cash bribes. :-)<br> <br> Hope this helps.<br> David Days<br> <br> "Never confuse movement with action."<br> --Hemingway<br> <br> <br> <o:p></o:p></span></font></p> <pre wrap=""><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;"><o:p> </o:p></span></font></pre> <pre><font color="black" face="Courier New" size="2"><span style="font-size: 10pt;"> <o:p></o:p></span></font></pre> </div> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- 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 <a class="moz-txt-link-freetext" href="http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642">http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642</a> </pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Wrapper-user mailing list <a class="moz-txt-link-abbreviated" href="mailto:Wra...@li...">Wra...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/wrapper-user">https://lists.sourceforge.net/lists/listinfo/wrapper-user</a> </pre> </blockquote> </body> </html> |