3 Replies Latest reply on Nov 7, 2006 5:33 AM by Agustin Belmonte Carmona

    Classes not found at first deploy - start needed

    Agustin Belmonte Carmona Newbie


      Hello,

      I have a problem with some and different applications.
      When i deploy the applications i give errors as 'class not found exception', but the classes are well packed and when i invoke the operation start at jmx-console the applicationn starts correctly.

      I think this error occurs only on web applications.
      Can you help me? Something is bad configured?

      Thanks in advance. (and sorry for my poor english)

        • 1. Re: Classes not found at first deploy - start needed
          Peter Johnson Master

          You could make the class available so that the 'class not found exception' goes away. :-)

          But seriously, you have not given enough information for us to help you with your problem. Please post the exception stack trace that you are seeing.

          Also, what are you deploying? An ear file? A war file?

          If the class that is not found is not a jboss class, also post the contents of the ear or war file. (Enter, for example, "jar tjarf your.war" and post the results.)

          Finally, what OS, JVM and JBoss are you using?

          • 2. Re: Classes not found at first deploy - start needed
            Peter Johnson Master

            Oops, the jar command should read:

            jar tf your.war

            • 3. Re: Classes not found at first deploy - start needed
              Agustin Belmonte Carmona Newbie


              Hello,

              I´m deploying some .war files. Using jboss-4.0.4.GA on Red Hat Enterprise Linux 4.
              That´re the contents of a .war file:

              META-INF/MANIFEST.MF
              about.jsp
              aboutreportcaster.jsp
              applicationErrorPage.jsp
              flushcache.jsp
              initparameters.jsp
              jvmstatus.jsp
              properties.jsp
              source.jsp
              tracing.jsp
              wait.jsp
              wfconsolexmlprocess.jsp
              wfsysinf.jsp
              xerces.jsp
              WEB-INF/
              WEB-INF/web.xml
              WEB-INF/classes/
              WEB-INF/classes/log4j.properties
              WEB-INF/classes/WebFocusWSConfig.properties
              WEB-INF/lib/
              WEB-INF/lib/arcims_jconnect.jar
              WEB-INF/lib/assist.jar
              WEB-INF/lib/awt.jar
              WEB-INF/lib/beans.jar
              WEB-INF/lib/broker.jar
              WEB-INF/lib/com.jar
              WEB-INF/lib/edautil.jar
              WEB-INF/lib/esri.jar
              WEB-INF/lib/gen.jar
              WEB-INF/lib/ibix.jar
              WEB-INF/lib/intl.jar
              WEB-INF/lib/io.jar
              WEB-INF/lib/javaassist.jar
              WEB-INF/lib/javax.jar
              WEB-INF/lib/jcert.jar
              WEB-INF/lib/jdbc.jar
              WEB-INF/lib/jlink.jar
              WEB-INF/lib/jnet.jar
              WEB-INF/lib/jsse.jar
              WEB-INF/lib/log4j-1.2.8.jar
              WEB-INF/lib/meta-inf.jar
              WEB-INF/lib/mrcgi.jar
              WEB-INF/lib/mrexits.jar
              WEB-INF/lib/mrobj.jar
              WEB-INF/lib/mrtree.jar
              WEB-INF/lib/mrutil.jar
              WEB-INF/lib/net.jar
              WEB-INF/lib/netscape.jar
              WEB-INF/lib/ngxxj.jar
              WEB-INF/lib/nls.jar
              WEB-INF/lib/ob.jar
              WEB-INF/lib/olap.jar
              WEB-INF/lib/parser.jar
              WEB-INF/lib/portals.jar
              WEB-INF/lib/source_code.jar
              WEB-INF/lib/srv.jar
              WEB-INF/lib/symantec.jar
              WEB-INF/lib/tdg.jar
              WEB-INF/lib/threed.jar
              WEB-INF/lib/uddi.jar
              WEB-INF/lib/util.jar
              WEB-INF/lib/web.jar
              WEB-INF/lib/webfoc.jar
              WEB-INF/lib/woas.jar
              WEB-INF/lib/worp.jar
              WEB-INF/lib/xalan.jar
              WEB-INF/lib/xerces.jar
              WEB-INF/lib/xml-apis.jar
              WEB-INF/tlds/
              WEB-INF/tlds/treeview.tld
              assist/
              assist/jsp/
              assist/jsp/apropdlg.jsp
              assist/jsp/chngefmtJSP.jsp
              assist/jsp/cndfield.jsp
              assist/jsp/colorchooserJSP.jsp
              assist/jsp/compute.jsp
              assist/jsp/condstylJSP.jsp
              assist/jsp/datetimesJSP.jsp
              assist/jsp/dbsave.jsp
              assist/jsp/definewith.jsp
              assist/jsp/demodbsave.jsp
              assist/jsp/drillparm.jsp
              assist/jsp/drillval.jsp
              assist/jsp/drlldlg.jsp
              assist/jsp/dtmultval.jsp
              assist/jsp/dtval.jsp
              assist/jsp/editcondJSP.jsp
              assist/jsp/filterlstJSP.jsp
              assist/jsp/fldbglst.jsp
              assist/jsp/fldtree.jsp
              assist/jsp/floatingPreview.jsp
              assist/jsp/fmtoptsJSP.jsp
              assist/jsp/grasstie.jsp
              assist/jsp/haaboutJSP.jsp
              assist/jsp/hpropdlg.jsp
              assist/jsp/htauthor.jsp
              assist/jsp/htwait.jsp
              assist/jsp/ibistub1JSP.jsp
              assist/jsp/ibistubJSP.jsp
              assist/jsp/incval.jsp
              assist/jsp/indexVal.jsp
              assist/jsp/keepAlive.jsp
              assist/jsp/maslistJSP.jsp
              assist/jsp/mastdlg.jsp
              assist/jsp/mastdlg2.jsp
              assist/jsp/multVal.jsp
              assist/jsp/myrsaveJSP.jsp
              assist/jsp/paramval.jsp
              assist/jsp/parsingError.jsp
              assist/jsp/rabuttons.jsp
              assist/jsp/rpasstie.jsp
              assist/jsp/styledlgJSP.jsp
              assist/jsp/textSamp.jsp
              assist/jsp/tofrval.jsp
              assist/jsp/userfunctionsJSP.jsp
              assist/jsp/validateFocexec.jsp
              assist/jsp/yesnocancel.jsp
              cm/
              cm/bdextract.jsp
              cm/cmbadlogon.jsp
              cm/cmexit.jsp
              cm/cmJSP.jsp
              cm/cmlogon.jsp
              cm/cmlogonwi.jsp
              cm/extractReposJSP.jsp
              cm/extractReposTool.jsp
              cm/serverSaveConfirm.jsp
              components/
              components/woas/
              components/woas/deferstatus/
              components/woas/deferstatus/WOAS_deferstatus.jsp
              components/woas/domain/
              components/woas/domain/WOAS_domain.jsp
              components/woas/domain/WOAS_options.jsp
              components/woas/favorites/
              components/woas/favorites/WOAS_favorites.jsp
              components/woas/governor/
              components/woas/governor/WOAS_defaultreport.jsp
              components/woas/governor/WOAS_error.jsp
              components/woas/governor/WOAS_include.jsp
              components/woas/governor/WOAS_rediragent.jsp
              components/woas/governor/WOAS_reset.jsp
              components/woas/governor/WOAS_userprefs.jsp
              components/woas/governor/WOAS_view.jsp
              components/woas/multiview/
              components/woas/multiview/WOAS_multiview.jsp
              components/woas/multiview/WOAS_mvframeset.jsp
              components/woas/quicklinks/
              components/woas/quicklinks/WOAS_qlinklist.jsp
              components/woas/quicklinks/WOAS_qlinks.jsp
              components/woas/recent/
              components/woas/recent/WOAS_recent.jsp
              components/woas/report/
              components/woas/report/WOAS_list.jsp
              components/woas/report/WOAS_report.jsp
              components/woas/report/WOAS_rform.jsp
              components/woas/report/WOAS_rframeset.jsp
              components/woas/report/WOAS_rsetprefs.jsp
              components/woas/report/WOAS_rsetuserprefs.jsp
              components/woas/reportmanager/
              components/woas/reportmanager/WOAS_reportmanager.jsp
              components/woas/reportmanager/WOAS_rmform.jsp
              components/woas/reportmanager/WOAS_rmframeset.jsp
              components/woas/reportmanager/WOAS_rmsetprefs.jsp
              components/woas/reportviewer/
              components/woas/reportviewer/WOAS_reportviewer.jsp
              components/woas/reportviewer/WOAS_rwsetuserprefs.jsp
              components/woas/reportviewer/WOAS_selector.jsp
              components/woas/reportviewer/WOAS_uploadform.jsp
              components/woas/roletree/
              components/woas/roletree/WOAS_roletree.jsp
              components/woas/search/
              components/woas/search/WOAS_sasearch.jsp
              components/woas/search/WOAS_search.jsp
              components/woas/search/WOAS_sframeset.jsp
              components/woas/search/WOAS_ssetuserprefs.jsp
              components/woas/viewers/
              components/woas/viewers/WOAS_alertconfig.jsp
              components/woas/viewers/WOAS_config.jsp
              components/woas/viewers/WOAS_dialview.jsp
              components/woas/viewers/WOAS_formview.jsp
              components/woas/viewers/WOAS_ganttview.jsp
              components/woas/viewers/WOAS_htmlview.jsp
              components/woas/viewers/WOAS_jprocessview.jsp
              components/woas/viewers/WOAS_layout.jsp
              components/woas/viewers/WOAS_requestor.jsp
              components/woas/viewers/WOAS_sprocessview.jsp
              components/woas/viewers/WOAS_tableview.jsp
              components/woas/viewers/WOAS_treeview.jsp
              components/woas/wfct/
              components/woas/wfct/WOAS_noteeditor.jsp
              components/woas/wfct/WOAS_printnotes.jsp
              esri/
              esri/EsriInfoEditor.jsp
              esri/esri_index.jsp
              esri/WfArcConnector.jsp
              esri/WfArcConnectorAPI.jsp
              esri/WfArcConnectorWSDL.jsp
              home/
              home/java/
              home/java/source/
              home/java/source/WEB534/
              home/java/source/WEB534/build/
              META-INF/
              mrejsp/
              mrejsp/domains.jsp
              mrejsp/domainsAPI.jsp
              mrejsp/openAllDomains.jsp
              mrejsp/openAllDomainsAPI.jsp
              mrejsp/openDomain.jsp
              mrejsp/openDomainAPI.jsp
              olap/
              olap/jsp/
              olap/jsp/olaptransform.jsp
              olap/jsp/olaptransform_nosubmit.jsp
              qatest/
              qatest/jsp/
              qatest/jsp/GraphHTMLOutput.jsp
              qatest/jsp/GraphTestAdhoc.jsp
              qatest/jsp/GRTestStart.jsp
              tests/
              tests/jsp/
              tests/jsp/javaframe.jsp
              tests/jsp/validateAppToServlet.jsp
              txt/
              uddi/
              uddi/WebFocus.jsp
              uddi/WebFocusFexUddi.jsp
              uddi/WebFocusFexUddiAPI.jsp
              uddi/WebFocusFexUddiMre.jsp
              uddi/WebFocusFexUddiPick.jsp
              uddi/WebFocusFexUddiSerApp.jsp
              uddi/WebFocusFexUddiWsdl.jsp
              util/
              util/jsp/
              util/jsp/errorPage.jsp
              util/jsp/wfserverauth.jsp
              util/jsp/wfserversignon.jsp
              util/jsp/xmlvalues.jsp
              webfoc/
              webfoc/wfmre/
              webfoc/wfmre/IBIMRHtmTest.jsp
              wfedaconsole/
              wfedaconsole/wfedaconsole.jsp
              wfedaconsole/wfedaconsolecgiatt.jsp
              wfedaconsole/wfedaconsoleibiweb.jsp
              worp/
              worp/jsp/
              worp/jsp/WORP_Cntrl.jsp
              worp/jsp/WORP_ColorChooser.jsp
              worp/jsp/WORP_DefSetRedirect.jsp
              worp/jsp/WORP_Editor.jsp
              worp/jsp/WORP_EmptyContent.jsp
              worp/jsp/WORP_EmptyPage.jsp
              worp/jsp/WORP_Error.jsp
              worp/jsp/WORP_ErrorPage.jsp
              worp/jsp/WORP_FolderTest.jsp
              worp/jsp/WORP_HelpAbout.jsp
              worp/jsp/WORP_Index.jsp
              worp/jsp/WORP_InvalidateSessionNotify.jsp
              worp/jsp/WORP_Languages.jsp
              worp/jsp/WORP_Login.jsp
              worp/jsp/WORP_LoginPMF.jsp
              worp/jsp/WORP_Loginsi.jsp
              worp/jsp/WORP_LoginSuccess.jsp
              worp/jsp/WORP_Loginwi.jsp
              worp/jsp/WORP_MultiSignonErrorByPass.jsp
              worp/jsp/WORP_NewFolder.jsp
              worp/jsp/WORP_PassChange.jsp
              worp/jsp/WORP_Properties.jsp
              worp/jsp/WORP_Redirect.jsp
              worp/jsp/WORP_RunAs.jsp
              worp/jsp/WORP_SaveAs.jsp
              worp/jsp/WORP_Search.jsp
              worp/jsp/WORP_ShowFilter.jsp
              worp/jsp/WORP_StandaloneTree.jsp
              worp/jsp/WORP_TreeReloader.jsp
              worp/jsp/WORP_VB.jsp
              worp/jsp/WORP_Views.jsp
              worp/jsp/WORP_WFLogo.jsp
              worp/jsp/WORP_WFSCustomReturnRenderer.jsp
              worp/jsp/config/
              worp/jsp/config/WORP_ConfigEditor.jsp
              worp/jsp/config/include/
              worp/jsp/config/include/WORP_ErrorRedirectConfigEditor.jsp
              worp/jsp/config/include/WORP_FileRefConfigEditor.jsp
              worp/jsp/config/include/WORP_HttpHeadersConfigEditor.jsp
              worp/jsp/config/include/WORP_IncludeConfigEditor.jsp
              worp/jsp/config/include/WORP_InternalVarConfigEditor.jsp
              worp/jsp/config/include/WORP_MappingConfigEditor.jsp
              worp/jsp/config/include/WORP_PublicSignonParamsConfigEditor.jsp
              worp/jsp/config/include/WORP_ResponseRedirectConfigEditor.jsp
              worp/jsp/config/include/WORP_ServerEnvVarsConfigEditor.jsp
              worp/jsp/config/include/WORP_TraceOptionConfigEditor.jsp
              worp/jsp/config/include/WORP_UserVarConfigEditor.jsp
              worp/jsp/config/include/WORP_WinPropVarConfigEditor.jsp
              worp/jsp/editor/
              worp/jsp/editor/WORP_EditorFind.jsp
              worp/jsp/editor/WORP_EditorReplace.jsp
              worp/jsp/editor/WORP_Goto.jsp
              worp/jsp/editor/WORP_LineNumbers.jsp
              worp/jsp/editor/WORP_SaveReport.jsp
              worp/jsp/performance_management_framework/
              worp/jsp/performance_management_framework/WORP_MultiViewPerformanceManagementFramework.jsp
              worp/jsp/performance_management_framework/WORP_SingleViewPerformanceManagementFramework.jsp
              worp/jsp/trace/
              worp/jsp/trace/WORP_TraceDetails.jsp
              worp/jsp/trace/WORP_TraceOptionsPanel.jsp
              worp/jsp/trace/WORP_TraceResultsPanel.jsp
              worp/jsp/trace/WORP_TraceViewer.jsp


              That´s the exception stack trace:

              09:42:18,921 ERROR [MainDeployer] Could not create deployment: file:/applications/deploy/ibi_apps.war
              org.jboss.ws.WSException: java.lang.ClassNotFoundException: ibi.woas.WOAS_HtmlBuilder
              at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.java:161)
              at org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:101)
              at org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
              at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
              at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy49.create(Unknown Source)
              at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
              at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
              at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:585)
              at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
              at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
              at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
              at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
              at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
              at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
              at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
              at $Proxy6.deploy(Unknown Source)
              at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
              at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274)
              at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225)
              Caused by: java.lang.ClassNotFoundException: ibi.woas.WOAS_HtmlBuilder
              at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
              at java.security.AccessController.doPrivileged(Native Method)
              at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
              at org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.java:151)
              ... 30 more


              thanks