juoperi Absent Member.
Absent Member.
2187 views

Java exception when opening a bundle

Hi,

Any ideas why ZENworks 11.2.0.0 throws an exception when opening a bundle (see below) from ZENworks' bundle management view? So far it has been working smoothly for a long time. I have tried to restart services again and even the whole server, but this still happens. All the other features in ZENworks works nicely.

Error Details:
java.lang.NoClassDefFoundError: com/novell/zenworks/datamodel/temp/AssignmentTargetedObject
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
at java.lang.Class.getMethod0(Class.java:2670)
at java.lang.Class.getMethod0(Class.java:2679)
at java.lang.Class.getMethod(Class.java:1603)
at com.novell.web.controls.WebControl.internalSetProperty(WebControl.java:4172)
at com.novell.web.controls.WebControlTag.internalInitializeControl(WebControlTag.java:266)
at com.novell.web.controls.WebControlTag.doStartTag(WebControlTag.java:153)
at com.novell.web.controls.TemplateControlTag.doStartTag(TemplateControlTag.java:88)
at org.apache.jsp.jsp.pages.software.BundleDeploymentStatus_jsc._jspService(BundleDeploymentStatus_jsc.java:169)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
at com.novell.web.util.JspDispatcher.includeAbsolutePathJSP(JspDispatcher.java:111)
at com.novell.web.util.JspDispatcher.includeJSP(JspDispatcher.java:66)
at com.novell.web.util.WebUtils.loadControlImpl(WebUtils.java:685)
at com.novell.web.util.WebUtils.loadControl(WebUtils.java:667)
at com.novell.web.controls.TemplateControl.loadControl(TemplateControl.java:68)
at com.novell.zenworks.fw.web.internal.layout.PluginTemplate.loadContent(PluginTemplate.java:265)
at com.novell.zenworks.fw.web.internal.layout.SnapshotTemplate.loadContent(SnapshotTemplate.java:84)
at com.novell.zenworks.fw.web.internal.layout.PluginTemplate.onLoad(PluginTemplate.java:130)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2423)
at com.novell.zenworks.fw.web.internal.layout.SnapshotTemplate.loadRecursive(SnapshotTemplate.java:446)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
at com.novell.web.controls.Page.internalProcessRequest(Page.java:712)
at com.novell.web.controls.Page.processRequest(Page.java:667)
at com.novell.zenworks.fw.web.internal.layout.Index.processRequest(Index.java:631)
at com.novell.web.internal.controls.PageTag.doEndTag(PageTag.java:86)
at org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:187)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:342)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet.java:97)
at com.novell.zenworks.fw.web.internal.ZENworksServlet.service(ZENworksServlet.java:84)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.patchlink.sapphire.web.pages.vulnerability.session.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:75)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at com.novell.zenworks.tomcat.ZENRequestValve.invoke(ZENRequestValve.java:1293)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.ClassNotFoundException: com.novell.zenworks.datamodel.temp.AssignmentTargetedObject
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
... 78 more
Labels (2)
0 Likes
4 Replies
Micro Focus Expert
Micro Focus Expert

Re: Java exception when opening a bundle

A Mismatched File on your server.
Run a ZDC Report.

Most likely, you have an old JAR file that was renamed and is still on
your server. A Jar file with "Datamodel" is the most likely culprit.

On 2/7/2013 8:16 AM, juoperi wrote:
>
> Hi,
>
> Any ideas why ZENworks 11.2.0.0 throws an exception when opening a
> bundle (see below) from ZENworks' bundle management view? So far it has
> been working smoothly for a long time. I have tried to restart services
> again and even the whole server, but this still happens. All the other
> features in ZENworks works nicely.
>
> Error Details:
> java.lang.NoClassDefFoundError:
> com/novell/zenworks/datamodel/temp/AssignmentTargetedObject
> at java.lang.Class.getDeclaredMethods0(Native Method)
> at java.lang.Class.privateGetDeclaredMethods(Class.java:2427)
> at java.lang.Class.getMethod0(Class.java:2670)
> at java.lang.Class.getMethod0(Class.java:2679)
> at java.lang.Class.getMethod(Class.java:1603)
> at
> com.novell.web.controls.WebControl.internalSetProperty(WebControl.java:4172)
> at
> com.novell.web.controls.WebControlTag.internalInitializeControl(WebControlTag.java:266)
> at
> com.novell.web.controls.WebControlTag.doStartTag(WebControlTag.java:153)
> at
> com.novell.web.controls.TemplateControlTag.doStartTag(TemplateControlTag.java:88)
> at
> org.apache.jsp.jsp.pages.software.BundleDeploymentStatus_jsc._jspService(BundleDeploymentStatus_jsc.java:169)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
> at
> org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:551)
> at
> org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:488)
> at
> com.novell.web.util.JspDispatcher.includeAbsolutePathJSP(JspDispatcher.java:111)
> at
> com.novell.web.util.JspDispatcher.includeJSP(JspDispatcher.java:66)
> at com.novell.web.util.WebUtils.loadControlImpl(WebUtils.java:685)
> at com.novell.web.util.WebUtils.loadControl(WebUtils.java:667)
> at
> com.novell.web.controls.TemplateControl.loadControl(TemplateControl.java:68)
> at
> com.novell.zenworks.fw.web.internal.layout.PluginTemplate.loadContent(PluginTemplate.java:265)
> at
> com.novell.zenworks.fw.web.internal.layout.SnapshotTemplate.loadContent(SnapshotTemplate.java:84)
> at
> com.novell.zenworks.fw.web.internal.layout.PluginTemplate.onLoad(PluginTemplate.java:130)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2423)
> at
> com.novell.zenworks.fw.web.internal.layout.SnapshotTemplate.loadRecursive(SnapshotTemplate.java:446)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at
> com.novell.web.controls.WebControl.loadRecursive(WebControl.java:2429)
> at com.novell.web.controls.Page.internalProcessRequest(Page.java:712)
> at com.novell.web.controls.Page.processRequest(Page.java:667)
> at
> com.novell.zenworks.fw.web.internal.layout.Index.processRequest(Index.java:631)
> at com.novell.web.internal.controls.PageTag.doEndTag(PageTag.java:86)
> at org.apache.jsp.jsp.index_jsp._jspService(index_jsp.java:187)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:646)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:342)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
> at com.novell.web.NJWCServlet.serviceImpl(NJWCServlet.java:97)
> at
> com.novell.zenworks.fw.web.internal.ZENworksServlet.service(ZENworksServlet.java:84)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> com.patchlink.sapphire.web.pages.vulnerability.session.HibernateSessionFilter.doFilter(HibernateSessionFilter.java:75)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
> at
> org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:563)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
> at
> com.novell.zenworks.tomcat.ZENRequestValve.invoke(ZENRequestValve.java:1293)
> at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
> at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
> at
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
> at
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: java.lang.ClassNotFoundException:
> com.novell.zenworks.datamodel.temp.AssignmentTargetedObject
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
> at
> org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
> ... 78 more
>
>



--
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.
0 Likes
juoperi Absent Member.
Absent Member.

Re: Java exception when opening a bundle

Thank you for your reply.

I searched 'datamodel' under Zenworks installation folder and found out that there is five 'datamodel' folders and bunch of .jar and .sql files having 'datamodel' in the file name. I uploaded a screenshot about the situation to Troll.ws: Image Hosting and Pastebin. Any hints that what should I do with those?

We have ZENworks 11.2.0 so I downloaded "ZCM 11.2 - ZENworks Diagnostic Center - executable and pattern file" (http://download.novell.com/protected/Summary.jsp?buildid=JVe7TOSX7aU~). Then I ran 'zdc verify' at the command line and got lots of errors in report. Mostly missing or inconsistent files. Is our ZENworks installation totally broken?
0 Likes
Micro Focus Expert
Micro Focus Expert

Re: Java exception when opening a bundle

It would not hurt to open an SR in that case.
But the inconsistent files explain the error.

On 2/15/2013 3:46 AM, juoperi wrote:

> Then I ran 'zdc verify' at the command line and got lots of errors in
> report. Mostly missing or inconsistent files. Is our ZENworks
> installation totally broken?
>
>



--
Craig Wilson - MCNE, MCSE, CCNA
Novell Knowledge Partner

Novell does not officially monitor these forums.

Suggestions/Opinions/Statements made by me are solely my own.
These thoughts may not be shared by either Novell or any rational human.
0 Likes
Anonymous_User Absent Member.
Absent Member.

Re: Java exception when opening a bundle

juoperi,

It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit http://www.novell.com/support and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)

Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php

If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Forums Team
http://forums.novell.com


0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.