15 Replies Latest reply: Apr 2, 2012 2:00 PM by Detlev Beutner RSS

XFormsBuilder shows blank page

Manoj Kamasani
Currently Being Moderated

Hi Team,

Currently we are under NW 7.0 SP 21.

When i lanuch the xml form builder to create the xml forms under Content Management -> Form Builder it shows the blank page and getting the below error.

____________________________________________________________________________________

Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


Mar 15, 2012 11:57:53 AM - (ERROR) (Client) com.sapportals.wcm.app.xfbuilder.util.PropertyResourceHandler: Resource "icons/close.gif" could not be loaded -> Exception: java.io.IOException: Invalid jar file


Mar 15, 2012 11:58:03 AM - (ERROR) com.sapportals.wcm.app.xfbuilder.client.util.CloseablePane: could not load icon: icons/close.gif

Mar 15, 2012 11:58:06 AM - (ERROR) (Client) com.sapportals.wcm.app.xfbuilder.util.PropertyResourceHandler: Resource "config/ClientSettings.xml" could not be loaded -> Exception: java.io.IOException: Invalid jar file


Mar 15, 2012 11:58:06 AM - (ERROR) (Client) com.sapportals.wcm.app.xfbuilder: Access denied for resource com/sapportals/wcm/app/xfbuilder/client/config/ClientSettings.xml

Exception in thread "thread applet-com.sapportals.wcm.app.xfbuilder.client.XFormsBuilder-1" java.lang.NoClassDefFoundError: IllegalName: <html><head><LINK REL=stylesheet HREF="/irj/portalapps/com.sap.portal.design.portaldesigndata/themes/portal/customer/BrandingTheme/glbl/glbl_nn7.css?7.0.21.5.1">
at java.lang.ClassLoader.preDefineClass(Unknown Source)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at javax.xml.parsers.FactoryFinder.getProviderClass(Unknown Source)
at javax.xml.parsers.FactoryFinder.newInstance(Unknown Source)
at javax.xml.parsers.FactoryFinder.findJarServiceProvider(Unknown Source)
at javax.xml.parsers.FactoryFinder.find(Unknown Source)
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
at com.sapportals.wcm.app.xfbuilder.util.xml.XFDomHelperAbstract.<init>(XFDomHelperAbstract.java:251)
at com.sapportals.wcm.app.xfbuilder.util.xml.XFDomHelperAbstract$1.<init>(XFDomHelperAbstract.java:222)
at com.sapportals.wcm.app.xfbuilder.util.xml.XFDomHelperAbstract.<clinit>(XFDomHelperAbstract.java:215)
at com.sapportals.wcm.app.xfbuilder.client.EditorManager.loadClientSettings(EditorManager.java:3185)
at com.sapportals.wcm.app.xfbuilder.client.EditorManager.<init>(EditorManager.java:337)
at com.sapportals.wcm.app.xfbuilder.client.XFormsBuilder.createEditor(XFormsBuilder.java:269)
at com.sapportals.wcm.app.xfbuilder.client.XFormsBuilder.init(XFormsBuilder.java:367)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)

_______________________________________________________________________________________________________

After that what i have done is that, i have run the environmental took kit check, i got the below error.

Java Plug-in 1.6.0_18
Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\
----------------------------------------------------
c:   clear console window
f:   finalize objects on finalization queue
g:   garbage collect
h:   display this help message
l:   dump classloader list
m:   print memory usage
o:   trigger logging
q:   hide console
r:   reload policy configuration
s:   dump system and deployment properties
t:   dump thread list
v:   dump thread stack
x:   clear classloader cache
0-5: set trace level to <n>
----------------------------------------------------


java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file com/sapportals/wcm/app/xfbuilder/envtest/XFBuilderTestApplet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file com/sapportals/wcm/app/xfbuilder/envtest/XFBuilderTestApplet

In production system we were able to run this form builder since production system is running on the IBM JVM. Recently we are migrated to SAP JVM from JBM JVM. In quality system SAP JVM is running , we were not able to launch the xml form builder,

 

Could you please help me to resolve this issue.

Best Regards,

Manoj K

  • Re: XFormsBuilder shows blank page
    Simon Kemp
    Currently Being Moderated

    Please check you JAVA version. A 7.0 portal runs under a JVM of version 1.4.2 but from the error it looks like you are running 1.6 java version.

     

    Forms builder runs a client side java applet so check local versions too.

     

    Hope this helps.

  • Re: XFormsBuilder shows blank page
    Detlev Beutner
    Currently Being Moderated

    Hi Manoj,

    This very much seems like a permission problem with the referenced JARs. Please do the following:

    In KM repository /etc, check the permissions for the folder xmlforms. Check that the built-in group "Everyone" has the permission "Read" (at least). If this is the case (initially or after you have added the permission), also reset the permissions of the child objects (from the permission dialogue of the xmlforms folder).

    Just to explain at least a bit of the background:

    "Invalid jar file", "IllegalName: <html><head>..." and "ClassFormatError: Incompatible magic value 1013478509" point to the possibility that instead of the JAR file expected, the portal reacted with an error message, "access denied". This exactly starts with the html code provided above.

    Hope it helps
    Detlev

    • Re: XFormsBuilder shows blank page
      Manoj Kamasani
      Currently Being Moderated

      Hi ,

      Thanks for the reply. Yes i have checked the permissions for the folder and as well the jar files which is being accessed, "ContentManager" role is having full control. The user who is tying to execute the xml form builder have the 'ContentManager" role. Please advise me how to solve this issue further.

      Is there any thing to do with IE 8 browser? or with permissions ? or with Jar files.

      Thanks

      ManojK

      • Re: XFormsBuilder shows blank page
        Detlev Beutner
        Currently Being Moderated

        Hi ManojK,

        Please call http://xxx:yy/irj/go/km/docs/etc/xmlforms/xfcheck/km.appl.xmlforms.xfcheck_core.jar (xxx, yy with your values, of course) in a browser where you are logged in as the same user as the one failing so far.

        I expect that this won't give you the JAR but an error message in the browser. If this is the case, please post the HTML source of that message (if lengthy, just add it as an attachement).

        Hope it helps
        Detlev

        • Re: XFormsBuilder shows blank page
          Manoj Kamasani
          Currently Being Moderated

          Hi Detlev,

          when i call the http://xxx:yy/irj/go/km/docs/etc/xmlforms/xfcheck/km.appl.xmlforms.xfcheck_core.jar via browser i am able to access the jar file, and its prompting me for the option to download it. i am not sure at this point of time what wen wrong. please guide me..

          and one more thing, i just called the http://xxx:yy/irj/go/km/docs/etc/xmlforms/xfcheck/xfbuildertest.html to test the environment. i got the below error.

          Java Plug-in 1.6.0_18

          Using JRE version 1.6.0_18-b07 Java HotSpot(TM) Client VM

          User home directory = C:\Documents and Settings\XXX

          ----------------------------------------------------

          c:   clear console window

          f:   finalize objects on finalization queue

          g:   garbage collect

          h:   display this help message

          l:   dump classloader list

          m:   print memory usage

          o:   trigger logging

          q:   hide console

          r:   reload policy configuration

          s:   dump system and deployment properties

          t:   dump thread list

          v:   dump thread stack

          x:   clear classloader cache

          0-5: set trace level to <n>

          ----------------------------------------------------

           

           

          java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file com/sapportals/wcm/app/xfbuilder/envtest/XFBuilderTestApplet

              at java.lang.ClassLoader.defineClass1(Native Method)

              at java.lang.ClassLoader.defineClassCond(Unknown Source)

              at java.lang.ClassLoader.defineClass(Unknown Source)

              at java.security.SecureClassLoader.defineClass(Unknown Source)

              at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)

              at java.lang.ClassLoader.loadClass(Unknown Source)

              at java.lang.ClassLoader.loadClass(Unknown Source)

              at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)

              at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)

              at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

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

          Exception: java.lang.ClassFormatError: Incompatible magic value 1013478509 in class file com/sapportals/wcm/app/xfbuilder/envtest/XFBuilderTestApplet

          Please advise me. thanks in advance.

          Thanks

          Manoj K

  • Re: XFormsBuilder shows blank page
    Pravesh Deshbhratar
    Currently Being Moderated

    Hi Manoj,

    Did you create the XML form builder like below ;

    a. Navigate to Content Management - > Forms Builder (will launch new window)

    b. Click File - > Open Project -> Alerts.  Click Open

    c. Click Generate Project (small manila folder)

    d. Next, click preview (small green play icon)

    e. Do the same for News

    Let me know if your problem is resolved

    Rgds

    Pravesh