cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to open Workbench

Former Member
0 Kudos

My computer underwent a java update and it messed up the workbench from deploying.  I uninstalled Java from my computer and I reinstalled JRE 1.6.29 and it still will not open the workbench. I cannot associate the javaws.exe to the jnlp file.  It will not allow me to do this on my Windows 7 machine.  Does anyone know the correct steps for me to get the workbench working for me?

Error I am getting when I run javaws from command line

NLParseException[ Could not parse launch file. Error at line 84.]

          at com.sun.javaws.jnl.XMLFormat.throwNewException(Unknown Source)

          at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory._buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.Main.launchApp(Unknown Source)

          at com.sun.javaws.Main.continueInSecureThread(Unknown Source)

          at com.sun.javaws.Main.access$000(Unknown Source)

          at com.sun.javaws.Main$1.run(Unknown Source)

          at java.lang.Thread.run(Unknown Source)

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You mean , before the upgrade 1.6 . 29 was working for you?

What version of MII you working on?

Did you try clearing up the java ws cache?

I remember there were some issues with respect to applets in JRE 1.6.29 but heard nothing on the Work Bench.

You can also try playing with the Internet Options of your IE , just incase if you are using a proxy , may be it is blocking the download of the Workbench from your MII server?

Are you facing this issue only on one machine, did you try checking any other machines and may be compare that configuration with yours.

Hope this helps.

Former Member
0 Kudos

It was working fine on 6.  I am running MII 12.2 and yes, I tried cleaning up the cache.  Here is the error.

******************************

Launch File:

<script>

  var inPortalScript = false

  var webpath = "/logon_ui_resources/"

</script>

<html>

<head>

<BASE target="_self">

<link rel=stylesheet href="https://answers.sap.com/logon_ui_resources/css/ur/ur_ie5.css">

<title>User Management, SAP AG</title>

<script language="javascript">

var originWindowName=window.name;

window.name="logonAppPage";

function restoreWindow() {

try{

window.name=originWindowName;

} catch(ex){}

}

</script>

<script language="JavaScript">

function putFocus(formInst, elementInst) {

  if (document.forms.length > 0) {

    document.forms[formInst].elements[elementInst].focus();

  }

}

function setValuesAutoCreation() {

var form = document.getElementById('logonForm');

form.j_username.value="";

form.j_password.value="";

form.automaticAccountCreation.value="true";

}

function submitForm() {

var form = document.getElementById('logonForm');

form.submit();

}

function clearEntries() {

  document.logonForm.longUid.value="";

  document.logonForm.password.value="";

}

function setFocusToFirstField() {

myform = document.logonForm;

try{

   for (i=0; i<myform.length; i++) {

    elem = myform.elements[i];

    if (!elem.disabled) {

      elemType = elem.type;

      if (elemType=="text" || elemType=="password") {

       if (!elem.readOnly) {

          elem.focus();

          break;

       }

      }

      if (elemType=="select-one" || elemType=="select-multiple" || elemType=="checkbox" || elemType=="radio") {

        elem.focus();

        break;

      }

    }

   }

} catch(ex){

}

}

function addTenantPrefix() {

  return true;

}

</script>

</head>

<body class="urBdyStd" bgcolor="#F7F9FB" onLoad="setFocusToFirstField()" onUnload="restoreWindow()">

<table id="tblFrmUI" width="790px" valign="middle" dir="ltr" align="center" cellPadding="0" cellSpacing="0" style="background-color:#ffffff;margin-top:50px;">

 

          <tr>

                    <td><img src="/logon_ui_resources/layout/lf_tl.png" width="29" height="32"></td>

                    <td background="/logon_ui_resources/layout/lf_st.png"></td>

                    <td><img src="/logon_ui_resources/layout/lf_tr.png" width="27" height="32"></td>

          </tr>

 

          <tr>

           

                    <td background="/logon_ui_resources/layout/lf_sl.png"></td>

 

                    <td width="100%">

 

      <table id="tblInnerCnt" dir="ltr" cellpadding="0" cellspacing="0">

   

                                        <tr>

                                                  <td valign="top"><div class="urBrandImage"><img src="/logon_ui_resources/layout/branding-image.jpg" alt="Branding Image" border="0"></div></td>

                                                  <td width="100%"></td>

                                                  <td>

                                                   <table height="360px" cellPadding="0" cellSpacing="0">

                                                                      <tr>

                                                                                <td valign="top"><div class="urProductName"><img src="/logon_ui_resources/layout/branding-text.gif" alt="" border="0"></div></td>

                                                                      </tr>

                                                                      <tr>

                                                                                <td valign="top" align="left">

                                                                                                    <div class="urLogonData">

                                                                                                              <!-- data table starts after this line -->

                                                                                                              <FORM  AUTOCOMPLETE="off"  id="logonForm" name="logonForm" target="logonAppPage" method="post" action="j_security_check" >

<input name="no_cert_storing" type="hidden" value="on"><input type="hidden" name="j_salt" value="xDJCcjxgg7XrX3G//euuxgsIn1g=" />

 

                                                                                                              <table class="urLogonTable" cellSpacing="3px" cellPadding="0" valign="top">

                                                                                                                        <tr><td colspan="3">

                                                                                                                                  <div class="urMessageArea">

                                                                                                                                            <!--          Federation Error Message                                        -->

 

 

                                                                                                                                  </div>

                                                                                                                        </td></tr>

 

                                                                                                                        <!-- userid -->

                                                                                                                        <tr><td>

                                                                                                                                  <label class="urLblStdNew"><nobr>User<span class="urLblReq"> *</span></nobr></label>

                                                                                                                        </td>

                                                                                                                        <td>

                                                                                                                                  <input type="text" id="logonuidfield"  name="j_username" value="" title="User *" class="urEdfTxtEnbl" style="width:170px">

                                                                                                                        </td>

                                                                                                                        <td width="100%"> </td></tr>

                                                                                                                        <!-- password -->

                                                                                                                        <tr><td>

                                                                                                                                  <label class="urLblStdNew" for="logonpassfield"><nobr>Password<span class="urLblReq"> *</span></nobr></label>

                                                                                                                        </td>

                                                                                                                        <td>

                                                                                                                                  <input type="password" id="logonpassfield"  name="j_password" class="urEdfTxtEnbl" style="width:170px">

                                                                                                                        </td>

                                                                                                                        <td> </td></tr>

                                                                                                                        <!-- create certificate -->

 

                                                                                                                        <!-- Federate User checkbox -->

 

                                                                                                                        <tr><td width="100%" colspan="3"> </td></tr>

                                                                                                                        <tr><td> 

                                                                                                                        </td><td align="right">

                                                                                                                                  <!-- logon button -->

                                                                                                                                  <input class="urBtnStdNew" type="submit" name="uidPasswordLogon" value="Log On" >

 

                                                                                                                        </td>

                                                                                                                        <td> </td></tr>

                                                                                                                        <!-- link to certificate logon -->

 

                                                                                                                        <!-- logon help -->

 

                                                                                                              </table>

                                                                                                              </form>

                                                                                                    <!-- data table ends before this line -->

                                                                                                    </div>

                                                                                </td>

                                                                      </tr>

                                                                      <tr>

                                                                                <td valign="bottom">

                                                                                          <div class="urCopyrightFrame">                                                                                          

                                                                                                    <div class="urCopyrightText">Copyright &copy; SAP AG. All Rights Reserved.</div>

                                                                                                    <div class="urCopyrightImage"><img src="/logon_ui_resources/layout/sap_logo.png" alt="SAP AG" title="SAP AG" width="55" height="27"></div>

                                                                                          </div>

                                                                                </td>

                                                                      </tr>

                                                            </table>

                                                  </td>

                                        </tr>

                              </table>

                    </td>

 

                    <td background="/logon_ui_resources/layout/lf_sr.png"></td>

 

          </tr>

 

          <tr>

                    <td><img src="/logon_ui_resources/layout/lf_bl.png" width="29" height="32"></td>

                    <td align="center" background="/logon_ui_resources/layout/lf_sb.png"><span class="clip"><img src="/logon_ui_resources/layout/lf_clip.png" width="298" height="32"></span></td>

                    <td><img src="/logon_ui_resources/layout/lf_br.png" width="27" height="32"></td>

          </tr>

 

</table>

<script type="text/javascript">

<!--

  var docDir = document.dir;   

  if(docDir=="rtl" || docDir=="RTL"){  

     var elTableCnt = document.getElementById("tblInnerCnt");

     if(elTableCnt!=undefined){

       elTableCnt.style.direction="rtl";       

     }    

  } 

  var isFormSubmitted = false;

  if( document.forms ) {

    document.forms[0].onsubmit=function(){

      if( isFormSubmitted ) {

        return false;

      } else {

        isFormSubmitted = true;

        return true;

      }

    }

  }     

-->

</script>

</body>

</html>

Exception:

JNLParseException[ Could not parse launch file. Error at line 84.]

          at com.sun.javaws.jnl.XMLFormat.throwNewException(Unknown Source)

          at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)

Wrapped Exception:

WARNING: <img> tag is not closed correctly Exception parsing xml at line 84

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parseXMLElement(Unknown Source)

          at com.sun.deploy.xml.XMLParser.parse(Unknown Source)

          at com.sun.javaws.jnl.XMLFormat.parse(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(Unknown Source)

          at com.sun.javaws.jnl.LaunchDescFactory.buildDescriptor(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)