I have no jws....

i've just installed Java 5.0.80.3. This is the 10th time i've had to due this due to java just not working on my computer. I keep getting the Error messages when trying to use Pogo saying "Not installed/browser problems". Any ideas what i can do?

There's most likely a problem with Pogo. Go to these web pages and try some applets at the first one, and a Web Start sample at the second one.
http://java.sun.com/j2se/1.5.0/docs/relnotes/demos.html
http://java.sun.com/docs/books/tutorial/uiswing/components/label.html
If they both work, and a basic "HelloWorld" app will run from the commandline, I'd say Java is ok.
And (from your other post) there no longer is a Desktop WS icon. The functionality is incorporated in the Java Control Panel.

Similar Messages

  • Is there a way to load into JDeveloper an application without a .jws file?

    Hi,
    Even though I have struggled through the development of a simple application which has been put into production, I am still a newbie in terms of web application development, and JDeveloper (10.1.3.4) is the only IDE I learned to use. After completing the first application, I turned around to read a book (JavaServer Faces, The Complete Reference, 1st Ed, by Chris Schalk) to learn JSF, because JDeveloper assumes its user already knows JSF, but I do not, and often mix up what is JSF and what are enhancements by ADF.
    After introducing the general concepts of JSF in the first eight chapters, the book starts to illustrate details of the working mechanism of JSF from Chapter 9, by means of a sample application. To use the sample application (code is downloadable from the book's web site), it is required to use either Ant or use Spring Hibernate. I know none of these. JDeveloper is the only thing I know. If I start to read Ant and Hibernate, I will go further and further away before I can eventually return back to JSF and ADF, whereas it looks to me the working of Ant and Hibernate have all been built into JDeveloper.
    I wonder if I can use JDeveloper to follow the book's sample application. But the code the author provides does not have a .jws file therefore can not be loaded by JDeveloper and, even if it can, the file tree structure of the sample code files is different from that in JDeveloper.
    I wonder if any people here were in the same situation as I am in now, and have found a way out? Or are there alternative books or sources suitable for a learner like me?
    JDeveloper is great (and of course with the help of the great people here on the OTN forum I am grateful to) in that it shields all the technology and enables a person like me who knew almost nothing about web technology to focus on the business logic and complete an application. It defeats the purpose if, to learn to better use JDeveloper, I have to go back to primary school and trace the evolution of web technology all the way to JSF and ADF. It would be nice to do so, but will take too much time.
    Many thanks in advance!
    Newman

    Shay,
    Thank you very much for the instruction. The problem is solved by creating a new application with the "Web Application \[JSF, EJB\]" technology scope as the application template, saving the WEB-INF\lib\jsf-impl.jar file before replacing the public_html directory with the web directory from the book's sample code, then renaming the web directory back to public_html.
    The compilation errors are largely gone, with the following still outstanding:
    Project: C:\webapps\VirtualTrainer\ViewController\ViewController.jpr
       C:\webapps\VirtualTrainer\ViewController\src\com\jsfcompref\trainer\backing\Login.java
           Error(14,8): HttpServletResponse not found
           Error(15,8): HttpSession not found
       C:\webapps\VirtualTrainer\ViewController\src\com\jsfcompref\trainer\components\ScrollerTag.java
           Error(55,34): Tag not found  in class javax.faces.webapp.UIComponentTag in class com.jsfcompref.trainer.components.ScrollerTag
       C:\webapps\VirtualTrainer\ViewController\src\com\jsfcompref\trainer\security\SecurityFilter.java
           Error(6,8): Filter not found
           Error(7,8): FilterChain not found
           Error(8,8): FilterConfig not found Error(9,8): ServletException not found
           Error(10,8): ServletRequest not found
           Error(11,8): ServletResponse not found
           Error(12,8): HttpServletRequest not found
       C:\webapps\VirtualTrainer\ViewController\public_html\app\main.jsp
           Error(126): Unable to instantiate tag: t:scroller (class: com.jsfcompref.trainer.components.ScrollerTag)  Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
           Error(126): Unable to find class for bean: null defined by tag with class: com.jsfcompref.trainer.components.ScrollerTag
           Error(142): scroller must be terminated with /> or %> not >
       C:\webapps\VirtualTrainer\ViewController\public_html\app\edit_te.jsp
           Error(142): Unable to instantiate tag: t:scroller (class: com.jsfcompref.trainer.components.ScrollerTag)  Make sure that the tag class is available and that the tag library containing the class is not excluded from this application.
           Error(142): Unable to find class for bean: null defined by tag with class: com.jsfcompref.trainer.components.ScrollerTag
           Error(158): scroller must be terminated with /> or %> not >These errors seems to indicate that there are three things that JDev could not find for the application during compilation:
    - the HttpServlet API,
    - the Scroller custom tag library, and
    - some filter.
    I searched on the web and in the developer's guide, and tried Tools-> Manage Libraries... and Project Properties->Libraries in various ways but did not succeed in figuring out how to make the HttpServlet and the custom tag available to the application. And I am not sure what the filter exactly is for.
    There are actually two .java files ScrollerComponent.java and ScrollerTag.java in the ...VirtualTrainer\ViewController\src\com\jsfcompref\trainer\components directory and, despite the compilation errors, a ...VirtualTrainer\ViewController\classes\com\jsfcompref\trainer\components\trainercomponents.tld file was generated after the compilation.
    I am afraid I am asking too much. But it would be very much appreciated if you could spare some time and provide some instructions for resolving these issues.
    Newman

  • Transfer Data from a JWS-Application to another one

    Hello
    I have an JWS-Application that starts another JWS-Appliction via BasicService, showDocument(...).
    Is there a way to transfer a large amount of data from the first application to the second one without using the filesystem?
    Thanks.

    >
    Nice demo Andrew.>Thanks. If anybody has the time, they might try adjusting the source file for that, from 16,000 bytes and see if they can claim the Meg. memory.
    ..some minutes later.
    OK. It seems it can, so long as the user agrees (and it has not been barred by the system admin. etc.). First I got a dialog saying.
    The maximum size of allotted storage is 262,144 bytes. 
    The applications has requested to increase it to
    15,000,000 bytes.But once I'd OK'd it, then the console output read:
    Cache created - size: 15000000Edit 1:
    Alternately, to keep it both entirely sandboxed and without prompts. Request only the 262,144 (80Kb by my calculations) and write the data part by part within that limit.
    The reading app. would need to check the persistence cache on a Timer (or similar) while the writing app. in turn checks it regularly during write operations. As soon as the reading app. has noticed and read the latest chunk of data, it sets a flag in the persistence service, and the writing app. writes the next chunk.
    Edited by: AndrewThompson64 on Dec 9, 2008 9:30 PM

  • Validation Error in the JWS

    I have a JWS file which gets deployed perfectly fine in the weblogic 10.3 runtime. I tested the webservice as well , everythign seems to be fine.
    I wanted to add a SOAP Handler for the JWS file so i configured it with the annotation as
    *@HandlerChain(file="handler.xml")*
    The Handler Config file looks like this
    *<?xml version="1.0" encoding="UTF-8"?>*
    *<handler-chains xmlns="http://java.sun.com/xml/ns/javaee">*
    *     <handler-chain>*
    *          <handler-name>handlerOne</handler-name>*
    *          <handler-class>com.Handler</handler-class>*
    *     </handler-chain>*
    *</handler-chains>*
    I checked all the target namespace for the config file and the schema surely validates the xml.
    But Weblogic Workshop says it a validation error could not validate the xml file referenced at the mentioned target namespace.
    I have the required Handler class files , Handler Configs and annotations in JWS. But workshop tries to compile and shows as validation error & would not publish.
    Karthik
    Edited by: user6714943 on May 18, 2009 9:26 AM

    Thanks for your reply.
    But when i try to generate the wsdl again from the JWS. I get the following error. Though i missed the handler part of the xml still something seems to be a problem with JWS.
    Handler chain file validation error for file: file:/C:/odsi/odsi_10.3/samples/RetailAppWeb/poc/sampleWS/src/com/handler.xml. Element handler-chains@http://java.sun.com/xml/ns/javaee is not a valid handler-config@http://www.bea.com/xml/ns/jws document or a valid substitution. (C:\odsi\odsi_10.3\samples\RetailAppWeb\poc\sampleWS\src\com\SampleWS.java, line 17)
    Edited by: user6714943 on May 18, 2009 9:25 AM

  • Sending "Cookie" header  with JRE 1.5.0_07 doesn't work with JWS

    Hi
    I have a JWS application that runs from JRE 1.4.0_XX to JRE 1.5.0_06
    The app sends a "Cookie" header to our webserver
    HttpURLConnection tc = (HttpURLConnection)repository.openConnection();
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    Now this has worked thru 20 different runtime versions since 1.4.0_xx until JRE 1.5.0_07 was released. My code has remained unchanged for 3 years. And with JRE 1.5.0_07 the "Cookie" header is simply gone in the webserver or never sent at all. The changelog for 1.5.0_07 only has a rough description of what has changed. I can see that SUN has made som changes to class HttpUrlConnection in 1.5.0_07 by comparing class files against 1.5.0_06 and apparently disturbed som funtionality that worked before. Other headers are received but not the "Cookie" header. If the application is executed without JWS, for example with Eclipse or Jbuilder, the "Cookie" header is received by the web server and all other headers as well.
    Any ideas what SUN has done in 1.5.0_07 and JWS ?? and more specifically in class URLConnection or HttpURLConnection.
    Here is some code example to test the issue:
    Run this code with and without Java Web Start
    With JWS, the "Cookie" header is never received by the server.
    without JWS, the header value is reveived.
    import java.net.*;
    import java.io.*;
    public class HTTPTest
    public static byte[] crLfArr = {13,10};
    public static String contenttype_ = "text/plain";
    public static BufferedReader retval = null;
    public static void main(String[] args) throws IOException
    int tecken = (int)'X';
    String boundary = "12345xyzzy";
    URL repository = new URL("http://myserver");
    URLConnection tc = (URLConnection)repository.openConnection();
    tc.setDoOutput(true);
    tc.setDoInput(true);
    tc.setAllowUserInteraction(false);
    tc.setRequestProperty("Content-Type"," multipart/form-data; boundary=" + boundary);
    tc.setRequestProperty("Cookie", "GLINK=TOKENID");
    OutputStream out = tc.getOutputStream();
    printPartHeader(out, boundary, "filtag" , "filnamn");
    out.write(tecken);
    printEndBoundary(out,boundary);
    out.close();
    retval = new BufferedReader(new InputStreamReader(tc.getInputStream()));
    public static void printEndBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary + "--";
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printPartHeader(OutputStream out,
    String boundary,
    String field,
    String filename) throws IOException
    String str;
    printBoundary(out,boundary);
    str = "Content-Disposition: form-data; name=\"" + field + "\"";
    out.write(str.getBytes());
    if (filename.length() > 0) {
    str = "; filename=\"" + filename + "\"";
    out.write(str.getBytes());
    out.write(crLfArr);
    str = "Content-Type: " + contenttype_;
    out.write(str.getBytes());
    out.write(crLfArr);
    out.write(crLfArr);
    public static void printBoundary(OutputStream out, String boundary) throws IOException
    String str;
    str = "--" + boundary;
    out.write(str.getBytes());
    out.write(crLfArr);
    Regards
    Jojje

    Hi,
    I decompiled the HttpURLConnection implementation in question from the rt.jar file. I do not think that you can find the source code for these SUN-specific implementations anywhere (except maybe through the new Java 6.0 collaboration process).
    JAD did the trick.
    For the standard classes (packages java.*, javax.*), I think that the most current source code is included in the corresponding JDK download.
    As to the JWS vs. standalone effect, I do not know what happens there.
    Maybe Java uses a different HttpURLConnection implementation when running as a standalone application?
    For our applet, the problem is definitely there. The cookie header was set but already removed when the CookieHandler method was called.
    The trouble is, that our applet can operate multiple independent sessions (with different session-ids), so a global CookieHandler is not an option. The only reason why I previously had to implement my own CookieHandler implementation in 1.5 was in order to remove unwanted Cookies which were otherwise inherited from the browser session by the CookieHandler�s applet default implementation.
    I also entered a bug report (on Wednesday already)...
    regards,
    Gunnar

  • Uninstalling additional files associated with JWS applications

    I have a JWS application that works fine however I would to be able to optionally remove or delete the work directory and files which are not in the JWS cache. Is there a way of doing this?

    I couldn't find a direct way of doing this. But I found a workaround. I created a uninstaller jnlp so that when it is uninstalled it deletes the resources.
    Uninstaller jnlp Example:
    <?xml version="1.0" encoding="utf-8"?>
    <jnlp
         spec="1.0+"
         codebase="http://...."
         href="uninstall.jnlp">
         <security>
              <all-permissions/>
         </security>
         <resources>
              <j2se version="1.5+"/>
              <jar href="/lib/uninstall.jar"/>
         </resources>
         <installer-desc/>
    </jnlp>
    Main jnlp
    <jnlp
         spec="1.0+"
         codebase="http://..."
         href="launch.jnlp">
         <resources>
              <j2se version="1.5+"/>
              <jar href="/lib/main.jar"/>
              <extension href="uninstall.jnlp"/>
         </resources>
         <application-desc/>
    </jnlp>When a <installer-desc/> is installed its main will be called with "install" and when its uninstalled main will be called with something else.
    Here is a sample main for uninstall.jar:
         public static void main(String[] args) {
              javax.jnlp.ExtensionInstallerService extensionInstallerService = null;
              try {
                   extensionInstallerService = (javax.jnlp.ExtensionInstallerService)javax.jnlp.ServiceManager.lookup("javax.jnlp.ExtensionInstallerService");
              } catch (javax.jnlp.UnavailableServiceException ex) {}
                   if (args.length == 0 || !"install".equals(args[0])) {
                        ApplicationServices.deleteLogDir();
                        ApplicationServices.getInstance().setStartup(false);
                        try {
                             Preferences prefs = Preferences.userNodeForPackage(Uninstall.class);                              
                             Preferences parentPrefs = prefs.parent();
                             prefs.removeNode();
                             removeIfEmpty(parentPrefs);
                        } catch (BackingStoreException ex) {
                             ex.printStackTrace();
              if (extensionInstallerService != null) {
                   extensionInstallerService.installSucceeded(false);
              System.exit(0);               
         }I think it would be nice if this functionality could be described in the application jnlp so the main on the original application could get the message and handle any cleanup it needed to do instead of a separate extension jnlp

  • How can I authenticate using JWS

    I have an JWS application on a secure server. The user can log into the server, then click a button to start the app. The problem is when JWS goes to start it, the server doesn't know it is part of the same session and is giving a java.io.IOException: Server returned HTTP response code: 403, which is forbidden. It is as if I never logged into the server and was trying to launch from a shortcut.
    Can anyone help? Do I need to convert my application to an applet? I don't want to do that.
    Thanks,
    Steve

    Someone should please help resolve these error codes:
    Check your internet connection: java.io.IOException: Server returned HTTP response code: 503 for URL:
    Check your internet connection: java.io.IOException: Server returned HTTP response code: 407 for URL:
    Please your early response and solution will be greatly appreciated. Thank you.

  • How to move projects from one JWS to another JWS ?

    Hi all,
    I have two JWS :
    - AppOne.jws , projects :
    - Model1
    - UserInterface1
    - AppTwo.jws , projects :
    - Model2
    - UserInterface2
    How can I move Model1 & UserInterface1 project from AppOne.jws to AppTwo.jws ?
    The entity object & view object in Model1 and Model2 is in different packages.
    Is it possible ?
    Thank you,
    xtanto

    If you just add Model1.jpr and UserInterface1.jpr to AppTwo.jws, does that work?
    Thanks,
    Brian

  • Failed to start JWS App "Keep temporary files on my computer " unchecked

    We run into a strange problem today.
    We have a JWS based app which uses version jars. If we keep the Keep temporary files on my computer " checked in the Java settings the application works fine.
    However if we uncheck it then we get an error saying it can not find the jar:
    {code}
    java.io.FileNotFoundException: https://192.168.40.242/webstart/jrcc-1.6.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown
    Source)
         at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream
    (Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getJarFileWithoutCache(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)
    {code}
    Our JNLP looks like this:
    {code}
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="6.0" codebase="https://192.168.40.242/webstart" >
    <information>
    <title>JRCC</title>
    <vendor>AAA</vendor>
    <homepage href="http://www.n-able.com"/>
    <description>Desc</description>
    <description kind="short">JRCC</description>
    <icon kind="splash" href="/images/jrccSplash.gif"/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se href="http://java.sun.com/products/autodl/j2se" version="1.6.0+" initial-heap-size="64m"/>
    <jar href="jrcc-1.6.jar" version="6.7.0.285"/>
    <jar href="jsch-0.1.39.jar" version="6.7.0.285"/>
    </resources>
    <application-desc main-class="com.nable.ui.jrcc.Main">
    <argument>localport:5900</argument>
    <argument>userid:50</argument>
    <argument>vnc_targetport:5900</argument>
    <argument>vnc_httpport:5800</argument>
    <argument>targetport2:10539</argument>
    <argument>language:en_US</argument>
    <argument>logLevel:5</argument>
    <argument>deviceId:1242208079</argument>
    </application-desc>
    </jnlp>
    {code}
    Any ideas or suggestions would help.
    Should it work with "Keep Temp files on my computer" unchecked ?
    Thanks

    Guess you use proxy server.
    However firstly try Solution 1. If it does not work try 2.
    Solution 1
    1. Open Java control panel, goto "Advanced" tab
    2. In tree branch "Java plug-in" uncheck "Enable the next generation Java plug-in"
    3. Restart the browser if you launch your applet in browser.
    Solution 2
    1. Open Java control panel, goto "Advanced" tab
    2. In tree branch "Security" check "Use SSL 2.0 compatible ClientHello format"
    3. Restart the browser if you launch your applet in browser.

  • Getting thread dump of JWS application

    Hi,
    I know this was discussed a few times before, but I still have no solution for my problem.
    I have a JWS GUI application that deadlocks sometimes (Windows 98). So I want to get the thread dump to analyze the deadlock. In Java Web Start I changed the java command from javaw.exe to java.exe, so I get a dos box. When I press CTRL-BREAK inside the dos box, I get the thread dump but because the dos box just shows a few lines I only get the last lines of the dump. Under Windows 98 I cannot resize the dos box.
    Is there a way to redirect the output of the dos box to a file? Or is there another way to get the thread dump of a JWS application?
    Thanks in advance
    Markus

    Here is 50% of the solution. To generate a thread dump programatically, you need to call JVM_DumpAllStacks through JNI. You need to link in "jvm.lib".
    JNIEXPORT void JNICALL JVM_DumpAllStacks(JNIEnv *env, jclass unused);
    JNIEXPORT void JNICALL Java_Services_generateThreadDump(JNIEnv *env, jobject thisObject) {
         // Produce a thread dump to VM standard out
         JVM_DumpAllStacks( env, NULL );
    }Here is the java class that calls the JVM_DumpAllStacks method through JNI.
    public class Services {
          * Send a message to the VM, forcing it to create a thread dump. The resulting
          * thread dump will be sent to stdout. Note that this is the VM's stdout, not
          * necessarily System.out.
         public static native void generateThreadDump();
    }When you reach the point in your code that you want to generate a thread dump, close stdout and reopen it with the thread dump destination stream. Next, call the JNI method. This will send the thread dump to stdout.
         // Replace stdout with a file output stream
         System.out.close();
         System.setOut( new PrintStream( new FileOutputStream( "stdout.log" )));
         // Generate thread dump
         Services.generateThreadDump();Why is this only 50% of the solution ? Because this works beautifully for regular applications but it does NOT work for WebStart applications. Not sure what is happening here, but so far I have not managed to get any thread dump in a file from an application that has been fired up through WebStart. Note that I CAN get a thread dump in a file if I fire up the same code from the command line.

  • Can I shut JWS off?

    Is the follwing statement correct?
    If I shut JWS down will Apache take over automatically?

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Brian (Oracle):
    On NT, Apache is configured when iFS is installed(1.X). The URL is HTTP:/server:port/ifs/files. On Unix you will need to run ifsapachesetup to setup Apache.
    The URL will be the same.
    Thank You
    Brian<HR></BLOCKQUOTE>
    Brian, we are using a windows 2000 server and have both JWS and Apache installed. We have been developing using both web servers. If I shut down JWS should Apache take over as the web server automatically?

  • ShowDocument url permission denied in 1.6.0_24

    Have a JWS application, which was bringing up the default browser. Sometime the url was http & others was file ( sort of a print preview function). Starting in 1.6.0_24, I am getting a SecurityException "ShowDocument url permission denied" for both.
    Have <security> <all-permissions/> </security> in the jnlp.
    Error also occurs in OSX. Both worked before. What gives?
    Thank you!

    Just some feedback for anyone reading from a search result:
    That tool was very helpful! I just ran it against jnlp, and started implementing its suggestions, like specifying size=, etc.
    The change that caused this to be fixed was the jnlp tag. Am currently running with a codebase of file for dev. I had:
    <jnlp spec="1.0+" codebase="file://localhost/Z:/media/" href="swing/thisfile.jnlp">
    Changed to:
    <jnlp spec="1.0+" codebase="file:/Z:/media/" href="swing/thisfile.jnlp">
    Not sure where I got that codebase, but it was a long time ago.

  • Errors with webapps in WebLogic 9.2

    Hi.
    Well, the problem is I when I access to the webapp it gives me a error. The app is deployed and started without any problem.
    The first war I tested gives me that error when I access to the app.
    Error 500--Internal Server Error
    java.net.MalformedURLException: The path for getResource() must begin with a '/'
         at weblogic.servlet.internal.WebAppServletContext.getResource(WebAppServletContext.java:709)
         at jsp_servlet.__cmd._jspService(__cmd.java:1290)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    You can download the war here war
    After that I thought I was doing something wrong so I downloaded jeexplorer , installed the war and finally started it. But when I try to access to the webapp it gives me that error:
    <!--
    java.lang.NullPointerException
         at java.io.File.<init>(File.java:194)
         at jexplorer.web.jsp.ExplorerJSP.a(Unknown Source)
         at jexplorer.web.jsp.ExplorerJSP.<init>(Unknown Source)
         at jsp_servlet.__jeexplorer._jspService(__jeexplorer.java:337)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:394)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:309)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3244)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2010)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1916)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1366)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    -->
         <b>An error occurred - please check the server log for details.</b>
    I only want to have a manager with the basic functions to upload, download and execute commands...
    Thanks for any help and sorry for my bad English.

    Thanks David and weblogicRocks..
    David,
    I have installed the workshop also during installation. Actually I have searched for the class which is missing from the weblogic 9.2 installation folder. The missing class is is in different package path in weblogic 9.2 (knex81.jar) as shown below. Also, this class is generated by workshop while building in 8.1. So, I think I have to rebuild the work file in 9.2 to avoid referring to this class.
    Missing Class location (weblogic 8.1) (knex.jar): com/bea/wlw/runtime/core/bean/SLSBContainerBean
    Missing Class location (weblogic 9.2) (knex81.jar): com/bea/wlw/knex/runtime/core/bean/SLSBContainerBean
    weblogicRocks,
    I saw in the weblogic site that the webservices built from 8.1 will still work in 9.2 with out the need for changing the code. Pls, let me know whether I need to rebuild them on 9.2. If yes, I have used .jws files(sample class definition below) for my webservices and I came to know that in 9.2 new jws annotations are added, do I need to change my source code to add any new annotations so as to work in 9.2? Also, I have used wlwBuildTask using Ant to build the code in 8.1 and this task is not available in 9.2. Let me know what all I need to change for webservices created from workshop to migrate to 9.2. I am really struggling in resolving the issues as it is very urgent for me. Appreciate you quick response.
    Below is my .jws webserice class definition.
    public class MyWebService implements com.bea.jws.WebService
    private String reqImpl;
    * @common:operation
    * @jws:conversation phase="none"
    public String submitRequest(String var)
    <Method Logic>
    }

  • Web service XML String

    Hello,
    I have javax.jws web service, I have method which return Document or String as well formed XML. And I need to my web service return this String as XML.
    @WebMethod(operationName = "operation")
    public String operation() {
    XMLvystup pom = new XMLvystup();
    pom.nulujHladane();
    pom.setHladane(7, "Bc");
    pom.setHladane(5, "MKP");
    String vysledok = pom.getXml(pom.getHladane());
    System.out.println(vysledok);
    return vysledok;
    Please help.

    Hello,
    I have javax.jws web service, I have method which return Document or String as well formed XML. And I need to my web service return this String as XML.
    @WebMethod(operationName = "operation")
    public String operation() {
    XMLvystup pom = new XMLvystup();
    pom.nulujHladane();
    pom.setHladane(7, "Bc");
    pom.setHladane(5, "MKP");
    String vysledok = pom.getXml(pom.getHladane());
    System.out.println(vysledok);
    return vysledok;
    Please help.

  • Missing signed entry in resource : urgent

    Hi
    While trying to acces my apllication on Tomcat 4.0 Servber I get this error
    Missing signed entry in resource: http://localhost:8080/Graf/GZ.jar
    exception is
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
    at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
    at com.sun.javaws.cache.DownloadProtocol.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.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)
    My jnlp file looks like
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp codebase="http://localhost:8080/Graf/" href="GrafZeppelin.jnlp">
    <information>
    <title>Graf Zeppelin</title>
    <vendor>P&G</vendor>
    <homepage href="GrafZeppeling.html"/>
    <description>Graf Zeppelin</description>
    <description kind="short">Grap Zeppelin Application to display Graf Zeppelin</description>
    <description kind="one-line">Graf Zeppelin System</description>
    <description kind="tooltip">P&G</description>
    <icon href="images/gpblogo.jpg"/>
    <offline-allowed/>
    </information>
    <security>
    <all-permissions/>
    </security>
    <resources>
    <j2se version="1.3+" initial-heap-size="24m" max-heap-size="256m" />
    <jar href="y.jar"/>
    <jar href="GZ.jar"/>
    </resources>
    <application-desc main-class="pathways.GZBase">
    </application-desc>
    </jnlp>
    I have already done sigining of jar thru these commands
    keytool -genkey -keystore myKeystore -alias myself
    keytool -list -keystore myKeystore
    jarsigner -keystore myKeystore test.jar myself
    Can anypone tell me if something elase also needs to be done for this to make it work.I mean some other settings or something which I might be missing while deploying it.
    Thanks
    Sidh

    I just got done spending some "quality time" (about 2 days worth) with jarsigner and Java Web Start to figure out a certificate problem, and I thought I'd share my findings to save others a bunch of time.
    I have a JWS application that has two custom built jars and several third party jars. I'm looking to run it in "unrestricted" mode which means that all of the jars need to be signed. The building and signing went fine but I ran into the problems often mentioned in this forum of exceptions being thrown from the bowels of JWS while it was trying to launch my application.
    I ran into a few different problems at different times. One was getting this exception during launch:
    JNLPException[category: Download Error : Exception: null : LaunchDesc: null ]
         at com.sun.javaws.security.SigningInfo.checkSigning(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol$RetrieveAction.actionDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)
         at com.sun.javaws.cache.DownloadProtocol.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.handleApplicationDesc(Unknown Source)
         at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:536)
    Another was an exception that included the message "Missing signed entry in resource".
    The source of all of these problems was an incorrectly created/signed jar file. My problems occured with jakarta-ojb-0.9.7.jar (Jakarta's OJB package), but I believe that it can happen with any jar file.
    First let me review what I found out about how the jar building and signing is done. When you sign a jar file with jarsigner, it creates signature files which it puts in the META-INF directory of the jar file. For example if you sign a jar file with the alias "foo", it will add files FOO.SF and FOO.DSA to the META-INF directory (your extensions may be slightly different depending on what kind of keys you have).
    jarsigner also creates a new manifest file META-INF/MANIFEST.MF. For my jar file, before I signed it the MANIFEST.MF contained only this:
    Manifest-Version: 1.0
    Created-By: Apache Ant 1.5
    Name: ojb
    Class-Path:
    After I signed it, the file had 675 entries in it like this:
    Manifest-Version: 1.0
    Created-By: Apache Ant 1.5
    Name: org/apache/ojb/broker/metadata/RepositoryTags.class
    SHA1-Digest: bX/beup+4fwyuMQIF9sz55wz3Zk=
    Name: org/apache/ojb/odmg/states/ModificationState.class
    SHA1-Digest: xl0iS4ojhVh8pHwzabKK9T2ouLg=
    Name: org/apache/ojb/jdo/JDOTransaction.class
    SHA1-Digest: Z/EV2WgDPVbHkY3D78mOIjLyLI0=
    Name: org/apache/ojb/broker/util/pooling/WrappedConnection.class
    SHA1-Digest: B3r6HwsWePdNkMYh8jIeBmfjrUc=
    Here is where the problems begin. Here is one known bug that I did not have but you should be aware of, which has to do with paths that have 133 or 134 characters:
    http://developer.java.sun.com/developer/bugParade/bugs/4357504.html
    Another problem is as follows. When JWS reads the manifest file from each jar file, it iterates through all of the manifest entries and for each one, verifies that there is an entry in the jar file for it. Here is the code decompiled from javaws version 1.2 to give you an idea:
    Manifest manifest = jarfile.getManifest();
    Set set = manifest.getEntries().entrySet();
    for(Iterator iterator = set.iterator(); iterator.hasNext();)
    java.util.Map.Entry entry = (java.util.Map.Entry)iterator.next();
    String s1 = (String)entry.getKey();
    if(jarfile.getEntry(s1) == null)
    throw new JARSigningException(url, s, 4);
    The problem is that the manifest can sometimes contain entries that are intended as headers like this:
    Name: ojb
    Class-Path:
    This fragment was created by the application that created the original jar file (ant), and was included in the new manifest file created by jarsigner. Inexplicably, this fragment was about one third the way down the 2228 line file, rather than at the top where you would expect it.
    When JWS iterates through the manifest entries, it finds this one named "ojb", and then it tries to find an entry in the jar file with this key, and fails, which throws the JARSigningException, which causes the application launch to fail. Unfortunately JWS doesn't give you any of this detail in the error message, I had to discover this through a lot of sleuthing (and so will yoU!).
    JWS just uses the java.util.jar classes to read the jar and manifest files, so it is simple to write a small utility that reads jar and manifest files and reports on them to help you identify problems like this. Note that using the -verify flag to jarsigner doesn't find many problems. Below is a utility I wrote called GrokJar:
    import java.io.*;
    import java.util.*;
    import java.util.jar.*;
    public class GrokJar {
    public static void main(String s[]) {    
    String action = s[0];
    if(!action.equals("-j") && !action.equals("-m")) {
    System.err.println("Usage: GrokJar [-j | -m] file");
    System.err.println("\t-j grok a jar file");
    System.err.println("\t-m grok a manifest file");
    System.exit(0);
    String pathname = s[1];
    if(action.equals("-j")) {                             
    try {                                                
    File jarFile = new File(pathname);
    JarFile jar = new JarFile(jarFile);
    Manifest manifest = jar.getManifest();
    Set set = manifest.getEntries().entrySet();
    System.out.println("Manifest has " + set.size() + " items");
    for(Iterator iterator = set.iterator(); iterator.hasNext();) {
    java.util.Map.Entry entry = (java.util.Map.Entry)iterator.next();
    String key = (String)entry.getKey();
    if(jar.getEntry(key) == null) {
    System.out.println("Can't get entry from jar for key \""+key+"\"");
    } catch(Throwable t) {
    t.printStackTrace();
    else if(action.equals("-m")) {                     
    try {              
    Manifest manifest = new Manifest(new FileInputStream(pathname));
    Set set = manifest.getEntries().entrySet();
    System.out.println("Manifest has " + set.size() + " items");
    } catch(Throwable t) {
    t.printStackTrace();
    This utility reported the following for my jar:
    Manifest has 675 items
    Can't get entry from jar for key "ojb"
    The solution to my problem was as follows:
    1) First, make a copy of the unmolested jar file before you mess around with it (by default jarsigner modifies a jar file in place)
    2) Sign the jar file with jarsigner
    3) Run the GrokJar utility to discover any errant keys
    4) If there are errant keys, un-jar the jar file into a temporary directory
    5) Edit the file META-INF/MANIFEST.MF to remove the errant keys
    6) Create a new jar file. Note that simply "jar cf" won't work. By default, the jar utility creates a new manifest file, which will overwrite the one you just edited. you need to either include the "m" parameter and specify your manifest file, or the "M" file so it won't create its own manifest file and it will use the one you edited.
    7) Sign the jar file again with jarsigner. The reason is that jarsigner creates a signature for every entry in the manifest. If you sign it and then edit the manifest, the signature and manifest won't match. So you need to sign it again.
    8) Run GrokJar against it again, and you should see a different number of manifest entrieS (not zero), and no errant keys.
    That is what did it for me. Your mileage may vary. Here are some other links to good information that I found:
    http://www.vamphq.com/download/jwsfaq.pdf
    http://developer.java.sun.com/developer/bugParade/bugs/4625532.html
    http://developer.java.sun.com/developer/bugParade/bugs/4357504.html
    http://forum.java.sun.com/thread.jsp?thread=206075&forum=38&message=697559
    Best of luck!
    Randy

Maybe you are looking for

  • Drivers to be used on networked computers that arent directly connected to HP Laserjet M1536dnf MFP

    Hi, I have been having problems connecting computers on network to printer. The printer is HP LaserJet Pro M1536dnf MFP. The computer that is connected to the printer directly through usb port is fine. I downloaded full solution drivers from the hp s

  • 802.1X wireless network problems with Intel Mac

    To login to the wireless network at my school I have to use an 802.1X connection authenticating with TTLS, TLS, EAP-FAST and PEAP protocols. This works intermitently. Some days my MacBook logs on quickly with no problems at all but most days it has a

  • Cpu failed to respond

    Since the 10.8.2 upgrade I have and this problem at least two times. Once in Safari and then in Mail. Has anyone else experience this crash?

  • RS MMC 2Go for Nokia N72

    Hello, Is it Ok a RS MMC 2Go for Nokia N72 ? Thks

  • Itunes 11.0.4 downloads instead of latest

    I am trying to download the latest version of iTunes, so I can use my iPad Mini and add songs from my PC. It is Windows 7, 64-bit, pretty old and crappy. No matter what I have tried, it always downloads 11.0.4 instead of 11.4. Have uninstalled, redow