Missing version field in response from server when accessing resource: (htt

I'm getting the above error when I specific a version # in the <jar> field under <resources>. If I leave the version out, the application works. If I put in it fails. In both cases I am supplying a version.xml file. From the logs (at the end) I only see the Basic Protocol lookups happening. If it were working I'd expect to see Version-based lookups. It seems the server doesn't know about versioning.
Below are the essentials (Thanks for looking at it!)
I am using Tomcat 5.0, the JnlpDownloadServlet from JDK 1.5.0-beta2 on client and server.
WAR file layout:
META-INF/
META-INF/MANIFEST.MF
index.html
WEB-INF/
WEB-INF/lib/
WEB-INF/lib/jnlp-servlet.jar
app/
app/images/
app/images/bullwinkle.jpg
app/Pacer.jnlp
app/version.xml
app/Pacer.jar
WEB-INF/web.xml
Contents of Pacer.jnlp
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="$$codebase">
<information>
<title>Pacer jnlp</title>
<vendor>Unicon</vendor>
<description>Pacer as a webstart app</description>
<description kind="short">Pacer using JWS</description>
<description kind="tooltip">Pacer"</description>
     <homepage href="../index.html"/>
     <icon href="images/bullwinkle.jpg"/>
     <icon kind="splash" href="images/bullwinkle.jpg"/>
<offline-allowed/>
</information>
<security>
<!-- <all-permissions/> -->
</security>
<resources>
<j2se version="1.4+"/>
<jar href="Pacer.jar" version="1.0"/>
</resources>
<application-desc main-class="com.demo.app.jnlp.Pacer"/>
</jnlp>
Contents of version.xml
<jnlp-versions>
<resource>
<pattern>
<name>Pacer.jar</name>
<version-id>1.0</version-id>
</pattern>
<file>Pacer.jar</file>
</resource>
</jnlp-versions>
Log info on server-side
2004-07-14 16:37:12 StandardContext[Pacer]Basic Protocol lookup
2004-07-14 16:37:12 StandardContext[Pacer]JnlpResource: JnlpResource[WAR Path: /app/Pacer.jnlp lastModified=Wed Jul 14 15:29:26 EDT 2004]]
2004-07-14 16:37:12 StandardContext[Pacer]Resource returned: /app/Pacer.jnlp
2004-07-14 16:37:12 StandardContext[Pacer]SupportQuery in Href: true
2004-07-14 16:37:12 StandardContext[Pacer]lastModified: 1089833366000 Wed Jul 14 15:29:26 EDT 2004
2004-07-14 16:37:12 StandardContext[Pacer]Double check query string: null
2004-07-14 16:43:45 StandardContext[Pacer]Request: /Pacer/app/Pacer.jnlp
2004-07-14 16:43:45 StandardContext[Pacer]User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)
2004-07-14 16:43:45 StandardContext[Pacer]DownloadRequest[path=/app/Pacer.jnlp isPlatformRequest=false]
2004-07-14 16:43:45 StandardContext[Pacer]Basic Protocol lookup
2004-07-14 16:43:45 StandardContext[Pacer]JnlpResource: JnlpResource[WAR Path: /app/Pacer.jnlp lastModified=Wed Jul 14 15:29:26 EDT 2004]]
2004-07-14 16:43:45 StandardContext[Pacer]Resource returned: /app/Pacer.jnlp
2004-07-14 16:43:45 StandardContext[Pacer]SupportQuery in Href: true
2004-07-14 16:43:45 StandardContext[Pacer]lastModified: 1089833366000 Wed Jul 14 15:29:26 EDT 2004

I fixed this problem. I worked it out using the webpad application as a model. I'll go back later and see what the actual small differences were, but please DON'T LOOK at this problem anymore.

Similar Messages

  • Missing version field in response from server when accessing resource

    HY
    I have a problem to use the version option of the webstart. All files are included into a war file (created with jar cvf xx.war *). This file is in the webapps folder of the Tomcat 5. The jar files from the dev. kit (jnlp-servlet.jar, jaxp.jar, parser.jar are in the WEB-INF/lib folder).
    Every time I get the same message:
    Category: Download Error
    Missing version field in response from server when accessing resource: (http://localhost:8080/version/ademo.jar, 1.1)
    Do I need a aditional file or must Iwrite a servlet???
    Whats wrong
    my JNLP file
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File fuer HJP3 WebStart Demo-Applikation -->
    <jnlp codebase="http://localhost:8080/version/" href="wstest.jnlp">
    <information>
    <title>HJP3 WebStart Demo Application</title>
    <vendor>Guido Krueger</vendor>
    <homepage href="http://www.javabuch.de"/>
    <description>HJP3 WebStart Demo Application</description>
    <icon href="wstest.gif"/>
    <offline-allowed/>
    </information>
    <information locale="de">
    <description>HJP3 WebStart Demo-Applikation</description>
    <offline-allowed/>
    </information>
    <security>
    <!-- <all-permissions/> //-->
    </security>
    <resources>
    <j2se version="1.4+"/>
    <jar href="ademo.jar" version="1.1"/>
    </resources>
    <application-desc main-class="Listing3813"/>
    </jnlp>
    my version.xml file
    <jnlp-versions>
    <resource>
    <pattern>
    <name>ademo.jar</name>
    <version-id>1.1</version-id>
    </pattern>
    <file>application.jar</file>
    </resource>
    </jnlp-versions>
    my web.xml file
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
         <servlet>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
         </servlet>
         <servlet-mapping>
              <servlet-name>JnlpDownloadServlet</servlet-name>
              <url-pattern>*.jnlp</url-pattern>
         </servlet-mapping>
    </web-app>

    The log file (jnlpdownloadservlet.log) would show the calls for the jar files if the servlet is called for the jar files (did you correct the url mapping ?). Here are a few lines from a log file
    JnlpDownloadServlet(4): Initializing
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfeguiv.jnlp
    JnlpDownloadServlet(3): User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfeguiv.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfeguiv.jnlp lastModified=Tue Mar 23 17:06:56 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfeguiv.jnlp
    JnlpDownloadServlet(4): lastModified: 1080058016000 Tue Mar 23 17:06:56 CET 2004
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.gif
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.gif isPlatformRequest=false]
    JnlpDownloadServlet(3): Request: /maportal/wfe/wfegui.jar
    JnlpDownloadServlet(3): User-Agent: JNLP/1.0.1 javaws/1.4.2_03 (b02) J2SE/1.4.2_03
    JnlpDownloadServlet(4): DownloadRequest[path=/wfe/wfegui.jar isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /wfe/wfegui.jar lastModified=Tue Mar 23 17:06:30 CET 2004]]
    JnlpDownloadServlet(3): Resource returned: /wfe/wfegui.jarYou should see all the resources (including jar files) being requested, and whether a specific version was requested or not (in above sample, not).
    I put my problems down to my application server (Orion) as other people seem to have this working. The deployment in Orion keeps the original timestamps of the jars, so I explicitly set the timestamps in my build so that the unchanged jars do not have to be downloaded all the time. This is not really a good solution, so maybe someone else can give further advice.
    Brendan

  • Missing version filed in response from server when accessing resource

    Hello all,
    I am getting the following error when trying to do jar version download in webstart.
    Missing version field in response from server when accessing resource(http://lo alhost:8080/jdc/jnlp/new/SimpleGUI.jar,1.0)
    I am using Tomcat 5.5.
    My web.xml looks like this,
    <web-app>
    <display-name>Tomcat Examples</display-name>
    <description>
    Tomcat Example servlets and JSP pages.
    </description>
    <servlet>
    <servlet-name>
    JnlpDownloadServlet
    </servlet-name>
    <servlet-class>
    jnlp.sample.servlet.JnlpDownloadServlet
    </servlet-class>
    <init-param>
    <param-name>
    logLevel
    </param-name>
    <param-value>
    DEBUG
    </param-value>
    </init-param>
    <init-param>
    <param-name>
    logPath
    </param-name>
    <param-value>
    c:\logs\jnlpdownloadservlet.log
    </param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>/jdc/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jnlp</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jar</url-pattern>
    </servlet-mapping>
    </web-app>
    My version.xml file.
    <jnlp-versions>
    <resource>
    <pattern>
    <name>SimpleGUI_v1.0.jar</name>
    <version-id>1.0</version-id>
    <locale>en_US</locale>
    <locale>en</locale>
    </pattern>
    <file>SimpleGUI_v1.0.jar</file>
    </resource>
    <resource>
    <pattern>
    <name>SimpleGUI_v2.0.jar</name>
    <version-id>2.0</version-id>
    <locale>en_US</locale>
    <locale>en</locale>
    </pattern>
    <file>SimpleGUI_v2.0.jar</file>
    </resource>
    </jnlp-versions>
    My jnlp file is as follows,
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/jdc/jnlp/new" href="SimpleGUI.jnlp">
    <information>
    <title>SimpleGUI</title>
    <vendor>Java Developer Connection</vendor>
    <homepage href="/jdc/jnlp/new/index.html" />
    <description>Demonstration of JNLP</description>
    </information>
    <offline-allowed/>
    <resources>
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.5+ " />
    <jar href="SimpleGUI_v1.0.jar" version="1.0"/>
    <jar href="AddLogic_v1.0.jar"/>
    <jar href="SimpleGUI_v2.0.jar" version="2.0"/>
    <jar href="AddLogic_v2.0.jar"/>
    </resources>
    <application-desc main-class="com.logic.SimpleGUI" />
    </jnlp>
    For the codebase if I use $$codebase then it reports an error showing,
    The field <jnlp> codebase has an invalid value:$$codebase
    I think the JnlpDpwnloadServlet is not getting invoked. I cant figure out my mistake. I am tired searching in forums and there is no proper answer to this problem. Any help is appreciated.
    Thanks in advance.
    Regards,
    robi

    Thanks for including all your code. I've ran into version download problems before also. In the jar reference don't include the actual __V.jar file name, just include all pre __V.jar. <jar href="AddLogic_v1.0.jar"/> would become <jar href="AddLogic.jar"/>. Now I haven't done it with the version.xml before I just did it with making file named *__V.jar.
    I just re-read all that you did, if you title your files with the __V.jar notation you don't need a version.xml file.
    <jar href="SimpleGUI_v1.0.jar" version="1.0"/>
    Should become
    <jar href="SimpleGUI.jar" version="1.0"/>
    And you would have SimpleGUI_v1.0.jar on your server. Also might need it to be a capital "V" not sure.
    Message was edited by:
    javaunixsolaris

  • Missing version field in response...( Tomcat, JBuilder )

    Hello,
    (Sorry for a long message, but I saw several times messages with the only
    response like "write more details...")
    I'm trying to execute a simple Web Start application using version-based download.
    I'm constantly receiving the following error:
    Missing version field in response from server when accessing resource:
    (http://localhost:8083/checkboxcontrol/CheckBoxControl.jar, 1.1)
    Is it possible that there is a bug somewhere within Web Start ?
    The download is working in a basic version - the problem starts to occur when
    I'm changing JNLP to:
    <jar href="CheckBoxControl.jar" version="1.1"/>
    Is there anybody that can help me ?
    (I've read all past messages about "Missing version field in response...")
    Below is all information about the case.
    URL:
    ===================
    http://localhost:8083/checkboxcontrol/CheckBoxControlLauncher.jnlp
    Software configuration:
    ======================================
    JBuilder 9 Enterprise Trial
    Java Web Start 1.4.2
    Tomcat 4.1 (included for debugging inside the JBuilder)
    Windows NT 4.0 SP6a
    Mozilla Firebird 0.6.1
    Please note that I've tried also with IBM Websphere 4 - the same result.
    JNLP file:
    ===================
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8083/checkboxcontrol">
    <information>
    <title>CheckBox Example</title>
    <vendor>Borland</vendor>
    <homepage href="CheckBoxControlLauncher.html" />
    <description>Web Start Example for CheckBoxControl</description>
    </information>
    <resources>
    <j2se version="1.3+" />
    <jar href="CheckBoxControl.jar" version="1.1"/>
    </resources>
    <application-desc main-class="com.borland.samples.swing.checkboxcontrol.Application1" />
    </jnlp>
    File directory contents:
    ========================
    .\Lib (empty)
    .\WEB-INF
    ->\classes
    ->->\checkboxcontrol
    ->->->\WEB-INF
    ->->->->\Lib
    ->->->->->\jardiff.jar
    ->->->->->\jnlp-servlet.jar
    ->->->->->\jnlp.jar
    ->->\classes\com\borland\samples\swing\checkboxcontrol\
    ->->->\Application1.class
    ->->->\Frame1$1.class
    ->->->\Frame1$2.class
    ->->->\Frame1$3.class
    ->->->\Frame1$4.class
    ->->->\Frame1$5.class
    ->->->\Frame1.class
    ->\lib
    ->->\jardiff.jar
    ->->\jnlp-servlet.jar
    ->->\jnlp.jar
    ->\web.xml
    CheckBoxControl.jar
    CheckBoxControlLauncher.html
    CheckBoxControlLauncher.jnlp
    CheckBoxControl__V1.1.jar
    version.xml
    web.xml contents:
    ===================
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
    "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
    <servlet>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
    </servlet>
    [... cut ....]
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jnlp</url-pattern>
    </servlet-mapping>
    <mime-mapping>
    <extension>jar</extension>
    <mime-type>application/x-java-archive</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>jnlp</extension>
    <mime-type>application/x-java-jnlp-file</mime-type>
    </mime-mapping>
    </web-app>
    version.xml contents:
    ======================================
    <jnlp-versions>
    <resource>
    <pattern>
    <name>CheckBoxControl.jar</name>
    <version-id>1.1</version-id>
    </pattern>
    <file>CheckBoxControl.jar</file>
    </resource>
    </jnlp-versions>
    Stack trace:
    ===================
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.cache.DownloadProtocol.doDownload(DownloadProtocol.java:566)
         at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(DownloadProtocol.java:850)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(LaunchDownload.java:580)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(LaunchDownload.java:544)
         at com.sun.javaws.Launcher.downloadResources(Launcher.java:735)
         at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:291)
         at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:199)
         at com.sun.javaws.Launcher.run(Launcher.java:167)
         at java.lang.Thread.run(Thread.java:534)

    I took a scan through what you posted and it looked OK - it has to be something simple. Sometimes it helps to compare against a working system - try looking at ScheduleWorld's jnlp.

  • JWS1.2 & Missing version field in response

    I must say that the guys with JWS1.2 have done well in getting around the proxy issues with the previous versions. However, its disappointing to see this error still occuring when you perform a version based download which is one of the most useful pieces of functionality in JWS (see quote below) . So when a cleint has proxy issues its goodbye 'Bad MIME type error' and hello 'Missing version field in response from server when accessing resource'. Is this really progress? Surely most people use version based downloads?
    Will this be fixed for 1.4.1 final and / or does anybody know of a workaround? I've included a previous quote, our jnlp, errors and stack dump below.
    Many thanks
    Ian
    Quote from dietz Jul9, 2002
    "The problem is probably that your proxy server is not passing on the correct mime type. Some proxy servers (I'm sorry I don't remember which ones) will only pass on mime types that they are aware of, and will substitute text/html, for others. This should be no problem when using Java Web Start 1.2, since it itself does not require that jnlp files download come with the proper mime type. You may still have a problem using these proxy servers if you are running a servlet implementing the jardiff (incremental update) protocol, since Java Web Start may use the mime type to differenciate between jar files (application/x-java-archive) and jardiff files (application/x-java-archive-diff) "
    An error occurred while launching/running the application.
    Title: OS MasterMap Viewer
    Vendor: Snowflake Software
    Category: Download Error
    Missing version field in response from server when accessing resource: (http://www.snowflakesoft.co.uk/app/viewer.jar, 1.1)
    Stack dump:
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]      at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)      at com.sun.javaws.cache.DownloadProtocol.getDownloadSize(Unknown Source)      at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)      at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)      at com.sun.javaws.Launcher.downloadResources(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)
    JNLP:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://www.snowflakesoft.co.uk/app/" href="viewer.jnlp">
    <information>
    <title>OS MasterMap Viewer</title>
         <vendor>Snowflake Software</vendor>
         <description kind="one-line">A Java based map viewer for OS MasterMap</description>
         <description kind="short">A Java based viewer for OS MasterMap capable of reading both Topology and Independent Polygons in either GZip, WinZip or uncompressed GML</description>
         <description kind="tooltip">OS MasterMap Viewer</description>
         <homepage href="http://www.snowflakesoft.co.uk"/>
         <icon width="64" height="64" href="images/SnowflakeLogo64.gif"/>
         <icon width="32" height="32" href="images/SnowflakeLogo32.gif"/>
         <icon kind="splash" href="images/SnowflakeSplash.gif"/>
         <offline-allowed/>
    </information>
         <security>
              <all-permissions/>
         </security>
    <resources>
         <j2se version="1.3*" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="8m" max-heap-size="1024m"/>
         <j2se version="1.4*" href="http://java.sun.com/products/autodl/j2se" initial-heap-size="8m" max-heap-size="1024m"/>
         <jar href="viewer.jar" version="1.1"/>
    </resources>
    <application-desc main class="uk.co.snowflakesoft.jme.application.Viewer"/>
    </jnlp>

    Version based download protocol is not available with vanila web server.
    You need to either run some form of script, jsp, or a servlet such as the JNLPDownloadServlet included in the developers pack, to return the requested version, and with the version information.
    If you are currently running the servlet you may still be having problem with your proxy having security settings that prohibit sending the additional version information on to the client, although I have never heard of this before.
    /Dietz

  • Error - "No Response From Server" when publishing.

    Upload hangs up at random points.  Seems to be whith larger files.  website www.tcs-pub-and-grub.com

    Hello,
    Please check if the suggestions in the below threads help resolve the issue:
    http://forums.adobe.com/message/5994460
    http://forums.adobe.com/message/5698414
    Cheers
    Parikshit

  • Missing version field  from server

    While running the application from java webstart i am getting this error
    Missing version field in response from server when accessing resource: (http://localhost:8080/test/log.jar, 4.5)
    My jnlp file is like this
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/test"
    href="log.jnlp">
    <information>
    <title>Test</title>
    <vendor>ABC</vendor>
    <homepage href="http://localhost:8080/test/log.html"/>
    <description>My Application (Tomcat) </description>
    </information>
    <security><all-permissions/></security>
    <resources>
    <j2se version="1.4+" />
    <jar href="lib/log.jar" version ="4.5" main="true" download="eager"/>
    <jar href="lib/charsets.jar"/>
    <jar href="lib/pg73jdbc3.jar"/>
    </resources>
    <application-desc main-class="com.Main">
    </application-desc>
    </jnlp>
    My main purpose is to set the version of the jar file and if the version is same it should not be downloaded again

    To use the version based download protocol your resources on the server must follow a naming convention to enable the download servlet to check the file versions.
    A description and simple examples are found here: http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/downloadservletguide.html
    Bye Schippe

  • Missing version field

    Hello everyone.
    I have problem with version-download protocol. Every time I start up the application using JWS an error ocurred:Missing version field in response from server when accessing resource: (http://localhost:8080/PzP_Test/front01.jar, 1.0)
    This is my web.xml code:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC '-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN' 'http://java.sun.com/dtd/web-app_2_3.dtd'>
    <web-app>
      <display-name>PzP_Test</display-name>
      <servlet>
        <servlet-name>JnlpDownloadServlet</servlet-name>
        <display-name>JnlpDownloadServlet</display-name>
        <servlet-class>com.sun.javaws.servlet.JnlpDownloadServlet</servlet-class>
        <init-param>
          <param-name>logLevel</param-name>
          <param-value>DEBUG</param-value>
        </init-param>
        <init-param>
          <param-name>logPath</param-name>
          <param-value>/jnlpdownloadservlet.log</param-value>
        </init-param>
      </servlet>
      <servlet-mapping>
        <servlet-name>JnlpDownloadServlet</servlet-name>
        <url-pattern>/PzP_Test/*</url-pattern>
      </servlet-mapping>
      <session-config>
        <session-timeout>30</session-timeout>
      </session-config>
      <mime-mapping>
        <extension>jar</extension>
        <mime-type>application/x-java-archive</mime-type>
      </mime-mapping>
      <mime-mapping>
        <extension>jnlp</extension>
        <mime-type>application/x-java-jnlp-file</mime-type>
      </mime-mapping>
      <welcome-file-list>
        <welcome-file>pzpj.jnlp</welcome-file>
      </welcome-file-list>
    </web-app>This is my jnlp file (the jnlp is creting dynamicly) :
    jnlp.jsp
    <%
    response.setContentType("application/x-java-jnlp-file");
    %>
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/PzP_Test/" href="jnlp.jsp">
      <information>
        <title>aaaa</title>
        <vendor>dddd/vendor>
        <homepage href="Login.jsp"/>
        <description>some text</description>
      </information>
      <security>
          <all-permissions/>
      </security>
      <resources>
        <j2se version="1.4+"/>
        <jar href="front01.jar" main="true" download="eager" version="1.0"/>
        <jar href="front02.jar" main="false" download="eager" version="1.0"/>
        <jar href="front03.jar" main="false" download="eager" version="1.0"/>
        <jar href="front04.jar" main="false" download="eager" version="1.0"/>
      </resources>
      <application-desc main-class="pl.dd.aa.DDD"/>
    </jnlp>This is my version.xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp-versions>
          <resource>
             <pattern>
               <name>front01.jar</name>
                <version-id>1.0</version-id>
             </pattern>
             <file>front01.jar</file>
          </resource>
          <resource>
             <pattern>
               <name>front02.jar</name>
                <version-id>1.0</version-id>
             </pattern>
             <file>front02.jar</file>
          </resource>
          <resource>
             <pattern>
               <name>front03.jar</name>
                <version-id>1.0</version-id>
             </pattern>
             <file>front03.jar</file>
          </resource>
          <resource>
             <pattern>
               <name>front04.jar</name>
                <version-id>1.0</version-id>
             </pattern>
             <file>front04.jar</file>
          </resource>
       </jnlp-versions>And the PzP_Test.war file looks like this:
    /PzP_Test/front01.jar
    /PzP_Test/front02.jar
    /PzP_Test/front03.jar
    /PzP_Test/front04.jar
    /PzP_Test/jnlp.jsp
    /PzP_Test/version.xml
    /PzP_Test/WEB-INF/web.xml
    /PzP_Test/WEB-INF/lib/jnlp-servlet.jar
    Any ideas!?

    Ok I resolved it by myself. I have problems with mapping in web.xml file.
    But now I have another problem. My jnlp file is created dynamicly. Jsp page create it. When I lunch my app using test.jnlp everything is working fine but when I want to start app with test.jsp then webstart doesn't start and the message occures "Save file as"
    Has someon got any idea on this?

  • Webstart error: missing version response from server

    We deploy our application by Java Webstart. This works most of the time, but at the last update one client got an error when trying to update.
    The jnlp-file looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <!-- JNLP File -->
    <jnlp spec="1.0+" codebase="http://xyz/webstart/app/" href="webstart.jnlp"> 
    <information>   
      <title>xyz</title>   
      <vendor>xyz</vendor>   
      <homepage href="http://xyz"/>   
      <description>xyz</description>   
      <description kind="short">xyz</description>   
      <icon href="images/rvicon.gif"/>   
      <icon kind="splash" href="images/rvicon.gif"/>   
      <offline-allowed/> 
    </information> 
    <security>     
      <all-permissions/> 
    </security> 
    <resources>   
      <j2se version="1.5+"/>   
      <jar href="webstart.jar" version="0.52"/> 
    </resources> 
    <application-desc main-class="UseWebStartWithIsiplan"/>
    </jnlp>The webstart__V0.52.jar is located in $CATALINA_HOME/webapps/webstart/app.
    The user gets the following error:
    Exception:
    com.sun.deploy.net.FailedDownloadException: Ressource konnte nicht geladen werden: (http://xyz/webstart/app/webstart.jar, 0.52)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)Nested Exception:
    java.io.IOException: missing version response from server
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)The client is running Windows XP SP2 and Java version 1.6.0_03-b05.
    The Server is Apache Tomcat 5.5.23, Java version 1.5.0_12-b04.
    Has anybody an idea what might cause this error?

    We've gotten that error when the servlet runs out of memory. The out of memory error happens when it is building the jardiff file, which can require a lot of memory to do. The servlet caches any jardiffs that it builds, so most users won't see the problem because they are requesting prebuilt jardiffs.
    We've found that the servlet runs best with 256mb of max heap. But I'd imagine we are more heavy weight users than most.
    I've done some stress testing on the 1.5 servlet and did not find any real memory leaks.
    Based on the open source version of the servlet (which I believe is pretty much the same as the one distributed with java 1.5).
    It is keeping objects in memory to track which jardiffs it has built and to track any accessed resource (jar or jnlp). If your server has enough different jars and jnlps then you need to give it enough memory to keep all these small objects in memory.
    If you want be 100% sure you've given it enough memory, then you can write a script which does a HEAD request on every possible jar and jnlp inside of the servlet. That should max out its memory usage.

  • No response from server error when transferring files

    Hi, I just changed my website over from a windows based server to a linux one. I wasn't having any problems and now I can't get my files to load onto the server. I contacted the server provider who has tested things on their end and say the problem is with dreamweaver. This is the message I have been getting...
    no response from server while transferring file.... reconnecting.
    It says that it is putting the file, and then I receive this message again..
    no response from server while transferring. 2 attempts made.  try again or cancel?
    if I hit cancel, then it starts putting the file and sometimes it goes through, sometimes not.
    Now if I manage to get the file through, when I post it on the web and click on the link it says the file is damaged or corrupted.
    Anyone have any idea how to correct this? I am new to dreamweaver and web design and I thought maybe the problem has to do with my site definition, but I can't see that there is a problem. I have noticed that before I changed the site definition for the linux server I could easily preview my pages in the browser without having to post it to the site. Now when I try to preview my pages it says that I have to put it to the site in order to view it. Could that be related?
    I am working on a Mac and haven't installed a firewall.
    Any help is much appreciated!!!
    Thank you!

    In the Site Settings (Advanced Mode) there is an option where you set up the remote connection for Passive FTP.  Try checking that box and see if you are able to connect.

  • No Response from Server at end of day:  4.03

    We're using Weblogic 4.03 on Solaris. At the end of a busy day, users
    start submitting their transactions and some users start calling the
    help desk saying that performance is very slow and I believe they are
    getting "No Response from Server" from their browser.
    We think it's the number of Execute Threads defined. I have provided
    the settings when we received HelpDesk calls. We have also modified the
    settings as mentioned below.
    Some questions.
    When does an Execute thread get used?
    Can an execute thread be used for a long period of time (many seconds)
    based on weblogic property settings?
    Do the keepAlive properties keep a thread alive?
    Does a connection keep a thread alive?
    Does anyone know a way to monitor thread usage in 4.03?
    In what situations can a connection use more than 1 thread?
    Does anyone think we're on the right track?
    We have defined the JRE to have a 64 meg heap.
    We looked at the T3AdminMain console and at one point and saw 27
    connections being used. It's hard for us to determine if this was the
    high point for the day. We're not sure how to capture this type of
    info. We're thinking if there were 27 connections and each of those
    connections was somehow using 2 threads, this might explain the problem.
    About our application, we have HTTP and HTTP requests coming through a
    browser client and we also have a Java UI client executing T3s
    connections.
    The browser version sees a user login to the application without being
    timed out for 20 minutes (1200 seconds). We have reduced this to 900
    seconds.
    Basically, we're not sure how Weblogic handles threads based on the
    properties we've used. We have looked for documentation on this, but
    have not found any. Any help would be much appreciated.
    Please reply to my email id as well, if that's not too much trouble.
    Thanks in advance for any help...
    Mike
    Here are some of our property file settings when we received the
    problem:
    weblogic.httpd.http.keepAliveSecs: 60
    weblogic.httpd.https.keepAliveSecs: 360
    weblogic.httpd.session.cacheEntries: 1024
    weblogic.httpd.session.invalidationIntervalSecs: 60
    weblogic.httpd.session.jdbc.connTimeoutSecs: 120
    weblogic.httpd.session.swapIntervalSecs: 10
    weblogic.httpd.session.timeoutSecs: 1200
    weblogic.system.executeThreadCount: 42
    weblogic.system.percentSocketReaders: 33
    We have changed the settings below and restarted the server. We have
    not received any feedback yet.
    weblogic.httpd.http.keepAliveSecs: 30
    weblogic.httpd.https.keepAliveSecs: 180
    weblogic.httpd.session.timeoutSecs: 900
    weblogic.system.executeThreadCount: 60

    I've read previous threads about the problem with 4.5 and the rebuilding of the
    bean cache on each method call resulting in slowdown of the system over time. I
    also see that patches have been provided. Is this also an issue with 4.0.3 and
    have fixes been made there? We also are seeing significant degradation of
    performance over time during our load testing and have been unable to determine
    the cause. We are running on a 4 processor NT machine with 1 gigabyte of RAM.
    When we see the degradation of performance, one processor is operating at 100%
    and memory is maxed out.
    Thanks,
    Jim Gish
    Venkatesh Iyer wrote:
    Mike
    To begin with, can you
    a) please check the access.log to determine the the "arrival rate" of the
    HTTP request. If the requests are not arriving fast enough, tuning WLS will
    not help.
    b) monitor the WLS server through the console to check the # of requests in
    the queue waiting to be processed. This will give an idea of the potential
    source of the bottlenecks in the system.
    Mike Upton wrote:
    We're using Weblogic 4.03 on Solaris. At the end of a busy day, users
    start submitting their transactions and some users start calling the
    help desk saying that performance is very slow and I believe they are
    getting "No Response from Server" from their browser.
    We think it's the number of Execute Threads defined. I have provided
    the settings when we received HelpDesk calls. We have also modified the
    settings as mentioned below.
    Some questions.
    When does an Execute thread get used?
    Can an execute thread be used for a long period of time (many seconds)
    based on weblogic property settings?
    Do the keepAlive properties keep a thread alive?
    Does a connection keep a thread alive?
    Does anyone know a way to monitor thread usage in 4.03?
    In what situations can a connection use more than 1 thread?
    Does anyone think we're on the right track?
    We have defined the JRE to have a 64 meg heap.
    We looked at the T3AdminMain console and at one point and saw 27
    connections being used. It's hard for us to determine if this was the
    high point for the day. We're not sure how to capture this type of
    info. We're thinking if there were 27 connections and each of those
    connections was somehow using 2 threads, this might explain the problem.
    About our application, we have HTTP and HTTP requests coming through a
    browser client and we also have a Java UI client executing T3s
    connections.
    The browser version sees a user login to the application without being
    timed out for 20 minutes (1200 seconds). We have reduced this to 900
    seconds.
    Basically, we're not sure how Weblogic handles threads based on the
    properties we've used. We have looked for documentation on this, but
    have not found any. Any help would be much appreciated.
    Please reply to my email id as well, if that's not too much trouble.
    Thanks in advance for any help...
    Mike
    Here are some of our property file settings when we received the
    problem:
    weblogic.httpd.http.keepAliveSecs: 60
    weblogic.httpd.https.keepAliveSecs: 360
    weblogic.httpd.session.cacheEntries: 1024
    weblogic.httpd.session.invalidationIntervalSecs: 60
    weblogic.httpd.session.jdbc.connTimeoutSecs: 120
    weblogic.httpd.session.swapIntervalSecs: 10
    weblogic.httpd.session.timeoutSecs: 1200
    weblogic.system.executeThreadCount: 42
    weblogic.system.percentSocketReaders: 33
    We have changed the settings below and restarted the server. We have
    not received any feedback yet.
    weblogic.httpd.http.keepAliveSecs: 30
    weblogic.httpd.https.keepAliveSecs: 180
    weblogic.httpd.session.timeoutSecs: 900
    weblogic.system.executeThreadCount: 60
    [jgish.vcf]

  • No response from server HTTP 500

    Hi all,
    I am new to Widget world (in fact this is the first one). I am trying to implement Job Monitoring widget as explained in the weblog:
    /people/sergio.cipolla/blog/2007/02/19/widgets-benefits-jobs-monitor-video
    I have created wrapper function module : ZBP_JOB_SELECT_SM37B
    Created Webservice called:  ZBP_JOB_SELECT_SM37B
    I tested this web service (via web browser providing WSDL url in web services navigator) and it is working fine.
    When i specify the web service URL in Widget prefernces and click on search, i m getting error "No response from server". I have followed all the steps mentioned in the web log but still i am getting errors.
    I am accessing internet via proxy. Can this be a issue?
    Also i read other posts regarding the same issue, which suggested to Enable all logons in SICF. Can some one give details as how to enable all logons in SICF?
    Correct answers will be rewarded.
    Thanks a lot.
    Rashmi

    Hi Sergio,
    The WSDL is:
      <?xml version="1.0" encoding="utf-8" ?>
    - <wsdl:definitions targetNamespace="urn:sap-com:document:sap:rfc:functions" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:rfc:functions" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    - <wsdl:types>
    - <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:rfc:functions" targetNamespace="urn:sap-com:document:sap:rfc:functions" elementFormDefault="unqualified" attributeFormDefault="qualified">
    - <xsd:simpleType name="RfcException.Message.Number">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char1">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="1" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char10">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char12">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="12" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char128">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="128" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char18">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="18" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char20">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="20" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char32">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="32" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char40">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="40" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char64">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="64" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char70">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="70" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="char8">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="clnt3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="date">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="10" />
      <xsd:pattern value="\d\d\d\d-\d\d-\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric2">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="2" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="numeric3">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="3" />
      <xsd:pattern value="\d*" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:simpleType name="time">
    - <xsd:restriction base="xsd:string">
      <xsd:maxLength value="8" />
      <xsd:pattern value="\d\d:\d\d:\d\d" />
      </xsd:restriction>
      </xsd:simpleType>
    - <xsd:complexType name="TBTCJOB">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="INTREPORT" type="tns:char40" />
      <xsd:element name="STEPCOUNT" type="xsd:int" />
      <xsd:element name="SDLSTRTDT" type="tns:date" />
      <xsd:element name="SDLSTRTTM" type="tns:time" />
      <xsd:element name="BTCSYSTEM" type="tns:char32" />
      <xsd:element name="SDLDATE" type="tns:date" />
      <xsd:element name="SDLTIME" type="tns:time" />
      <xsd:element name="SDLUNAME" type="tns:char12" />
      <xsd:element name="LASTCHDATE" type="tns:date" />
      <xsd:element name="LASTCHTIME" type="tns:time" />
      <xsd:element name="LASTCHNAME" type="tns:char12" />
      <xsd:element name="RELDATE" type="tns:date" />
      <xsd:element name="RELTIME" type="tns:time" />
      <xsd:element name="RELUNAME" type="tns:char12" />
      <xsd:element name="STRTDATE" type="tns:date" />
      <xsd:element name="STRTTIME" type="tns:time" />
      <xsd:element name="ENDDATE" type="tns:date" />
      <xsd:element name="ENDTIME" type="tns:time" />
      <xsd:element name="PRDMINS" type="tns:numeric2" />
      <xsd:element name="PRDHOURS" type="tns:numeric2" />
      <xsd:element name="PRDDAYS" type="tns:numeric3" />
      <xsd:element name="PRDWEEKS" type="tns:numeric2" />
      <xsd:element name="PRDMONTHS" type="tns:numeric2" />
      <xsd:element name="PERIODIC" type="tns:char1" />
      <xsd:element name="DELANFREP" type="tns:char1" />
      <xsd:element name="EMERGMODE" type="tns:char1" />
      <xsd:element name="STATUS" type="tns:char1" />
      <xsd:element name="NEWFLAG" type="tns:char1" />
      <xsd:element name="AUTHCKNAM" type="tns:char12" />
      <xsd:element name="AUTHCKMAN" type="tns:clnt3" />
      <xsd:element name="SUCCNUM" type="xsd:int" />
      <xsd:element name="PREDNUM" type="xsd:int" />
      <xsd:element name="JOBLOG" type="tns:char20" />
      <xsd:element name="LASTSTRTDT" type="tns:date" />
      <xsd:element name="LASTSTRTTM" type="tns:time" />
      <xsd:element name="WPNUMBER" type="xsd:int" />
      <xsd:element name="WPPROCID" type="xsd:int" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="BTCSYSREAX" type="tns:char32" />
      <xsd:element name="JOBCLASS" type="tns:char1" />
      <xsd:element name="PRIORITY" type="xsd:int" />
      <xsd:element name="EVENTCOUNT" type="tns:char8" />
      <xsd:element name="CHECKSTAT" type="tns:char1" />
      <xsd:element name="CALENDARID" type="tns:char2" />
      <xsd:element name="PRDBEHAV" type="tns:char1" />
      <xsd:element name="EXECSERVER" type="tns:char20" />
      <xsd:element name="EOMCORRECT" type="xsd:int" />
      <xsd:element name="CALCORRECT" type="xsd:int" />
      <xsd:element name="REAXSERVER" type="tns:char20" />
      <xsd:element name="RECLOGSYS" type="tns:char10" />
      <xsd:element name="RECOBJTYPE" type="tns:char10" />
      <xsd:element name="RECOBJKEY" type="tns:char70" />
      <xsd:element name="RECDESCRIB" type="tns:char10" />
      <xsd:element name="TGTSRVGRP" type="tns:char40" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TBTCJOB_BK">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="INTREPORT" type="tns:char40" />
      <xsd:element name="STEPCOUNT" type="xsd:int" />
      <xsd:element name="SDLSTRTDT" type="tns:date" />
      <xsd:element name="SDLSTRTTM" type="tns:time" />
      <xsd:element name="BTCSYSTEM" type="tns:char32" />
      <xsd:element name="SDLDATE" type="tns:date" />
      <xsd:element name="SDLTIME" type="tns:time" />
      <xsd:element name="SDLUNAME" type="tns:char12" />
      <xsd:element name="LASTCHDATE" type="tns:date" />
      <xsd:element name="LASTCHTIME" type="tns:time" />
      <xsd:element name="LASTCHNAME" type="tns:char12" />
      <xsd:element name="RELDATE" type="tns:date" />
      <xsd:element name="RELTIME" type="tns:time" />
      <xsd:element name="RELUNAME" type="tns:char12" />
      <xsd:element name="STRTDATE" type="tns:date" />
      <xsd:element name="STRTTIME" type="tns:time" />
      <xsd:element name="ENDDATE" type="tns:date" />
      <xsd:element name="ENDTIME" type="tns:time" />
      <xsd:element name="PRDMINS" type="tns:numeric2" />
      <xsd:element name="PRDHOURS" type="tns:numeric2" />
      <xsd:element name="PRDDAYS" type="tns:numeric3" />
      <xsd:element name="PRDWEEKS" type="tns:numeric2" />
      <xsd:element name="PRDMONTHS" type="tns:numeric2" />
      <xsd:element name="PERIODIC" type="tns:char1" />
      <xsd:element name="DELANFREP" type="tns:char1" />
      <xsd:element name="EMERGMODE" type="tns:char1" />
      <xsd:element name="STATUS" type="tns:char1" />
      <xsd:element name="NEWFLAG" type="tns:char1" />
      <xsd:element name="AUTHCKNAM" type="tns:char12" />
      <xsd:element name="AUTHCKMAN" type="tns:clnt3" />
      <xsd:element name="SUCCNUM" type="xsd:int" />
      <xsd:element name="PREDNUM" type="xsd:int" />
      <xsd:element name="JOBLOG" type="tns:char20" />
      <xsd:element name="LASTSTRTDT" type="tns:date" />
      <xsd:element name="LASTSTRTTM" type="tns:time" />
      <xsd:element name="WPNUMBER" type="xsd:int" />
      <xsd:element name="WPPROCID" type="xsd:int" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="BTCSYSREAX" type="tns:char32" />
      <xsd:element name="JOBCLASS" type="tns:char1" />
      <xsd:element name="PRIORITY" type="xsd:int" />
      <xsd:element name="EVENTCOUNT" type="tns:char8" />
      <xsd:element name="CHECKSTAT" type="tns:char1" />
      <xsd:element name="CALENDARID" type="tns:char2" />
      <xsd:element name="PRDBEHAV" type="tns:char1" />
      <xsd:element name="EXECSERVER" type="tns:char20" />
      <xsd:element name="EOMCORRECT" type="xsd:int" />
      <xsd:element name="CALCORRECT" type="xsd:int" />
      <xsd:element name="REAXSERVER" type="tns:char20" />
      <xsd:element name="RECLOGSYS" type="tns:char10" />
      <xsd:element name="RECOBJTYPE" type="tns:char10" />
      <xsd:element name="RECOBJKEY" type="tns:char70" />
      <xsd:element name="RECDESCRIB" type="tns:char10" />
      <xsd:element name="TGTSRVGRP" type="tns:char40" />
      <xsd:element name="PROGNAME" type="tns:char40" />
      <xsd:element name="XPGPROG" type="tns:char128" />
      <xsd:element name="EXTCMD" type="tns:char18" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="BTCSELECT">
    - <xsd:sequence>
      <xsd:element name="JOBNAME" type="tns:char32" />
      <xsd:element name="JOBCOUNT" type="tns:char8" />
      <xsd:element name="JOBGROUP" type="tns:char12" />
      <xsd:element name="USERNAME" type="tns:char12" />
      <xsd:element name="FROM_DATE" type="tns:date" />
      <xsd:element name="FROM_TIME" type="tns:time" />
      <xsd:element name="TO_DATE" type="tns:date" />
      <xsd:element name="TO_TIME" type="tns:time" />
      <xsd:element name="NO_DATE" type="tns:char1" />
      <xsd:element name="WITH_PRED" type="tns:char1" />
      <xsd:element name="EVENTID" type="tns:char32" />
      <xsd:element name="EVENTPARM" type="tns:char64" />
      <xsd:element name="PRELIM" type="tns:char1" />
      <xsd:element name="SCHEDUL" type="tns:char1" />
      <xsd:element name="READY" type="tns:char1" />
      <xsd:element name="RUNNING" type="tns:char1" />
      <xsd:element name="FINISHED" type="tns:char1" />
      <xsd:element name="ABORTED" type="tns:char1" />
      <xsd:element name="ABAPNAME" type="tns:char40" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="RfcException.Message">
    - <xsd:sequence>
      <xsd:element name="ID" type="xsd:string" />
      <xsd:element name="Number" type="tns:RfcException.Message.Number" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="ZBP_JOB_SELECT_SM37B.RfcException">
    - <xsd:sequence>
      <xsd:element name="Name" type="tns:ZBP_JOB_SELECT_SM37B.RfcExceptions" />
      <xsd:element name="Text" minOccurs="0" type="xsd:string" />
      <xsd:element name="Message" minOccurs="0" type="tns:RfcException.Message" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TableOfTBTCJOB">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:TBTCJOB" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:complexType name="TableOfTBTCJOB_BK">
    - <xsd:sequence>
      <xsd:element name="item" minOccurs="0" maxOccurs="unbounded" type="tns:TBTCJOB_BK" />
      </xsd:sequence>
      </xsd:complexType>
    - <xsd:simpleType name="ZBP_JOB_SELECT_SM37B.RfcExceptions">
    - <xsd:restriction base="xsd:string">
      <xsd:enumeration value="INVALID_DIALOG_TYPE" />
      <xsd:enumeration value="JOBNAME_MISSING" />
      <xsd:enumeration value="NO_JOBS_FOUND" />
      <xsd:enumeration value="SELECTION_CANCELED" />
      <xsd:enumeration value="USERNAME_MISSING" />
      </xsd:restriction>
      </xsd:simpleType>
      <xsd:element name="ZBP_JOB_SELECT_SM37B.Exception" type="tns:ZBP_JOB_SELECT_SM37B.RfcException" />
    - <xsd:element name="ZBP_JOB_SELECT_SM37B">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="ENDDATE" minOccurs="0" type="tns:date" />
      <xsd:element name="ENDTIME" minOccurs="0" type="tns:time" />
      <xsd:element name="JOBSELECT_DIALOG" type="tns:char1" />
      <xsd:element name="JOBSELECT_JOBLIST" minOccurs="0" type="tns:TableOfTBTCJOB" />
      <xsd:element name="JOBSELECT_JOBLIST_B" type="tns:TableOfTBTCJOB_BK" />
      <xsd:element name="JOBSEL_PARAM_IN" minOccurs="0" type="tns:BTCSELECT" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
    - <xsd:element name="ZBP_JOB_SELECT_SM37BResponse">
    - <xsd:complexType>
    - <xsd:sequence>
      <xsd:element name="JOBSELECT_JOBLIST" type="tns:TableOfTBTCJOB" />
      <xsd:element name="JOBSELECT_JOBLIST_B" type="tns:TableOfTBTCJOB_BK" />
      <xsd:element name="JOBSEL_PARAM_OUT" type="tns:BTCSELECT" />
      </xsd:sequence>
      </xsd:complexType>
      </xsd:element>
      </xsd:schema>
      </wsdl:types>
    - <wsdl:message name="ZBP_JOB_SELECT_SM37B">
      <wsdl:part name="parameters" element="tns:ZBP_JOB_SELECT_SM37B" />
      </wsdl:message>
    - <wsdl:message name="ZBP_JOB_SELECT_SM37BResponse">
      <wsdl:part name="parameters" element="tns:ZBP_JOB_SELECT_SM37BResponse" />
      </wsdl:message>
    - <wsdl:message name="exception00">
      <wsdl:part name="exception00" element="tns:ZBP_JOB_SELECT_SM37B.Exception" />
      </wsdl:message>
    - <wsdl:portType name="ZBP_JOB_SELECT_SM37B">
    - <wsdl:operation name="ZBP_JOB_SELECT_SM37B">
      <wsdl:input message="tns:ZBP_JOB_SELECT_SM37B" />
      <wsdl:output message="tns:ZBP_JOB_SELECT_SM37BResponse" />
      <wsdl:fault name="exception00" message="tns:exception00" />
      </wsdl:operation>
      </wsdl:portType>
    - <wsdl:binding name="ZBP_JOB_SELECT_SM37BSoapBinding" type="tns:ZBP_JOB_SELECT_SM37B">
      <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
    - <wsdl:operation name="ZBP_JOB_SELECT_SM37B">
      <soap:operation soapAction="" />
    - <wsdl:input>
      <soap:body use="literal" />
      </wsdl:input>
    - <wsdl:output>
      <soap:body use="literal" />
      </wsdl:output>
    - <wsdl:fault name="exception00">
      <soap:fault name="exception00" use="literal" />
      </wsdl:fault>
      </wsdl:operation>
      </wsdl:binding>
    - <wsdl:service name="ZBP_JOB_SELECT_SM37BService">
    - <wsdl:port name="ZBP_JOB_SELECT_SM37BSoapBinding" binding="tns:ZBP_JOB_SELECT_SM37BSoapBinding">
      <soap:address location="http://bladecx1.vshodc.lntinfotech.com:8000/sap/bc/srt/rfc/sap/ZBP_JOB_SELECT_SM37B?sap-client=100" />
      </wsdl:port>
      </wsdl:service>
      </wsdl:definitions>
    The Web Service URL specified in Widget Prefernces is:
    http://bladecx1.vshodc.lntinfotech.com:8000/sap/bc/srt/rfc/sap/ZBP_JOB_SELECT_SM37B?sap-client=100&wsdl=1.1
    The only thing that i I have modified in the original widget is the name of Function Module in the main.js file. The function Module created by me is  'ZBP_JOB_SELECT_SM37B'.
    Regards,
    Rashmi

  • Version Based Downloading w/JBoss Missing Version Field....

    Here we go again, version based downloading difficulties.
    I cannot get version based downloading to work using the version.xml file or using file based versioning.
    My environment is
    JBoss 4.0.3 SP1 (whatever version of tomcat container this contains)
    JRE 1.5.0_06
    I have a .ear file which contains a .war file which contains the appropriate folder format and loose application jars, html, jnlp, etc., as described in the "Packaging JNLP Applications in a Web Archive" document.
    My web.xml file looks like this:
    <?xml version="1.0" encoding="UTF-8"?>
    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">
      <display-name>TotalZilla</display-name>
      <description> TotalVU application </description>
       <servlet>
          <servlet-name>JnlpDownloadServlet</servlet-name>
          <servlet-class>jnlp.sample.servlet.JnlpDownloadServlet</servlet-class>
               <init-param>
                  <param-name>logLevel</param-name>
                  <param-value>DEBUG</param-value>
               </init-param>
               <init-param>
                  <param-name>logPath</param-name>
                  <param-value>jnlpdownloadservlet.log</param-value>
               </init-param>     
       </servlet>
          <servlet-mapping>
         <servlet-name>JnlpDownloadServlet</servlet-name>
         <url-pattern>*.jnlp</url-pattern>
       </servlet-mapping>
      </web-app>
    ]NOTE: changing the <url-pattern> value to anything but *.jnlp causes JBoss to throw an exception during application deployment[i]
    My version.xml file looks like this:
    I believe this to be the culprit but I am at a loss as to why.
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp-versions>
          <resource>
             <pattern>
               <name>utilities.jar</name>
                <version-id>1.0</version-id>
             </pattern>
             <file>utilities.jar</file>
          </resource>
          <resource>
             <pattern>
               <name>totalvu.jar</name>
                <version-id>2.0</version-id>
             </pattern>
             <file>totalvu.jar</file>
          </resource>     
          <resource>
             <pattern>
               <name>images.jar</name>
                <version-id>1.0</version-id>
             </pattern>
             <file>images.jar</file>
          </resource>      
          <resource>
             <pattern>
               <name>common.jar</name>
                <version-id>1.0</version-id>
             </pattern>
             <file>common.jar</file>
          </resource>     
       </jnlp-versions>
    My jnlp file looks like this:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
      spec="1.0+"
      codebase="$$codebase"
      href="$$name" context="$$context">
      <information>
        <title>Total VU Application</title>
        <vendor>Perimeter Aquisition Corp.</vendor>
        <homepage href="docs/totalvu.html"/>
        <description>TotalVU application from Perimeter</description>
        <description kind="short">The perfect application.</description>
        <offline-allowed/>
         <shortcut online="false">
          <desktop/>
          <menu submenu="Perimeter - TotalVU"/>
        </shortcut>
      </information>
       <security>
          <all-permissions/>
      </security>
      <resources>
         <j2se version="1.5.0+"/>
        <jar href="totalvu.jar" version="1.0+"/>
        <jar href="utilities.jar" version="1.0"/>
        <jar href="common.jar" version="1.0"/>
        <jar href="images.jar" version="1.0"/>
        <jar href="jlfgr-1_0.jar"/>
        <jar href="jboss-j2ee.jar"/>  
        <jar href="jnpserver.jar"/>
        <jar href="jboss-common-client.jar"/>
        <jar href="jbossmq.jar"/>
        <jar href="concurrent.jar"/>
        <jar href="swing-worker.jar"/>
        <jar href="log4j.jar"/>   
        <extension name="Sun Signed Jars" href="sunsignedjars.jnlp"/>
      </resources>
      <application-desc main-class="com.perimeter.totalvu.framework.TotalVU"/>
    </jnlp>
    The other jnlp file (temporary) which contains a version of activation.jar signed by sun looks like this:
    <?xml version="1.0" encoding="utf-8"?>
        <jnlp spec="1.0+"
          codebase="$$codebase"
          href="$$name"
          context="$$context">
        <information>
            <title>SunSignedJars</title>
            <vendor>Sun Microsystems, Inc.</vendor>
            <description>Jars signed by Sun Microsystems</description>
        </information>
        <security>
          <all-permissions/>
        </security>
        <resources>
            <jar href="activation.jar"/>
        </resources>
       <component-desc>
       </component-desc>
    </jnlp>
    My war file (which is in an ear file) has this format:
    META-INF\MANIFEST.MF
    WEB-INF\lib\jnlp-servlet.jar
    WEB-INF\lib\jardiff.jar
    WEB-INF\lib\jnlp.jar
    version.xml
    *.jar
    *.jnlp
    *.html
    This configuration spits out the famous "Missing version field from server....." that I have seen many times in this forum. The download servlet is getting executed because I am getting a log file generated every time. Debug is the only value that will put out a log. The log output looks like this:
    JnlpDownloadServlet(3): Request: /totalvu/totalvu.jnlp
    JnlpDownloadServlet(3): User-Agent: JNLP/1.5 javaws/1.5.0_06 (b05) J2SE/1.5.0_06
    JnlpDownloadServlet(4): DownloadRequest[path=/totalvu.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /totalvu.jnlp lastModified=Mon Dec 05 11:17:46 EST 2005]]
    JnlpDownloadServlet(3): Resource returned: /totalvu.jnlp
    JnlpDownloadServlet(4): SupportQuery in Href: true
    JnlpDownloadServlet(4): lastModified: 1133799466000 Mon Dec 05 11:17:46 EST 2005
    JnlpDownloadServlet(3): Request: /totalvu/sunsignedjars.jnlp
    JnlpDownloadServlet(3): User-Agent: JNLP/1.5 javaws/1.5.0_06 (b05) J2SE/1.5.0_06
    JnlpDownloadServlet(4): DownloadRequest[path=/sunsignedjars.jnlp isPlatformRequest=false]
    JnlpDownloadServlet(4): Basic Protocol lookup
    JnlpDownloadServlet(4): JnlpResource: JnlpResource[WAR Path: /sunsignedjars.jnlp lastModified=Mon Dec 05 10:00:20 EST 2005]]
    JnlpDownloadServlet(3): Resource returned: /sunsignedjars.jnlp
    JnlpDownloadServlet(4): SupportQuery in Href: true
    JnlpDownloadServlet(4): lastModified: 1133794820000 Mon Dec 05 10:00:20 EST 2005If I remove the version= tag from the main jnlp file, everything loads fine, but there is no versioning. I have also tried to remove the version.xml file from the package and change my jar files to use file based versioning, but that didn't work either. I rebuilt my jar files with the __V1.0 extension and the complaint was that it couldn't load the resource totalvu.jar. Well, ya, it is now named totalvu__V1.0.jar! Again, versioning is being ignored. The double underscore and V was not recognized as anything special.
    The servlet is running long enough to spit out a log file, no errors. It looks like it succesfully processed the jnlp files, but there is no indication of any versioning.
    Doe the jnlp.jar and jardiff.jar files need to be included in the lib folder in the .war file? I am only including the jnlp-servlet.jar. They were not referenced in the example war file in the documentation, but I have seen them referenced in older doc for other app servers. I did try including them, but it made no difference of course. Guess this question is just a housekeeping question.
    Does anyone have any insight on this problem?
    I am at the point where I think I would like to get the source and debug through it to see what is going on, but that should be unecessary.

    Thanks. I had the same problem.
    As danrak suggests, just add this to your web.xml file to parse .jar and/or .zip file extensions:
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.zip</url-pattern>
    </servlet-mapping>          
    <servlet-mapping>
    <servlet-name>JnlpDownloadServlet</servlet-name>
    <url-pattern>*.jar</url-pattern>
    </servlet-mapping>

  • No response from Server while transferring Images

    I am having issues with uploading images in a webgallery onto the server. I have had this problem over a long period and so i do not think that the problem is with the server speed or anything.
    When I put my page it publishes any chages to format of the gallery and page but does not publish the images instead it comes up with a broken image link icon.
    When publishing the log brings up this message for every image file:
    "there was no response from server while transferring file"
    Here is a link to the page that i am having issues with:
    http://www.nigelhewitt.com.au/_links/MainMenuLinks/Menu-studio.htm
    Any help would be greatly appreciated.

    Are you sure that the linking to the images is correct.... and that the images are in the this folder:
    _links/MainMenuLinks/p7hg_img_3/thumbs
    Here is a link to an image that doesn't show up (broken image link):
    http://www.nigelhewitt.com.au/_links/MainMenuLinks/p7hg_img_3/thumbs/studio_shots_and_shad ows_120509_0148_tmb.jpg
    Here is an image that does show:(on another page)...
    http://www.nigelhewitt.com.au/_links/ArtworksLinks/p7hg_img_2/thumbs/Bloodline_II__tmb.jpg
    Actually on another look at the missing image properties, I see:  0 kB (0 bytes)
    I had this happen to me the other day with a clients' site.  All files I was uploading turned up at 0kb - on investigation, I found that the server had reached it's capacity and it wouldn't allow the uploading of any further files - I'm not saying this is the case here, just strange that the image file size is 0.

  • Delete mail from server when deleting from mail

    I like Mail.
    But - the ONE feature I miss from Entourage is this:
    Delete mail from server when deleting the trash
    Mail can be set to delete messages from the server -- after downloading to the local computer. OK - BUT - I read my email from 3 computers. I want to keep the messages on the server - unless I delete them after trashing - and to read them on 3 computers.
    The BEST way is to delete when I trash them -- NOT when I read them.
    Using the mail program to see all messages on the server and to then delete them one-by-one is a major PITA.
    How can I tell Apple to add this feature?
    Dick
    Dual 2.7 G5, intel iMac, 3 G4 Macs, 2 iPods   Mac OS X (10.4.6)  

    Use the "When moved from Inbox" option that should do it. If you trash it then it goes, if you move it goes... HTH
    Siberian

Maybe you are looking for