Classname AbsTime not Found WTH?

Win Vista, LV 8.6.1
OK, so I got around the can't-resize problem of yesterday by trashing the cluster and moving the old contents into a new cluster.
I hadn't edited that cluster typedef in years, but now I want to add some stuff.
One of the things I want to add is a timestamp.
So, in the control editor, I added a TimeStamp control. I changed the timestamp format to be one line instead of two, and saved the typedef, and saved it's parent typedef, etc.
Then I used the old definition (disconnected from the typedef before I modified it) to read some data files, converted this cluster to the new format, and rewrote the files. I've done it a hundred times before.
This time, though, when I RUN my main program, I get an error dialog:
Classname AbsTime not Found. Define.
All I can do is click OK.
It happens 10 times, one for each of these new clusters that exists on screen.
Why is that happening?
I did the whole thing again, this time putting a plain timestamp into the cluster (no formatting changes).
Same thing.
I noticed that I had another timestamp control in one of the parent clusters, so I copied that and added that to my new place.
It works. At least I don't get the error message.
I -DO- get a message about a "datalog type mismatch" - the data files I updated with the mystery control are not compatible with the new format, even though they're both timestamp controls.
In other words, the Timestamp that I place from the palette is different from the timestamp I placed a few years ago.
Any ideas?
Hmmm. I just went through the same thing again, same results. So now I changed the file updater code,so I can run the updater on the old files and recover them.
I discovered that the type mismatch is because the timestamp I just placed there (the one I copied from long ago) is a DBL. The one I placed from the palette is a TimeStamp.
So the TYPE MISMATCH thing makes sense.
Still, what's with the CLASSNAME NOT FOUND message?
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Never mind - it's not LabVIEW that's screwing up.
The message is coming from a piece of code that I didn't write and it's not in the program's usual alert dialogs, so I thought it was a LabVIEW message.
NEED
MORE
COFFEE 
Steve Bird
Culverson Software - Elegant software that is a pleasure to use.
Culverson.com
Blog for (mostly LabVIEW) programmers: Tips And Tricks

Similar Messages

  • Configuration file bc4j.xcfg not found in the classpath.

    When i try to run an application that uses ADF BC i get an error telling me the bc4j.xcfg was not found.
    When i open my AppModule and click the bc4j.xcfg link it opens. When i look at the path it stored in, it is different from the path the error says.
    It's something like this:
    Configuration file /be/something/model/common/bc4j.xcfg is not found in the classpath
    but my appModule opens the bc4j.xcfg in a different folder:
    /be/something/utility/common/bc4j.xcfg
    It's a fact i modified the project and managed the packages a bit but i always used the refactor menu of jdeveloper in order to move or rename files.
    It appears that something has failed while moving/changing name.
    I looked inside my project to look for references for bc4j.xcfg but i can't find any so i can't see were to change the directory he needs to look for the bc4j file.
    How do i fix my project?

    John,
    In the DataBindings.cpx i can't find any reference to a datacontrol...
    This is my bindings:
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.56.60" id="DataBindings" SeparateXMLFiles="false"
                 Package="be.usermanagementProv.portlets" ClientType="Generic">
      <definitionFactories>
        <factory nameSpace="http://xmlns.oracle.com/adf/controller/binding"
                 className="oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl"/>
        <dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
      </definitionFactories>
      <pageMap>
        <page path="/UserManagement/view.jspx"
              usageId="be_usermanagementProv_portlets_viewPageDef"/>
      </pageMap>
      <pageDefinitionUsages>
        <page id="be_usermanagementProv_portlets_viewPageDef"
              path="UserManagement.viewPageDef"/>
      </pageDefinitionUsages>
    </Application>In the datacontrol section when i right click the DC the "edit definition" is grayed out. Probably because the DC comes from the library and is not created in the application.

  • Configuration file /service/common/bc4j.xcfg is not found in the classpath.

    hi have a situation where when i add a certain jar in my portal application am geting this error but if i remove the jar in the portal application am geting the error where mis the problem is in my jar must i go to my jar application and solve problem there and where if the problem is in my portal where must i solve the proble am in jdeveloper 11.1.1.6.0
    the log error is
    <RegionRenderer> <encodeAll> The region component with id: pt1:r1 has detected a page fragment with multiple root components. Fragments with more than one root component may not display correctly in a region and may have a negative impact on performance. It is recommended that you restructure the page fragment to have a single root component.
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file test3/test4/test2/test1/bc/service/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /test3/test4/test2/test1/bc/service/common/bc4j.xcfg is not found in the classpath.
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
         at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
         at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
         at oracle.adf.view.rich.render.RichRenderer.encodeStretchedChild(RichRenderer.java:2004)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer._renderPane(PanelSplitterRenderer.java:1360)
         at oracle.adfinternal.view.faces.renderkit.rich.PanelSplitterRenderer.encodeAll(PanelSplitterRenderer.java:279)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.PageTemplateRenderer.encodeAll(PageTemplateRenderer.java:69)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.encodeEnd(ContextSwitchingComponent.java:155)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.FormRenderer.encodeAll(FormRenderer.java:220)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:341)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:405)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeAllChildren(CoreRenderer.java:421)
         at oracle.adfinternal.view.faces.renderkit.rich.DocumentRenderer.encodeAll(DocumentRenderer.java:1324)
         at oracle.adf.view.rich.render.RichRenderer.encodeAll(RichRenderer.java:1396)
    how can i make sure your .jar ViewController project have Model project as a dependency,how can i search this path in jdeveloper /test1/test2/test3/test4/bc/service/common/bc4j.xcfg
    Edited by: adf009 on 2013/04/11 9:47 AM
    Edited by: adf009 on 2013/04/11 11:19 AM
    Edited by: adf009 on 2013/04/11 11:19 AM

    but am still geting the error in my portal application
    <Utils> <buildFacesMessage> ADF: Adding the following JSF error message: Configuration file /za/gov/cadastre/vulindlela/bc/service/common/bc4j.xcfg is not found in the classpath.
    oracle.jbo.ConfigException: JBO-33001: Configuration file /za/gov/cadastre/vulindlela/bc/service/common/bc4j.xcfg is not found in the classpath.
         at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:467)
         at oracle.jbo.common.ampool.PoolMgr.loadConfiguration(PoolMgr.java:600)
         at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:526)
         at oracle.adf.model.bc4j.DCJboDataControl.findApplicationPool(DCJboDataControl.java:572)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeSessionCookie(DCJboDataControl.java:396)
         at oracle.adf.model.bc4j.DCJboDataControl.initializeJboSession(DCJboDataControl.java:310)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSessionInternal(DataControlFactoryImpl.java:220)
         at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:130)
         at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:167)
         at oracle.adf.model.BindingContext.instantiateDataControl(BindingContext.java:1056)
         at oracle.adf.model.dcframe.DataControlFrameImpl.doFindDataControl(DataControlFrameImpl.java:1566)
         at oracle.adf.model.dcframe.DataControlFrameImpl.internalFindDataControl(DataControlFrameImpl.java:1438)
         at oracle.adf.model.dcframe.DataControlFrameImpl.findDataControl(DataControlFrameImpl.java:1398
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         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:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.portlet.client.adapter.adf.ADFPortletFilter.doFilter(ADFPortletFilter.java:32)
    my jar file DataBindings.cpx is
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.61.92" id="DataBindings" SeparateXMLFiles="false"
                 Package="uam.view" ClientType="Generic"
                 ErrorHandlerClass= "uam.view.CustomErrorHandler">
      <definitionFactories>
        <factory nameSpace="http://xmlns.oracle.com/adf/controller/binding"
                 className="oracle.adf.controller.internal.binding.TaskFlowBindingDefFactoryImpl"/>
        <dtfactory className="oracle.adf.controller.internal.dtrt.binding.BindingDTObjectFactory"/>
      </definitionFactories>
      <pageMap>
        <page path="/payment.jsff" usageId="uam_view_paymentPageDef"/>
        <page path="/test.jspx" usageId="uam_view_testPageDef"/>
        <page path="/security.jsff" usageId="uam_view_securityPageDef"/>
        <page path="/pdetails.jsff" usageId="uam_view_pdetailsPageDef"/>
        <page path="/odetails.jsff" usageId="uam_view_odetailsPageDef"/>
        <page path="/opayment.jsff" usageId="uam_view_opaymentPageDef"/>
        <page path="/members.jsff" usageId="uam_view_membersPageDef"/>
        <page path="/suburb.jsff" usageId="uam_view_suburbPageDef"/>
        <page path="/testsub.jspx" usageId="uam_view_testsubPageDef"/>
        <page path="/WEB-INF/register-org-flow.xml#register-org-flow@CreateInsert"
              usageId="uam_view_register_org_flow_register_org_flow_CreateInsertPageDef"/>
        <page path="/SelectOrg.jsff" usageId="uam_view_SelectOrgPageDef"/>
        <page path="/updateorg.jspx" usageId="uam_view_updateorgPageDef"/>
        <page path="/OrgDetails.jsff" usageId="uam_view_OrgDetailsPageDef"/>
        <page path="/User.jsff" usageId="uam_view_UserPageDef"/>
        <page path="/ListUsr.jsff" usageId="uam_view_ListUsrPageDef"/>
      </pageMap>
      <pageDefinitionUsages>
        <page id="uam_view_paymentPageDef" path="uam.view.pageDefs.paymentPageDef"/>
        <page id="uam_view_testPageDef" path="uam.view.pageDefs.testPageDef"/>
        <page id="uam_view_securityPageDef"
              path="uam.view.pageDefs.securityPageDef"/>
        <page id="uam_view_pdetailsPageDef"
              path="uam.view.pageDefs.pdetailsPageDef"/>
        <page id="uam_view_odetailsPageDef"
              path="uam.view.pageDefs.odetailsPageDef"/>
        <page id="uam_view_opaymentPageDef"
              path="uam.view.pageDefs.opaymentPageDef"/>
        <page id="uam_view_membersPageDef" path="uam.view.pageDefs.membersPageDef"/>
        <page id="uam_view_suburbPageDef" path="uam.view.pageDefs.suburbPageDef"/>
        <page id="uam_view_testsubPageDef" path="uam.view.pageDefs.testsubPageDef"/>
        <page id="uam_view_register_org_flow_register_org_flow_CreateInsertPageDef"
              path="uam.view.pageDefs.register_org_flow_register_org_flow_CreateInsertPageDef"/>
        <page id="uam_view_SelectOrgPageDef"
              path="uam.view.pageDefs.SelectOrgPageDef"/>
        <page id="uam_view_updateorgPageDef"
              path="uam.view.pageDefs.updateorgPageDef"/>
        <page id="uam_view_OrgDetailsPageDef"
              path="uam.view.pageDefs.OrgDetailsPageDef"/>
        <page id="uam_view_UserPageDef" path="uam.view.pageDefs.UserPageDef"/>
        <page id="uam_view_ListUsrPageDef" path="uam.view.pageDefs.ListUsrPageDef"/>
      </pageDefinitionUsages>
      <dataControlUsages>
        <dc id="OrgValidationBean" path="uam.view.OrgValidationBean"/>
        <dc id="UAMUtil" path="uam.view.UAMUtil"/>
        <BC4JDataControl id="UAMAppModuleDataControl1"
                         Package=".model.common"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="UAMAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
        <BC4JDataControl id="OrgAppModuleDataControl"
                         Package=".model"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="OrgAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
        <BC4JDataControl id="AppModuleDataControl"
                         Package=".model"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="OrgAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>                
        <BC4JDataControl id="UpdAppModuleDataControl"
                         Package=".model.UpdOrgDetails"
                         FactoryClass="oracle.adf.model.bc4j.DataControlFactoryImpl"
                         SupportsTransactions="true" SupportsFindMode="true"
                         SupportsRangesize="true" SupportsResetState="true"
                         SupportsSortCollection="true"
                         Configuration="UpdAppModuleLocal" syncMode="Immediate"
                         xmlns="http://xmlns.oracle.com/adfm/datacontrol"/>
      </dataControlUsages>
    </Application>
    and my portal  DataBindings.cpx  is
    <?xml version="1.0" encoding="UTF-8" ?>
    <Application xmlns="http://xmlns.oracle.com/adfm/application"
                 version="11.1.1.59.23" id="DataBindings" SeparateXMLFiles="false"
                 Package="portal" ClientType="Generic"
                 PageMapClass="oracle.jbo.uicli.mom.DynamicPageMapImpl"
                 BasePageDefPackageName="pageDefs">
      <pageMap>
        <page path="/oracle/webcenter/portalapp/pages/navigation-renderer.jspx"
              usageId="portal_navigation_rendererPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/home.jspx"
              usageId="portal_homePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/login.jspx"
              usageId="portal_loginPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/error.jspx"
              usageId="portal_errorPageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_globe.jspx"
              usageId="portal_pageTemplate_globePageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/pageTemplate_swooshy.jspx"
              usageId="portal_pageTemplate_swooshyPageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/cadastreTemplate.jspx"
              usageId="cadastre_portal_cadastreTemplatePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/register.jspx"
              usageId="cadastre_portal_registerPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/forgotUsername.jspx"
              usageId="cadastre_portal_forgotUsernamePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/forgotPassword.jspx"
              usageId="cadastre_portal_forgotPasswordPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/content.jspx"
              usageId="cadastre_portal_contentPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/changePassword.jspx"
              usageId="cadastre_portal_changePasswordPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/upgateProfile.jspx"
              usageId="cadastre_portal_upgateProfilePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/loginHome.jspx"
              usageId="cadastre_portal_loginHomePageDef"/>
        <page path="/oracle/webcenter/portalapp/pagetemplates/cadastreLoginTemplate.jspx"
              usageId="cadastre_portal_cadastreLoginTemplatePageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/spatialq.jspx"
              usageId="cadastre_portal_spatialqPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/admin/usrLoginReports.jspx"
              usageId="cadastre_portal_usrLoginReportsPageDef"/>
        <page path="/oracle/webcenter/portalapp/pages/admin/esubAdmin.jsp"
              usageId="cadastre_portal_esubAdminPageDef"/>
        <page path="/oracle/webcenter/porta
    {code}
    Edited by: adf009 on 2013/04/12 11:32 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • JDBC Driver not found when connecting to Data Federator XI 3.0 SP3

    Hello,
    I am trying to connect Crystal 2008 to Data Federator however I am getting the Error
    Failed to open connection.
    Details: JDBC Driver not found.
    The JDBC Drivers are installed and working for the Universe Designer, however I am unable to get it working for Crystal. I am using the following connection parameters on Crystal:
    Connection URL: jdbc:datafederator://<<servername>>:3055/<<catalog>>
    Database Classname: com.businessobjects.datafederator.jdbc.DataFederatorDriver
    Any Advice on what I may have missed?

    The issue was solved, thanks to Patric Wan:
    u201CFailed to open the connection. Details: JDBC driver not found.u201D
    This means Data Federator JDBC driver was not added to:
    C:\Program Files\Business Objects\common\<version>\java\CRConfig.xml
    How to connect the Data Federator Server using JDBC?
    1. Retrieve the following files from the machine where Data Federator is installed, from the directory [data-federator-installation-dir]/JdbcDriver/lib.
        - thindriver.jar
        - avalon-framework-4.1.5.jar
        - jacorb.jar
        - log4j-1.2.8.jar
        - logkit-1.2.jar
    2. Copy these files to a directory of your choice ([your-jdbc-driverdirectory]).
    3. Add [your-jdbc-driver-directory]/thindriver.jar to CRConfig.xml   <Add to Classpath tag, you can refer to original sample.CRConfig.xml should be at: C:\Program Files\Business Objects\Common\4.0\java\CRConfig.xml, or search your BOBJ products install to find this file>
    4. URL: jdbc:leselect://<host>[:<port>][/[<catalog>]][[;param-name=value]*]
    Class Name : LeSelect.ThinDriver.ThinDriver
    Edited by: Craig Sander on Feb 12, 2011 8:22 PM

  • Unpublish KB Article giving Object Not Found

    Have a client trying to unpublish an article and its giving "Object not found." message. We can't unpublish OLD of the articles. Trace logs aren't
    giving much info either:
    [2015-02-18 13:00:38.214] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Exception |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | CrmException..ctor  ilOffset
    = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x0
    at KbArticleService.UnPublish(BusinessEntity entity, ExecutionContext context)  ilOffset = 0x15F
    at KbArticleService.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)  ilOffset = 0xC8
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)  ilOffset = 0x25
    at RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0x84
    at LogicalMethodInfo.Invoke(Object target, Object[] values)  ilOffset = 0x4F
    at InternalOperationPlugin.Execute(IServiceProvider serviceProvider)  ilOffset = 0x57
    at V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)  ilOffset = 0x58
    at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
    at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode,
    Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
     ilOffset = 0x16E
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean
    traceRequest, OrganizationContext context, Boolean returnResponse)  ilOffset = 0x16A
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x34
    at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
    at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
    at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
    at Article.Unpublish(String articleId)  ilOffset = 0x49
    at UnpublishDialogPage.ConfigureForm()  ilOffset = 0xDB
    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0x13
    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
    at Page.ProcessRequest()  ilOffset = 0x14
    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: The required object does not exist., ErrorCode: -2147210235
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Platform.Sdk |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | VersionedPluginProxyStepBase.Execute
     ilOffset = 0x65
    >Web Service Plug-in failed in SdkMessageProcessingStepId: {49CDBB1B-EA3E-DB11-86A7-000A3A5473E8}; EntityName: kbarticle; Stage: 30; MessageName: SetStateDynamicEntity; AssemblyName: Microsoft.Crm.Extensibility.InternalOperationPlugin, Microsoft.Crm.ObjectModel,
    Version=6.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35; ClassName: Microsoft.Crm.Extensibility.InternalOperationPlugin; Exception: Unhandled Exception: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
       at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
       at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
       at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
       at System.Web.Services.Protocols.LogicalMethodInfo.Invoke(Object target, Object[] values)
       at Microsoft.Crm.Extensibility.InternalOperationPlugin.Execute(IServiceProvider serviceProvider)
       at Microsoft.Crm.Extensibility.V5PluginProxyStep.ExecuteInternal(PipelineExecutionContext context)
       at Microsoft.Crm.Extensibility.VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)
    Inner Exception: Microsoft.Crm.CrmException: The required object does not exist.
       at Microsoft.Crm.ObjectModel.KbArticleService.UnPublish(BusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.KbArticleService.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Exception |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | CrmException..ctor  ilOffset
    = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode)  ilOffset = 0x0
    at RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)  ilOffset = 0xFFFFFFFF
    at RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)  ilOffset = 0xF7
    at RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)  ilOffset = 0x1E8
    at Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)  ilOffset = 0xB1
    at Activator.CreateInstance(Type type, Object[] args)  ilOffset = 0x0
    at VersionedPluginProxyStepBase.WrapExceptionToThrow(CrmException exception)  ilOffset = 0xA5
    at VersionedPluginProxyStepBase.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at Pipeline.Execute(PipelineExecutionContext context)  ilOffset = 0x65
    at MessageProcessor.Execute(PipelineExecutionContext context)  ilOffset = 0x1C5
    at InternalMessageDispatcher.Execute(PipelineExecutionContext context)  ilOffset = 0xE4
    at ExternalMessageDispatcher.ExecuteInternal(IInProcessOrganizationServiceFactory serviceFactory, IPlatformMessageDispatcherFactory dispatcherFactory, String messageName, String requestName, Int32 primaryObjectTypeCode,
    Int32 secondaryObjectTypeCode, ParameterCollection fields, CorrelationToken correlationToken, CallerOriginToken originToken, UserAuth userAuth, Guid callerId, Guid transactionContextId, Int32 invocationSource, Nullable`1 requestId, Version endpointVersion)
     ilOffset = 0x16E
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType, UserAuth userAuth, Guid targetUserId, Boolean
    traceRequest, OrganizationContext context, Boolean returnResponse)  ilOffset = 0x16A
    at OrganizationSdkServiceInternal.ExecuteRequest(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x34
    at OrganizationSdkServiceInternal.Execute(OrganizationRequest request, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)  ilOffset = 0x24
    at InprocessServiceProxy.ExecuteCore(OrganizationRequest request)  ilOffset = 0x34
    at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
    at Article.Unpublish(String articleId)  ilOffset = 0x49
    at UnpublishDialogPage.ConfigureForm()  ilOffset = 0xDB
    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0x13
    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
    at Page.ProcessRequest()  ilOffset = 0x14
    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: The required object does not exist., ErrorCode: -2147210235, InnerException: Microsoft.Crm.CrmException: The required object does not exist.
       at Microsoft.Crm.ObjectModel.KbArticleService.UnPublish(BusinessEntity entity, ExecutionContext context)
       at Microsoft.Crm.ObjectModel.KbArticleService.SetState(BusinessEntityMoniker moniker, Int32 newState, Int32 newStatusCode, ExecutionContext context)
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Platform |User: 7cd551e3-3102-4fb4-98b6-717c02105c87 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | MessageProcessor.Execute
     ilOffset = 0x1C5
    >MessageProcessor fail to process message 'SetStateDynamicEntity' for 'kbarticle'.
    [2015-02-18 13:00:38.292] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   17 |Category: Exception |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | CrmException..ctor  ilOffset
    = 0x0
    at CrmException..ctor(String message, Exception innerException, Int32 errorCode, Boolean isFlowControlException)  ilOffset = 0x0
    at CrmException..ctor(String message, Int32 errorCode)  ilOffset = 0x0
    at PlatformCommand.CreateCrmExceptionFromServiceFault(FaultException`1 fe)  ilOffset = 0x1B
    at PlatformCommand.XrmExecuteInternal()  ilOffset = 0xF6
    at Article.Unpublish(String articleId)  ilOffset = 0x49
    at UnpublishDialogPage.ConfigureForm()  ilOffset = 0xDB
    at AppUIPage.OnPreRender(EventArgs e)  ilOffset = 0x13
    at Control.PreRenderRecursiveInternal()  ilOffset = 0x54
    at Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x6D3
    at Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)  ilOffset = 0x3C
    at Page.ProcessRequest()  ilOffset = 0x14
    at Page.ProcessRequest(HttpContext context)  ilOffset = 0x31
    at CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()  ilOffset = 0x18D
    at HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)  ilOffset = 0x15
    at ApplicationStepManager.ResumeSteps(Exception error)  ilOffset = 0x10A
    at HttpApplication.System.Web.IHttpAsyncHandler.BeginProcessRequest(HttpContext context, AsyncCallback cb, Object extraData)  ilOffset = 0x5C
    at HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)  ilOffset = 0x16A
    at ISAPIRuntime.ProcessRequest(IntPtr ecb, Int32 iWRType)  ilOffset = 0x4B
    >Crm Exception: Message: The required object does not exist., ErrorCode: -2147210235
    [2015-02-18 13:00:38.308] Process: w3wp |Organization:9684c31e-e64f-46d6-bae5-f668a5c18f83 |Thread:   17 |Category: Application |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | ErrorInformation.LogError
     ilOffset = 0x17
    >MSCRM Error Report:
    Error: Exception of type 'System.Web.HttpUnhandledException' was thrown.
    Error Number: 0x80042C05
    Error Message: The required object does not exist.
    Error Details: The required object does not exist.
    Source File: Not available
    Line Number: Not available
    Request URL: http://sr-ens-085.tatenergosbyt.corp/CRM/_grid/cmds/dlg_unpublish.aspx?iId=%7bBFB9A522-A90D-E411-ABC0-080027E463F8%7d&iIndex=0&iObjType=127&iTotal=1
    Stack Trace Info: [CrmException: The required object does not exist.]
       at Microsoft.Crm.Dialogs.UnpublishDialogPage.ConfigureForm()
       at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
       at System.Web.UI.Control.PreRenderRecursiveInternal()
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    [HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown.]
       at System.Web.UI.Page.HandleError(Exception e)
       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
       at System.Web.UI.Page.ProcessRequest()
       at System.Web.UI.Page.ProcessRequest(HttpContext context)
       at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
       at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
    [2015-02-18 13:00:38.308] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   17 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | ExceptionConverter.ConvertToFault
     ilOffset = 0x57
    >UNEXPECTED: no fault?
    [2015-02-18 13:00:38.308] Process: w3wp |Organization:00000000-0000-0000-0000-000000000000 |Thread:   17 |Category: Platform |User: 00000000-0000-0000-0000-000000000000 |Level: Error |ReqId: 40d8fd3c-ccc5-4f8f-84c2-d61081940a93 | ExceptionConverter.ConvertMessageAndErrorCode
     ilOffset = 0x23B
    >System.Web.HttpUnhandledException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #89864F56: System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown.
    ---> Microsoft.Crm.CrmException: The required object does not exist.
    >   at Microsoft.Crm.Dialogs.UnpublishDialogPage.ConfigureForm()
    >   at Microsoft.Crm.Application.Controls.AppUIPage.OnPreRender(EventArgs e)
    >   at System.Web.UI.Control.PreRenderRecursiveInternal()
    >   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.HandleError(Exception e)
    >   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
    >   at System.Web.UI.Page.ProcessRequest()
    >   at System.Web.UI.Page.ProcessRequest(HttpContext context)
    >   at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
    >   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

    Difficult to tell you without more information..
    Have you inserted some screenshots in your script (if not already present) to better debut? You know that during recording or after recording, you can manually add screenshots for example just before the given stop to be able to identify the real status of the application when the error occurs...
    Maybe you have forgotten to parameterize a value. What are you iterating on? A full business process or do you try to add lines?
    Sometimes, you can try to put a "activate" function just before the action using the //form:listOfValues.
    Can you paste here the portion of your script?
    JB

  • Source file not found Error

    Hi,
    I have some jars in my package. I can see all the jar files in the IDE under my package name.
    However, when I try to open any of the classes in any jar - it gives me an error saying "Source File for {package name}.{ClassName} not found".
    This was working yesterday.
    Any suggestions where I may be going wrong? Thanks!

    whether your jar file contains source file or not.
    better unzip the zar using winzip to check this

  • Struts class not found for war file

    Hello,
    I am tring to deploy my struts web application in weblogic 8.1. I have all the
    library files in web-inf\lib directory. It gave me the error that class not found
    for some class in struts library. The console also told me the classpath. But
    I can use javap to find the class using the same classpath. Could any one point
    me some direction what I am doing wrong here.
    Thanks.
    Here is the error message:
    java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.>
    <Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216> <Servlet: "action"
    fa
    iled to preload on startup in Web application: "voppocWebApp".
    javax.servlet.ServletException: [HTTP:101250][ServletContext(id=9921725,name=vop
    pocWebApp,context-path=/voppocWebApp)]: Servlet class org.apache.struts.action.A
    ctionServlet for servlet action could not be loaded because a class on which it
    depends was not found in the classpath C:\bea\weblogic81\server\bin\myserver\upl
    oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
    t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
    \bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
    _voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
    server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
    rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
    yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
    \lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
    ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
    upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
    erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
    a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
    ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
    r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
    s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
    \.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
    karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
    myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
    C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
    pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
    in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
    EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
    extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
    java.lang.NoClassDefFoundError: org/apache/commons/beanutils/Converter.
    at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:800)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    at weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)

    Hello Mark,
    Your suggested solution (putting an empty commons-logging.properties into
    web-inf/classes or in a jar in web-inf/lib)
    does not make any change at all. It still complains about not being able to
    preload the servlet and still
    gives exceptions upong calling upon LogFactory.
    What I have been able to do is put the three classes from
    com.bea.wlw.netui.util.logging into a separate jar
    and add that to web-inf/lib.
    However I am sometimes getting funny exceptions upon undeploy
    (NoClassDefFoundError for org.apache.commons.collection.FastHashMap$KeySet).
    Regards,
    Robert Varga
    "Mark Griffith" <[email protected]> wrote in message
    news:[email protected]...
    From a FAQ on netui:
    1. Why do I get a ServletException while trying to deploy a struts web
    application on a Workshop/Integration/Portal domain?
    In the "<WL-HOME>/server/lib/knex.jar" file there is a properties file
    called "commons-logging.properties" which configures the
    com.bea.wlw.netui.util.logging.StrutsLogFactory class for Struts loggingas
    below:
    org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
    ogFactory
    This class file is not available for a Struts web application that was not
    built using Workshop, the reason being the containing NetUI jar files are
    not present in the web application's WEB-INF/lib folder. This leads to a
    ServletException while deploying the web application. The solution is toadd
    a blank file (or a JAR containing the file) namedcommons-logging.properties
    to the server CLASSPATH, or to the WEB-INF/lib folder of the concerned web
    application. This issue will be fixed in Service Pack 2.
    cheers
    mbg
    "Robert Varga" <[email protected]> wrote in message
    news:[email protected]...
    Hi Rob,
    I also have a similar error with deploying a Struts web application into
    a
    8.1 Basic Workshop Domain created
    by 8.1 Platform.
    I get a ClassNotFoundException for 'com.wlw...StrutsLogFactory', whenStruts
    tries to load any Jakarta class
    from commons-beanutils or Struts which has logging.
    This happens because commons-logging picks up some property whichinstructs
    it to load that class, which is
    naturally not included in most web applications, since it is
    workshop-specific. This property definition, I think,
    is in <bea>\weblogic81\server\knex.jar, called
    commons-logging.properties,
    containing the following line:
    org.apache.commons.logging.LogFactory=com.bea.wlw.netui.util.logging.StrutsL
    ogFactory
    How can I override this in my webapp in a property file, so that when a
    Struts or Beanutils class calls
    LogFactory.getLog(org.apache.....<classname>.class), it would not try touse
    the property file and the
    class defined in knex.jar.
    Thanks in advance,
    Robert Varga
    "Rob Woollen" <[email protected]> wrote in message
    news:[email protected]...
    Actually it complained about a NoClassDefFoundError. Generally this
    is
    caused by something in a parent classloader that is found but then
    depends on something only loadable in a child classloader.
    eg.
    You have something in your $CLASSPATH that references something in the
    WEB-INF/lib. This will NoClassDefFoundError.
    So, as I recommended, remove everything you've added to the$CLASSPATH,
    add the jars to WEB-INF/lib. If you're still having problems, show me
    your $CLASSPATH, the contents of WEB-INF/lib, and the error message
    /stack trace.
    -- Rob
    yuruo chen wrote:
    Hello, Rob,
    I did put the common-beanutils and other jar files in the
    web-inf/lib
    directory.
    And from the weblogic console, I do see the jar file get included in
    the
    classpath.
    (those generated file name have some number attached at the end.)
    As
    I
    mentioned
    before, I can use javap find the class using this weblogic generatedclasspath.
    But weblogic complained that the class is not found.
    Rob Woollen <[email protected]> wrote:
    Remove anything you've added to the server's classpath.
    Add the required jar files to WEB-INF/lib
    -- Rob
    yuruo chen wrote:
    Hello,
    I am tring to deploy my struts web application in weblogic 8.1. I
    have
    all the
    library files in web-inf\lib directory. It gave me the error that
    class
    not found
    for some class in struts library. The console also told me the
    classpath.
    But
    I can use javap to find the class using the same classpath. Could
    any
    >>>>>
    one point
    me some direction what I am doing wrong here.
    Thanks.
    Here is the error message:
    java.lang.NoClassDefFoundError:
    org/apache/commons/beanutils/Converter.>
    <Nov 13, 2003 11:05:29 AM EST> <Error> <HTTP> <BEA-101216>
    <Servlet:
    >>>>>
    "action"
    fa
    iled to preload on startup in Web application: "voppocWebApp".
    javax.servlet.ServletException:
    [HTTP:101250][ServletContext(id=9921725,name=vop
    pocWebApp,context-path=/voppocWebApp)]: Servlet classorg.apache.struts.action.A
    ctionServlet for servlet action could not be loaded because a classon which it
    depends was not found in the classpath
    C:\bea\weblogic81\server\bin\myserver\upl
    >
    oad\voppocWebApp.war;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extrac
    >
    t\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\activation30425.jar;C:
    >
    \bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp
    >
    _voppocWebApp\jarfiles\WEB-INF\lib\commons-beanutils30426.jar;C:\bea\weblogic81\
    >
    server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\ja
    >
    rfiles\WEB-INF\lib\commons-collections30427.jar;C:\bea\weblogic81\server\bin\.\m
    >
    yserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF
    >
    \lib\commons-digester30428.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdel
    >
    ete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-file
    >
    upload30429.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\mys
    >
    erver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\commons-lang30430.jar;C:\be
    >
    a\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_vo
    >
    ppocWebApp\jarfiles\WEB-INF\lib\commons-logging30431.jar;C:\bea\weblogic81\serve
    >
    r\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfile
    >
    s\WEB-INF\lib\commons-validator30432.jar;C:\bea\weblogic81\server\bin\.\myserver
    >
    \.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\ja
    >
    karta-oro30433.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\
    >
    myserver_voppocWebApp_voppocWebApp\jarfiles\WEB-INF\lib\jdbc2_0-stdext30434.jar;
    >
    C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\extract\myserver_voppocWebA
    >
    pp_voppocWebApp\jarfiles\WEB-INF\lib\mailapi30435.jar;C:\bea\weblogic81\server\b
    >
    in\.\myserver\.wlnotdelete\extract\myserver_voppocWebApp_voppocWebApp\jarfiles\W
    >
    EB-INF\lib\struts30436.jar;C:\bea\weblogic81\server\bin\.\myserver\.wlnotdelete\
    extract\myserver_voppocWebApp_voppocWebApp\jarfiles\_wl_cls_gen.jar.
    java.lang.NoClassDefFoundError:
    org/apache/commons/beanutils/Converter.
    atweblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubI
    mpl.java:800)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppS
    ervletContext.java:3236)
    atweblogic.servlet.internal.WebAppServletContext.preloadServlets(WebApp
    ServletContext.java:3181)

  • Struts javax.naming.NameNotFoundException: name not found

    Hi.
    I'm developing a my first struts web application an I'm getting: javax.naming.NameNotFoundException: control_seguros not found
    This is my META -INF/context.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <Context path="/control_seguros">
    <Resource auth="Container" driverClassName="org.postgresql.Driver" name="jdbc/control_seguros" password="seguros" type="javax.sql.DataSource" url="jdbc:postgresql://localhost/control_seguros" username="seguros"/>
    </Context>
    web.xml
    <resource-ref>
    <description>Conexión Base de Datos</description>
    <res-ref-name>jdbc/control_seguros</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    action code
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    // Look up our data source
    DataSource ds = (DataSource) envCtx.lookup("jdbc/control_seguros");
    // Allocate and use a connection from the pool
    Connection conn = ds.getConnection();
    conn.close();
    How can i solve this? I'm using Glassfish v3 prelude. One more thing: i'm not sure if it's relevant, but i create meta-inf folder and content.xml manually. I'd like to know how the application determinates that the database connection settings are in this xml.

    1. To use local interfaces in Glassfish your client & bean must be in same EAR or EJB module.
    2. @Sateless(name=) it's only the name of bean and in fact the bean interface is stored under different name then processPayment, it can be something like
    packege.className.
    3. I assume that you can't use EJB annotation is servlet.
    4. If indeed you need to use lookup, you need perform following steps (only in Glassfish context).
    a) if you are in same EAR as servlet use in web.xml resource ref like in following eg.
        <ejb-local-ref>
            <ejb-ref-name>Custom name, this name you will use in WAR</ejb-ref-name> <!---->
            <ejb-ref-type>Session</ejb-ref-type>
            <local-home/> <!-- Beans are homeles ->
            <local>eu.softper.aleksandra.ewidencje.book.BookLocal</local> <!-- Your's bean local interface -->
            <ejb-link>Your bean name - here</ejb-link>
        </ejb-local-ref>b)if outside EAR you need to use server specific deployment, if server allows to pass local ref outside application. Glassfish does not.

  • Servlet Class dependency is not found at weblogic startup.

    I have the following ear file which includes:
    web-inf\lib (contains all the needed utilities jar)
    *ejb.jar
    *webapp.war (The WEB-INF\lib dir inside war file contains all the needed utilities
    jars.
    I get the following BEA-101250 error saying that a servlet could not be loaded
    because a class that it depends on is not in the classpath. But I think I place
    all the needed jars in the startWebLogic.cmd file as well as in the WEB-INF\lib
    of the ear and war files. However, if a classs that a servlet depends on is not
    found, why doesn't weblogic simply tells us what that class is (instead of guessing
    to death)? How can I find which class that the servlet depends on is not found?
    Thanks.
    BEA-101250
    Error: [context]: Servlet class className for servlet svltName could not be loaded
    because a class on which it depends was not found in the classpath classPath.\nt.
    Description
    [context]: Servlet class className for servlet svltName could not be loaded because
    a class on which it depends was not found in the classpath classPath.\nt.
    Cause
    One of the classes the servlet class uses was not recognized by the Web application
    classloader.
    Action
    Make sure the class is available either in WEB-INF/classes or WEB-INF/lib or
    system classpath.

    Hmm, do you perhaps have the prefer web-inf-classes set in weblogic.xml?
    -- Rob
    rock wrote:
    I place all the utilties class in the top level APP-INF/lib. Same error. I installed
    this application on JBoss and everything runs fine. I really don't know what
    classes or jar that weblogic says that a servlet depends on.
    There are only a finite number of places where you can put all the needed jars
    in which that servlet depends:
    1. myapp.ear/APP-INF/lib
    2. myapp.ear/WEB-INF/lib
    3. or put it to a directory in the ear and refer to each jars in the CLASS-PATH
    line of the MANIFEST.MF file.
    4. myweb.war/WEB-INF/lib
    5. EJBs are in myapp.ear top directory
    6. Refer to all the jars in startWebLogic.cmd script as it starts.
    I still don't know what jars I am missing.
    Thanks.
    Rob Woollen <[email protected]> wrote:
    rock wrote:
    Rob,
    I remove all the classpath, but when I deploy the ejb complains thatit missed
    all the needed utilities class. Ok, stop there. If the utilities classes need to be seen by both the
    EJBs and webapp, then placing them in WEB-INF/lib is not enough. That
    makes them available only to the webapp.
    If you're using 8.1, then the solution is pretty simple. Move your
    utility classes into a top-level directory named APP-INF/lib
    ie
    ear/APP-INF/lib/utils.jar
    ear/fooejb.jar
    ear/fooweb.war
    If you're using < 8.1, then you can still move the jars to APP-INF/lib,
    but you'll need to add manifest class-path entries to the EJB and webapp.
    -- Rob
    I again place it on - the ear deploys fine (ejbs
    and war). But the starting servlet could not loaded because it cannotfinds a
    class that it depends on. I think I reference all the classes or jarsthat it
    needs - so I need it to tell me which one. I don't know why weblogicmakes it
    so difficult. It took me a month already and all I need to do is findthe class
    that it complains about.
    Rob Woollen <[email protected]> wrote:
    Yes, it would be nicer if that exception had more information.
    You told the web container the servlet-class in your web.xml. THe
    web
    container tried to load it and got a NoClassDefFoundError.
    Unfortuantely that exception doesn't include much information.
    NoClassDefFoundErrors are caused by something in a parent loader
    depending on something in a child classloader.
    Step #1 is for you to remove everything you've added to the $CLASSPATH.
    If that doesn't solve your problem, post again.
    -- Rob
    rock wrote:
    I have the following ear file which includes:
    web-inf\lib (contains all the needed utilities jar)
    *ejb.jar
    *webapp.war (The WEB-INF\lib dir inside war file contains all the
    needed
    utilities
    jars.
    I get the following BEA-101250 error saying that a servlet could notbe loaded
    because a class that it depends on is not in the classpath. But Ithink I place
    all the needed jars in the startWebLogic.cmd file as well as in theWEB-INF\lib
    of the ear and war files. However, if a classs that a servlet dependson is not
    found, why doesn't weblogic simply tells us what that class is (insteadof guessing
    to death)? How can I find which class that the servlet depends onis not found?
    Thanks.
    BEA-101250
    Error: [context]: Servlet class className for servlet svltName couldnot be loaded
    because a class on which it depends was not found in the classpathclassPath.\nt.
    Description
    [context]: Servlet class className for servlet svltName could notbe loaded because
    a class on which it depends was not found in the classpath classPath.\nt.
    Cause
    One of the classes the servlet class uses was not recognized by theWeb application
    classloader.
    Action
    Make sure the class is available either in WEB-INF/classes or WEB-INF/libor
    system classpath.

  • Class not found - was channel definition question

    I am much closer.  Tomcat is putting some key messages in the console and I overlooked them.  It looks like I am closer than I thought.  The request looks like its getting received, but my service blows up on response due to I think two class not found issues.  But, I can't tell what classes are missing.
    [Flex]Deserializing AMF/RTMP request
    Version: 3  null
      2.0
      (Command method=null (0) trxId=2.0)
        null
        (Externalizable Object #0 'flex.data.messages.DataMessageExt')
          (Array #1)
            [0] = (Typed Object #2 'flex.data.messages.DataMessage')
              identity = (Object #3)
                partId = 81959
              operation = 11
              correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7"
              headers = (Object #4)
              messageId = "8AF6C660-9DE3-F155-6A91-88F3CAC5A4F0"
              timestamp = 0
              destination = "DocumentPart"
              timeToLive = 0
              body = (Typed Object #5 'com.hpdocs.ds.document.DocumentPart')
                documentId = 81960
                partId = 81959
                content = "Hello World"
              clientId = "05E549ED-455F-A9AF-EEDE-88F3CA7E4BF9"
    "DocumentPart"
    (Object #6)
            DSEndpoint = "hp_rtmp"
            DSId = "F65B351A-A60C-6F91-2932-44630DAED2B9"
    (Byte Array #7, Length 16) ""
    7
    [Flex]Received command: TCCommand [ Cmd: 0, MethodName: null, TrxID: 2.0]
    [Flex]Serializing AMF/RTMP response
    Version: 3
      (Command method=_error (0) trxId=2.0)
        (Typed Object #0 'flex.messaging.messages.ErrorMessage')
          headers = (Object #1)
          rootCause = (Typed Object #2 'java.lang.NoClassDefFoundError')
            message = "javax/transaction/SystemException"
            localizedMessage = "javax/transaction/SystemException"
            cause = (Typed Object #3 'java.lang.ClassNotFoundException')
              message = "javax.transaction.SystemException"
              localizedMessage = "javax.transaction.SystemException"
              cause = null
              exception = null
          body = null
          correlationId = "419F99AA-B649-9490-650D-88F3CAADBCB7"
          faultDetail = null
          faultString = "There was an unhandled failure on the server. javax/transaction/SystemException"
          clientId = "F65B3649-620E-C827-50C4-6A1C78BC3712"
          timeToLive = 0.0
          destination = "DocumentPart"
          timestamp = 1.273607998612E12
          extendedData = null
          faultCode = "Server.Processing"
          messageId = "F65B3675-5409-795E-747F-B2F459749415"

    it looks like your Tomcat is missing the JTA setting.
    Tomcat
    To use LiveCycle Data Services with Tomcat when not using the integrated Tomcat configuration, install support for the Java Transaction API (JTA). You might also have to install several other libraries depending on the features that you plan to use. Follow these steps after deploying the LiveCycle Data Services WAR files. These steps are not necessary for the integrated Tomcat installation.
    Stop Tomcat.
    To install support for JTA, a recommended implementation is the Java Open Transaction Manager (JOTM), which is a fully functional open source stand-alone transaction manager.
    Download JOTM from http://jotm.objectweb.org.
    Copy the JAR files from jotm-root/lib to [tomcat-root]/common/lib.
    Create a context file for your web application and register JOTM using the Transaction element. For example, for the samples WAR create a tomcat-root/conf/Catalina/localhost/lcds-samples.xml file and add the following lines:CONTEXT antijarlocking="false" antiresourcelocking="false"   docbase="${catalina.home}/webapps/lcds-samples" path="/lcds-samples"   privileged="true">  <TRANSACTION factory="org.objectweb.jotm.UserTransactionFactory"   jotm.timeout="60"></TRANSACTION></CONTEXT> 
    Note: If a context file exists for your web application, add the <TRANSACTION> element under the <CONTEXT> element.
    Increase the maximum memory to at least 512 MB by specifying the maximum heap size for the JVM in the JAVA_OPTS variable: -Xmx512m
    (Optional) To enable custom authentication, locate the Tomcat security resource libraries under install_root/resources/security/tomcat.
    Place the flex-tomcat-common.jar and flex-tomcat-server.jar files in the tomcat/lib folder.
    Add the following line to the context descriptor file for your web application:
    <VALVE classname="flex.messaging.security.TomcatValve"></VALVE>
    You can now perform authentication against the current Tomcat realm. Usually, the default configuration for authentication stores user information in conf/tomcat-users.xml. See the Tomcat documentation for more information on realms. See the LiveCycle Data Services documentation for more information on custom authentication.
    You might also have to update the active <LOGIN-COMMAND> in /WEB-INF/flex/services-config.xml in each deployment of a LiveCycle Data Services WAR file. For Tomcat, ensure that the TomcatLoginCommand is active in the <SECURITY>section:<SECURITY><LOGIN-COMMAND server="Tomcat"></LOGIN-COMMAND>...</SECURITY>
    (Optional) To use the JMSAdapter with the Message Service, install and configure a JMS provider (such as ActiveMQ or openJMS) for use with Tomcat.
    Restart Tomcat.
    original doc is located here
    Hopefully this will help.

  • "onSendButtonClicked" not found!

    Greetings!
    Could you help me please
    I've got a following exception
    com.sapportals.htmlb.page.PageException: Eventhandler- "onSendButtonClicked" not found!
    There is method implementation in jsp class
    PORTALAPP.xml
    <application>
    <application-config>
    <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
    </application-config>
    <components>
    <component name="ztel_jspdynpage">
    <component-config>
    <property name="ClassName" value="com.gazprom.tel_sprav.ztel_jspdynpage"/>
    <property name="JSP" value="pagelet/start.jsp"/>
    </component-config>
    <component-profile>
    <property name="taglib" value="/SERVICE/htmlb/taglib/htmlb.tld"/>
    </component-profile>
    </component>
    </components>
    <services/>
    </application>
    JSP CLASS
    public class ztel_jspdynpage extends PageProcessorComponent {
    public DynPage getPage(){
    return new ztel_jspdynpageDynPage();
    public static class ztel_jspdynpageDynPage extends JSPDynPage{
    public void doInitialization()
    public void doProcessAfterInput() throws PageException
    public void doProcessBeforeOutput() throws PageException
    public void onSendButtonClicked(Event event) throws PageException
    Application goes throuh method doProcessAfterInput() and then must deal with onSendButtonClicked(Event event) but an exception occures
    Thanks

    <%@ taglib uri="taglib" prefix="hbj" %>
    <jsp:useBean id="zsprav_bean" scope="application" class="zsprav_bean.zsprav_bean" />
    <hbj:content id="myContext" >
      <hbj:page title="PageTitle">
       <hbj:form id="myFormId" >
    <table>
         <tr>
         <td>
         Фамилия:
         </td>
         <td>
         Имя:
         </td>
         <td>
         Отчество:
         </td>
         <td>
         Телефон:
         </td>
         </tr>
         <tr>
         <td>
         <hbj:inputField
                             id = "inpLNAME"
                             type="STRING"
                             design="STANDARD">                         
         </hbj:inputField>
         </td>
         <td>
         <hbj:inputField
                             id = "inpFNAME"
                             type="STRING"
                             design="STANDARD"                         
                             />
         </td>
         <td>
         <hbj:inputField
                             id = "inpMNAME"
                             type="STRING"
                             design="STANDARD"
                             />
         </td>
         <td>
         <hbj:inputField
                             id = "inpTNUM"
                             type="STRING"
                             design="STANDARD"                         
                             />
         </td>
         </tr>
         </table>
    <hbj:button id = "text" text = "text" оnСliск = "onSendButtonClicked" design="STANDARD">
    </hbj:button>
       </hbj:form>
      </hbj:page>
    </hbj:content>
    Edited by: Ivan O. Ivanov on Jul 3, 2008 12:44 PM

  • Class not  found, Jdk1.4 matters?

    Why drivers can't be loaded for this machine? Make me strugge for many hours already.
    1)
    Version j2sdk-1_4_2_07- (Java 2 se, 1.4)
    Environment: Windows XP
    I keep receiving "Class not found" exception error when running the following simple piece of codes for testing. (No complint When compiling). The code simply reads:
    try {
    System.out.println("driver loading test step 0 !!!....");
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    System.out.println("driver loaded 1 !!!....");
    System.exit(0);
    catch (ClassNotFoundException ee) {
    System.out.println("Clss not found\n" + ee.getMessage());
    My other simple java codes got compiled and run ok in the same enironment.
    2)
    I then replaced the sun jdcd-odbc bridge driver in the test with a jdbc driver (for Sql server) downloaded from DataDirect.
    That is: by replacing the one line above with the following. But it gives me classNot found Exception too. I don't think it has to do with classpath as I add it in the java command line already
    Class.forName("com.ddtek.jdbc.sqlserver.SQLServerDriver");
    3) I moved the codes to run in my old PC (Windows NT 4) with jdk1.3, the codes are compiled and run WITHOUT Class not found Exception.
    I had more than a year experience in developing Java codes (though not recently) but what I experience now is so wierd to me. What's wrong with jdk1.4 or what's wrong with this XP machine?
    Thanks.

    99.999% of the time, something is wrong with your classpath at execution time, or with the classname you put in your code (those class names do look right though). That the same code works on another machine almost certainly means that something has set the classpath in the environment on one machine and not the other.
    .001 percent of the time, something is wrong with your machine, such as a corrupted file system or OS. If so, reformat your drive, and reinstall everything. However, always, there will be other symptoms of problems (mystery crashes, disappearing files, etc.), so don't waste your time doing this unless your computer is already flaky.
    Most likely, you just don't know how to set the classpath for execution. For that, use Google.

  • Shared library: function is not found and recognized in header file

    Hello,
    I am trying to use Java methods into LV. I am doing so by creating Java Invocation Interface, usind which I can call Java methods into C++ and then create a shared library that can be called into LV.
    When I am importing my shared library into Labview, I am getting the following error messages:
    The shared library contains 3 function(s). But no function is found and recognized in the header file. The following function(s) cannot be wrapped. If you want to import these functions, please review the warning messages next to the functions below. You will need to fix the problems before you can continue with the wizard.
    jclass invokeJavaClass(JNIEnv* jenv, string className);
    The following symbols are not defined:
    jclass;
    Undefined symbols can prevent the wizard from recognizing functions and parameters. To correct this problem, check the header file to determine if you must add preprocessor definitions. Click the Back button to return to the previous page of the wizard to add a preprocessor definitionsl (for example, "NIAPI_stdcall = __stdcall" or "NIAPIDefined = 1").
    The following header file was not found in the specified header file or one of the referenced header files:
    -  string
    -  iostream
    -  cstring
    -  jni.h
    To fix, click the Back button to go to the previous page and add the header file path to the Include Paths list.
     Please advise.
    Regards,
    H
    Attachments:
    SharedLibError.png ‏51 KB

    Hello Vivek,
    The LabVIEW dll that I am trying to import does not include any third-party device..all my code is fully based on LabVIEW. Maybe this helps you to guess what is happening: once I've parsed the dll' header appears an error
    like this one:
    void
    __cdecl Zdmt(LVBoolean *stop, double P, char channelName[],
        TD1
    *errorIn, TD14 *FFTOptions, TD12 *Calibration, char FileName[],
    int32_t minRecordLength, TD26 *InstrumentHandler, LVRefNum
    sessionRefArray[],
        LVRefNum *queueIN, TD1 *errorOut, LVBoolean
    *averagingDone,
        HWAVES LastRecordFetched, TD24 *Impedance, TD17
    *ColeColeCluster,
        TD18 *FFTcluster, TD5
    *InstrumentHandleOutputCluster, LVRefNum *queueOut,
        int32_t
    *Acquired, TD6 *FreqTimeInfoCluster, double *averagesCompleted,
    int32_t len);
    The following symbols are not defined:
    LVBoolean;
    int32_t; LVRefNum;
    Undefined symbols can prevent the wizard
    from recognizing functions and parameters. To correct this problem,
    check the header file to determine if you must add predefined symbols.
    Click the Back button to return to the previous page of the wizard to
    add a preprocessor definitionsl (for example, "NIAPI_stdcall =
    __stdcall" or "NIAPIDefined = 1").
    The following header file was
    not found in the specified header file or one of the referenced header
    files:
    -  extcode.h
    To fix, click the Back button to go to the
    previous page and add the header file path to the Include Paths list.
    I have replaced the first line #include "extcode.h" of
    the dll header file for #include "C:\Program Files\National
    Instruments\LabVIEW 8.6\cintools\extcode.h" that is the full path where
    the header file is located. However, new libraries seems to be missed:
    -  stdint.h
    -  MacTypes.h
    As far as I know,  Mactypes.h contains basic mac os data types and it doesn't have any relation with stdint.h...
    I have created both of them and stored into the same folder as extcode.h, but then other libraries are missed!!!
    Do you know if it would be possible to create the .dll generating all the header files associated for its data structures???
    And if this is not factible, then what do you suggest me? because I hope to not having to create all the header files until it stops giving me an error!
    thanks for four time,
    ben

  • 404 File not Found error trying servlet under https

    Hi,
    This is the first time that I've had to work with SSL. I have a servlet that worked fine under regular http. I had to implement SSL and run my site over https. When I try to access my servlet under HTTPS, I get the 404 File not found error. Is there something that I need to setup for servlets to run under SSL in apache or server.xml? or Do I need to modify my JSP and Servlet code?
    I call my servlet from my JSP on the action method of the form like such:
    * JSP call to servlet
    <form action="https://www.benefitserver.com:8081/FDFServlet" method="post">
    * Servlet code
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.net.ssl.*;
    import java.io.*;
    import java.util.*;
    import com.yoursummit.benefitserver.*;
    import com.adobe.fdf.*;
    import com.adobe.fdf.exceptions.*;
    public class FDFServlet extends HttpServlet
    private static final String CONTENT_TYPE = "text/html";
    private String fileout = "";
    //Initialize global variables
    public void init() throws ServletException
    System.setProperty("java.protocol.handler.pkgs","sun.net.ssl.internal.www.protocol");
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    //Process the HTTP Get request
    public void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    doPost( request, response);
    //Process the HTTP Post request
    public void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
    String planID = request.getParameter("planID");
    String empID = request.getParameter("empID");
    HttpSession session = request.getSession();
              try {
                   FDFDoc outputFDF = null;
                   /* Create a new FDF. */
                   outputFDF = new FDFDoc();
    // Set the form fields with values from the database
    if ( planID.equalsIgnoreCase("31") )
    formDeltaPopulation formDP = new formDeltaPopulation();
    fileout = formDP.populateDeltaForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("29") )
    formUnicarePopulation formUC = new formUnicarePopulation();
    fileout = formUC.populateUnicareForm( outputFDF, planID, empID, request );
    if (planID.equalsIgnoreCase("30") || planID.equalsIgnoreCase("32") || planID.equalsIgnoreCase("33") || planID.equalsIgnoreCase("34") || planID.equalsIgnoreCase("35"))
    formSunLifePopulation formSL = new formSunLifePopulation();
    fileout = formSL.populateSunLifeForm( outputFDF, planID, empID, request );
    response.sendRedirect(com.yoursummit.utils.urlRewrite.getServletURL(request,"emp_main.jsp?empID=" + empID));
    } catch(FDFException fdfe) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(fdfe.toString());
    fdfe.printStackTrace(out);
    IOException e = new IOException ( fdfe.getMessage() );
    throw e;
    catch(IOException ioe) {
         /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught FDF exception");
    out.println(ioe.toString());
    ioe.printStackTrace(out);
    throw ioe;
    catch(Exception e) {
    /* We handle an error by emitting an html header */
    response.setContentType("text/html");
    PrintWriter out = response.getWriter();
    out.println("Caught tomcatDB exception");
    out.println(e.toString());
    e.printStackTrace(out);
    IOException ioe = new IOException ( e.getMessage() );
    throw ioe;
    //Clean up resources
    public void destroy()
    }

    I have been told that there is problem with my configuration of Tomcat. I have followed the documentation found at
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/ssl-howto.html
    and it doesn't work. I have been working on this for a week now and can't seem to get it to work. Can someone please take a look at it and tell me what I am doing wrong? THANKS!
    I get "HTTP 404 - File not Found" with the URL https://www.benefitserver.com/FDFServlet
    I get "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request" with the URL https://www.benefitserver.com/servlet/FDFServlet
    I've looked at the log files for Apache and I don't see any errors listed. No errors logged in the Tomcat log file either.
    * httpd.conf
    ## Include line for mod_jk.so (Jakarta-Tomcat installation)
    #Include /usr/home/summimps/usr/local/jakarta/jakarta-tomcat-3.2.3/conf/mod_jk.conf-auto
    LoadModule jk_module libexec/mod_jk.so
    AddModule mod_jk.c
    JkWorkersFile /usr/home/summimps/usr/tomcat4.1.24/conf/worker.properties
    JkLogFile /usr/home/summimps/var/log/mod_jk.log
    JkLogLevel info
    #JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
    #JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories
    #JkRequestLogFormat "%w %V %T"
    JkMount /*.jsp benefitserver
    JkMount /solarc/*.jsp benefitserver
    JkMount /servlet/* ajp13
    JkMount /solarc/servlet/* ajp13
    # Should mod_jk send SSL information to Tomcat (default is On)
    #JkExtractSSL On
    # What is the indicator for SSL (default is HTTPS)
    JkHTTPSIndicator HTTPS
    # What is the indicator for SSL session (default is SSL_SESSION_ID)
    JkSESSIONIndicator SSL_SESSION_ID
    # What is the indicator for client SSL cipher suit (default is SSL_CIPHER)
    JkCIPHERIndicator SSL_CIPHER
    # What is the indicator for the client SSL certificated (default is SSL_CLIENT_CERT)
    JkCERTSIndicator SSL_CLIENT_CERT
    <Directory />
    AllowOverride None
    </Directory>
    <Directory "/usr/tomcat4.1.24/webapps/ROOT">
      Options Indexes
      <IfDefine SSL>
        SSLRequireSSL
        SSLOptions +StdEnvVars +ExportCertData +StrictRequire
        SSLVerifyClient require
        SSLVerifyDepth 1
      </IfDefine>
    </Directory>
    <VirtualHost benefitserver.com www.benefitserver.com>
    SSLRequireSSL
    ServerName benefitserver.com
    ServerAdmin [email protected]
    DocumentRoot /usr/local/etc/httpd/htdocs/benefitserver
    TransferLog /usr/local/etc/httpd/logs/bsAccess_log
    ErrorLog /usr/local/etc/httpd/logs/bsError_log
    </VirtualHost>
    * server.xml
    <?xml version='1.0' encoding='utf-8'?>
    <Server className="org.apache.catalina.core.StandardServer" debug="0" port="8006" shutdown="SHUTDOWN">
      <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener" debug="0" jsr77Names="false"/>
      <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener" debug="0"/>
      <GlobalNamingResources>
      </GlobalNamingResources>
      <Service className="org.apache.catalina.core.StandardService" debug="0" name="Tomcat-Standalone">
        <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    redirectPort="8443" bufferSize="2048" port="8081" connectionTimeout="20000" scheme="https" enableLookups="true" secure="true" protocolHandlerClassName="org.apache.coyote.http11.Http11Protocol" debug="0" disableUploadTimeout="true" maxKeepAliveRequests="100" proxyPort="0" tcpNoDelay="true" minProcessors="5" maxProcessors="75" acceptCount="100" useURIValidationHack="false" connectionLinger="-1" compression="off">
          <Factory className="org.apache.catalina.net.SSLServerSocketFactory" keystoreFile="//.keystore" keystoreType="JKS" algorithm="SunX509" clientAuth="false" protocol="TLS"/>
        </Connector>
        <Engine className="org.apache.catalina.core.StandardEngine" mapperClass="org.apache.catalina.core.StandardEngineMapper" debug="0" defaultHost="localhost" name="Standalone">
          <Host className="org.apache.catalina.core.StandardHost" appBase="webapps" liveDeploy="true" mapperClass="org.apache.catalina.core.StandardHostMapper" autoDeploy="true" configClass="org.apache.catalina.startup.ContextConfig" errorReportValveClass="org.apache.catalina.valves.ErrorReportValve" debug="9" deployXML="true" contextClass="org.apache.catalina.core.StandardContext" unpackWARs="true" name="localhost">
            <Context className="org.apache.catalina.core.StandardContext" crossContext="false" reloadable="false" mapperClass="org.apache.catalina.core.StandardContextMapper" useNaming="true" debug="0" swallowOutput="false" privileged="false" displayName="Welcome to Tomcat" wrapperClass="org.apache.catalina.core.StandardWrapper" docBase="/usr/tomcat4.1.24/webapps/ROOT" cookies="true" path="" cachingAllowed="true" charsetMapperClass="org.apache.catalina.util.CharsetMapper">
              <Environment name="uploadUrl" override="true" type="java.lang.String" description="URL to display uploaded file in Benefit Server" value="http://www.benefitserver.com:8081/bsup"/>
              <Environment name="exportPath" override="true" type="java.lang.String" description="Export Path for Benefit Server Export Utility" value="/usr/tomcat4.1.24/webapps/ROOT/bsex"/>
              <Environment name="uploadPath" override="true" type="java.lang.String" description="Upload Path for Benefit Server" value="/usr/tomcat4.1.24/webapps/ROOT/bsup/"/>
              <Environment name="tempPath" override="true" type="java.lang.String" description="Temporary Directory for File Upload in Benefit Server - Developm" value="/usr/home/summimps/tmp/benefitserver"/>
              <Resource name="BS_Data" type="javax.sql.DataSource" scope="Shareable"/>
              <ResourceParams name="BS_Mail">
                <parameter>
                  <name>mail.smtp.host</name>
                  <value>localhost</value>
                </parameter>
              </ResourceParams>
              <ResourceParams name="BS_Data">
                <parameter>
                  <name>url</name>
                  <value>jdbc:mysql://localhost/BS_Data</value>
                </parameter>
                <parameter>
                  <name>password</name>
                  <value>kdsusa1350</value>
                </parameter>
                <parameter>
                  <name>maxActive</name>
                  <value>50</value>
                </parameter>
                <parameter>
                  <name>maxWait</name>
                  <value>5000</value>
                </parameter>
                <parameter>
                  <name>driverClassName</name>
                  <value>com.mysql.jdbc.Driver</value>
                </parameter>
                <parameter>
                  <name>username</name>
                  <value>summimps</value>
                </parameter>
                <parameter>
                  <name>maxIdle</name>
                  <value>5</value>
                </parameter>
              </ResourceParams>
            </Context>
            <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="localhost_log." directory="logs" timestamp="true" suffix=".txt"/>
          </Host>
          <Logger className="org.apache.catalina.logger.FileLogger" debug="0" verbosity="1" prefix="catalina_log." directory="logs" timestamp="true" suffix=".txt"/>
          <Realm className="org.apache.catalina.realm.UserDatabaseRealm" debug="0" resourceName="UserDatabase" validate="true"/>
        </Engine>
      </Service>
    </Server>
    * web.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
    <web-app>
           <servlet>
                 <servlet-name>FDFServlet</servlet-name>
                 <servlet-class>FDFServlet</servlet-class>
           </servlet>
           <servlet-mapping>
                <servlet-name>FDFServlet</servlet-name>
                <url-pattern>/FDFServlet</url-pattern>
           </servlet-mapping>
    </web-app>

  • My Ipad Mini is not syncing wth itunes

    My Ipad Mini is not syncing wth itunes on my hp envy 6 ultrabook running windows 8 os... i ran the diagnostic test and it says"No ipad , iphone , ipod device found"... help me and yeah i have tried all the troubleshooting steps on the apple website ...
    HELP

    Hello, flippytippi.  
    Thank you for visiting Apple Support Communities.
    I would need a little more information regarding what exactly you are experiencing when attempting to sync photos to better assist you.  However, here is a troubleshooting article that I would recommend going through.  
    iTunes: Unable to sync photos
    http://support.apple.com/kb/TS3697
    Cheers,
    Jason H.

Maybe you are looking for

  • After Effects 9.0.2 crashes at launch on OS X 10.6.3

    I installed After Effects CS4 a couple of months ago, and everything was working fine. Then today, it wouldn't launch at all. It got to "Initializing Type Engine..." and then crashed with the following message: The OS X error report is as follows: Pr

  • Qosmio F50-10K - How to get Vista 64Bit from Toshiba

    Hello, Few days ago I bought Qosmio F50-10K but with Vista Ultimate 32 Bit. It doesn't satisfy me Does anybody know, how can I get Vista Ultimate 64 Bit from Toshiba? This version was developed for Poland, but in this country there is no Representati

  • Video Chat, iTunes problem i

    I just upgraded to the latest and greatest Mac Pro. In the past when I received a video chat request (or made one myself) my iTunes would automatically pause. This is not the case now. Is there a known bug? Is this something I can fix?

  • Some music files are not be shared using Home Sharing

    Has anyone had the problem of being on Home Share and not all music files, audiobooks and podcasts are being shared with my other computer?  None of my playlists are being shared either.  Please, I need help.

  • Refreshing the OBIEE layers to incorporate Essbase outline changes

    Hi, I am trying to establish a connectivity between Essbase(11.1.1.1.0.112) and OBIEE (10.1.3.3.2) to generate reports. The "Import from Multi-Dimensional" menu option in the Oracle BI Administration tool is used to create BI Server Physical layer. O