Org.hibernate.AnnotationException: Cannot find the expected secondary table

Hello
My detailed problem is on the topic:
http://forum.java.sun.com/thread.jspa?threadID=5123752&tstart=0
Rest of the classes are the same but I have changed my persistence.xml to:
<?xml version="1.0" encoding="UTF-8"?>
<persistence version="1.0" xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd">
<persistence-unit name="cname" transaction-type="RESOURCE_LOCAL">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
     <jta-data-source>java:/OracleDS</jta-data-source>
     <properties>
               <property name="hibernate.hbm2ddl.auto" value="update"/>
               <property name="hibernate.ejb.autodetection" value="class"/>
               <property name="hibernate.dialect" value="org.hibernate.dialect.Oracle9Dialect"/>
     </properties>
     </persistence-unit>
</persistence>I am still getting the exception:
org.hibernate.AnnotationException: Cannot find the expected secondary table: no CUSTOMER available for entities.Customer
     at org.hibernate.cfg.Ejb3Column.getJoin(Ejb3Column.java:293)
     at org.hibernate.cfg.Ejb3Column.getTable(Ejb3Column.java:272)
     at org.hibernate.cfg.annotations.SimpleValueBinder.make(SimpleValueBinder.java:222)
     at org.hibernate.cfg.AnnotationBinder.bindId(AnnotationBinder.java:1728)
     at org.hibernate.cfg.AnnotationBinder.processElementAnnotations(AnnotationBinder.java:1171)
     at org.hibernate.cfg.AnnotationBinder.bindClass(AnnotationBinder.java:706)Can anyone please tell me why I am getting this exception?
Thanks!

Did you ever find a solution for this problem? I'm getting the same errors.

Similar Messages

  • Org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of ..

    Hello,
    I try to validate a DOM Document using:
    SchemaFactory factory=SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
    Source schemaFile=new StreamSource("myschema.xsd");
    schema schema=factory.newSchema(schemaFile);
    Validator validator=schema.newValidator();
    validator.validate(new DOMSource(document));
    I don't validate using the parse(File) method, because I already have a DOM Tree in memory.
    BUT now I receive the following error:
    org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'catalogue'.
    at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)
    at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.handleStartElement(Unknown Source)
    at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source)
    at org.apache.xerces.jaxp.validation.DOMValidatorHelper.beginNode(Unknown Source)
    at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
    at org.apache.xerces.jaxp.validation.DOMValidatorHelper.validate(Unknown Source)
    at org.apache.xerces.jaxp.validation.XMLSchemaValidator.validate(Unknown Source)
    at javax.xml.validation.Validator.validate(Unknown Source)
    catalogue is my rootElement.
    I'm using jdk 1.4.
    Does somebody know how to solve this?
    Thank you!
    Katja

    extra information
    a part of the XSD schema:
    <?xml version="1.0" encoding="UTF-8"?><xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">     <xsd:element name="catalogue">    <xsd:complexType>      <xsd:sequence>        <xsd:element ref="date_created"/>        <xsd:element ref="date_modified"/>        <xsd:element ref="comment"/>        <xsd:element ref="books"/>        <xsd:element ref="cds"/>      </xsd:sequence>    </xsd:complexType>  </xsd:element>the code I'll using:
    public class DomWriterWithValidation extends AppBo{
         public static void main(String[] args) {
              DocumentBuilderFactory dbFactory=DocumentBuilderFactory.newInstance();
              dbFactory.setNamespaceAware(true);
              final String OUR_SCHEMA="C:/_develop/asja/lib/local/domxmlliblocal/properties/xmlfiles/catalogueBig.xsd";
              SchemaFactory schemaFactory=SchemaFactory.newInstance(XMLConstants.W3C_XML_SCHEMA_NS_URI);
              try{
                   Source schemaFile=new StreamSource(new FileInputStream(OUR_SCHEMA));
                   Schema schema=schemaFactory.newSchema(schemaFile);
                   Validator validator=schema.newValidator();
                   DocumentBuilder domBuilder=dbFactory.newDocumentBuilder();
                   File file=new File("C: /xmlfiles/catalogueDOMW1.xml");
                   Document document=domBuilder.newDocument();
                   Catalogue catalogue=getCatalogue(10,10);
                   writeXMLFile(file,catalogue,document,validator);
              }catch (Exception e) {
                   e.printStackTrace();
    public static void writeXMLFile(File file,Catalogue catalogue,Document document,Validator validator)throws SAXException{
              //1. BUILDING THE DOM TREE
              Element rootElement=document.createElement("catalogue");
              document.appendChild(rootElement);
              Element dateCreated=document.createElement("date_created");
              rootElement.appendChild(cds);
              OutputStream outputstream=null;               
                   try{
                        //2. WRITE THE DOM TREE TO AN XML FILE
                   TransformerFactory transformerFactory = TransformerFactory.newInstance();
                      Transformer transformer = transformerFactory.newTransformer();
                      transformer.setOutputProperty(OutputKeys.METHOD,"xml");
                      transformer.setOutputProperty(OutputKeys.INDENT,"yes");
                      outputstream=   new FileOutputStream(file.getPath());
                      /*With VALIDATION */
                        validator.validate(new DOMSource(document));
                   /*With VALIDATION */
                      transformer.transform(new DOMSource(document), new StreamResult(outputstream));      
              }catch (SAXException saxException){
                        System.out.println("The XML-file you are trying to create is not valid");
                        throw saxException;
              catch(Exception e){
                   e.printStackTrace();
              }finally{
                   try{
                   outputstream.close();
                   }catch (IOException ioException){
                        ioException.printStackTrace();
                        throw new RuntimeException(ioException);
    }A little part of the valid XML file I want to create:
    <?xml version="1.0" encoding="UTF-8"?><catalogue><date_created><day>1</day><month>7</month><year>2008</year></date_created><date_modified><day>1</day><month>7</month><year>2008</year></date_modified>

  • App-v 4.6: cannot find the file specified

    Hi,
    Please see my previous
    post.
    In short: an application needs Internet Explorer activex, then a plugin for Excel. My App-v package is working (Internet Explorer opening), but the Excel plugin does not work. It says "cannot find the file specified".
    I copied the excel shortcut from start menu to q:\packagename.
    Please advise.
    J.
    Jan Hoedt
    In .osd file of Excel plugin, there is the following:
        <CODEBASE HREF="RTSP://%SFT_SOFTGRIDSERVER%:554/WindowsX64/Application/1.0/excelplugin.sft" GUID="9FA88591-089E-4E57-89D5-C23239E83238" PARAMETERS="" FILENAME="%CSIDL_PROGRAM_FILES%\Microsoft Office\Office12\EXCEL.EXE"
    SYSGUARDFILE="applic.001\osguard.cp" SIZE="305879730"/>
            <WORKINGDIR>%CSIDL_PROGRAM_FILES%\Microsoft Office\Office12</WORKINGDIR>
    The CSIDL_PROGRAM_FILES%, is that correct? If not, can I change it and how? Should I then reimport the package?
    I might have found a solution but please advise:
    http://blog.gridmetric.com/2011/09/26/possible-caveats-in-mixing-32-bit-and-64-bit-app-v-packages-and-environments/
    Office is x86, so I probably should change the %CSIDL_Programfiles% to %programfiles(x86)%?

    Changing CSIDL_PROGRAM_FILES to  %programfiles(x86)% is worth a try.
    A common reason for that 'cannot find the file..' error message also often can be resolved by removing the Workingdir entry (<WORKINGDIR></WORKINGDIR>  or just <WORKINGDIR/>.
    The way to apply the change depends on your deployment scenario. With an App-V Management Server (and for a test packae) you could modify (a copy of) the original .OSD file in the content share. Make sure you save with 'save as' and then 'Unicode'. Then
    re-initiate a Server Refresh from the client, that should download the new OSD.
    You also could - if it is permitted - create a copy of the client-local copy of the OSD file (you can figure that out with the Client Management Console). Double-Clicking that modified copy could do the trick.
    If you use another deployment method (SCCM, MSI) you would need to moify the OSD file using the App-V Sequencer.
    Whatever method you use during troubleshooting: For the 'final' pacage you should open the original package on the Sequencer ('Edit'), make the changes there and re-save + re-deploy the package. This makes sure that all information is consitent across the
    various App-V files
    Falko
    Twitter
    @kirk_tn   |   Blog
    kirxblog   |   Web
    kirx.org   |   Fireside
    appvbook.com

  • Error message when starting: McShield.dll: the system cannot find the file specified - what do I do to solve this?

    When I start Firefox, the following message appears before the home page opens:
    "COMMONSHELL: McShield.dll
    The specified resource language ID cannot be found in the image file.
    McShield.dll: The system cannot find the file specified."
    I click OK, Firefox opens normally and everything seems to operate as expected, no further problems.

    hello, the error message is obviously coming from one of the installed mcafee extensions. please directly contact mcafee technical support - they can likely give you more detailed guidance and are the only ones who can fix bugs or make necessary adjustments in the addon.

  • Unable to delete User object in FIM Portal - Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"

    Hi,
    ***Problem
    I encounter a problem with FIM (version 4.1.3441.0 and 4.1.3496.0) when I try to delete a User object (and only a User object) whatever if it is
    manually/Expiration Workflow/Powershell.
    Deleting a User object used to be perfectly functional and, without any product version modification, stopped working. I haven't neither deleted/modified or add a
    "Grant" MPR or any of the corresponding Sets since last time I saw it working.
    Displayed error is "Request could not be dispatched" in FIM Portal and is referencing a stored procedure in Event Viewer.
    ***Error details
    When I try to delete a User object, here is the output :
    Portal
    "Processing error" on submit
    with the following details 
    Request status is stuck at "Validating" until next restart of FIM Service (after what it becomes “Canceled”)
    Request’s “Applied Policy” tab does not contain any MPR where, at least, a “Grant” MPR is expected
    As SQL Timeout is relatively high and error happens quickly, I don’t think there is a Timeout problem under that.
    Logs
    « Application »
    The Portal cannot connect to the middle tier using the web service interface.  This failure prevents all portal scenarios from functioning correctly.
    The cause may be due to a missing or invalid server url, a downed server, or an invalid server firewall configuration.
    Ensure the portal configuration is present and points to the resource management service.
     « Forefront Identity Manager »
    Reraised Error 50000, Level 16, State 1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements,
    Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition" because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.Data.SqlClient.SqlException: Reraised Error 50000, Level 16, State
    1, Procedure ReRaiseException, Line 37, Message: Reraised Error 1088, Level 16, State 12, Procedure CalculateRequestSetTransitionsAssembleStatements, Line 332, Message: Cannot find the object "#calculateRequestSetTransitionsAssembleStatementsPartition"
    because it does not exist or you do not have permissions.
    Transaction count after EXECUTE indicates a mismatching number of BEGIN and COMMIT statements. Previous count = 1, current count = 0.
       at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
       at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
       at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
    TdsParserStateObject stateObj)
       at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
       at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
       at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult
    result)
       at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
       at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
       at Microsoft.ResourceManagement.Data.DataAccess.UpdateRequest(RequestType request, IEnumerable`1 updates)
       --- End of inner exception stack trace ---
    Requestor: urn:uuid:7fb2b853-24f0-4498-9534-4e10589723c4
    Correlation Identifier: e7209633-46d0-4f4b-a59e-807649ef71ea
    Microsoft.ResourceManagement.WebServices.Exceptions.UnwillingToPerformException: Other ---> System.InvalidCastException: Specified cast is not valid.
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier, UniqueIdentifier requestContextIdentifier,
    Boolean maintenanceMode)
       at Microsoft.ResourceManagement.WebServices.RequestDispatcher.CreateRequest(UniqueIdentifier requestor, UniqueIdentifier targetIdentifier, OperationType
    operation, String businessJustification, List`1 requestParameters, CultureInfo locale, Boolean isChildRequest, Guid cause, Boolean doEvaluation, Nullable`1 serviceId, Nullable`1 servicePartitionId, UniqueId messageIdentifier)
       at Microsoft.ResourceManagement.WebServices.ResourceManagementService.Delete(Message request)
       --- End of inner exception stack trace ---
    For information, a maintenance plan rebuild/reorganize indexes daily and this problem has occurred on servers with different performances.
    Is any of you has already encounter this problem ?
    Any help would be greatly appreciated,
    Thanks in advance for your help,
    Matthew

    While there are several SQL Agent jobs (FIM Temporal Events, Maintain Sets, and Maintain Groups among others)created by the FIM install only one of those is enabled and scheduled and it calls all of the same stored procedures that the other
    jobs do. Step 2 is Maintain sets and Step 3 is maintain groups. So the Maintain sets and groups jobs never need to get enabled and scheduled, but if you want them to be maintained more frequently then you can.
    David Lundell, Get your copy of FIM Best Practices Volume 1 http://blog.ilmbestpractices.com/2010/08/book-is-here-fim-best-practices-volume.html

  • Jdev 10.1.2  JBO-33001: Cannot find the configuration file bc4j.xcfg in cla

    Hi all,
    i have a ear application containing a web app and a bc4j module deployed on the embedded oc4j instance inside JDeveloper 10.1.2 (build 1929). Inside the model i have a topic durable subscriber that, when a message is sent, invoke, by reflection, a java class to perform the job. Inside the java class i need an Application Module so i write
    ApplicationModule am = Configuration.createRootApplicationModule(fullClassName, configuration);
    but i get the error in the subject.
    Here is a piece of the stack trace
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /it/despa
    r/orderplatform/model/services/common/bc4j.xcfg in the classpath
    at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:
    358)
    at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
    at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
    at oracle.jbo.common.ampool.ContextPoolManager.findPool(ContextPoolManag
    er.java:165)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura
    tion.java:1457)
    at oracle.jbo.client.Configuration.createRootApplicationModule(Configura
    tion.java:1435)
    at it.despar.orderplatform.task.GenericTask.getApplicationModule(Generic
    Task.java:40)
    at it.despar.orderplatform.task.trasmission.ValidateTrasmissionTask.<ini
    t>(ValidateTrasmissionTask.java:38)
    at it.despar.orderplatform.jms.utils.TaskInvoker.invoke(TaskInvoker.java
    :27)
    at it.despar.orderplatform.jms.listener.TextListener.onMessage(TextListe
    ner.java:60)
    at com.seebeyond.jms.client.STCMessageConsumer.onMessage(STCMessageConsu
    mer.java:529)
    at com.seebeyond.jms.client.STCSession.onMessage(STCSession.java:259)
    at com.seebeyond.jms.sockets.ConsumerSocket.deliverMessage(ConsumerSocke
    t.java:346)
    at com.seebeyond.jms.sockets.ThreadPerConnectionMgr$ConnThread.run(Threa
    dPerConnectionMgr.java:230)
    If i invoke the java class (the task) by command line inside jdev all works fine.
    I've read all the stuff about this exception but they do not apply to mi problem (I run the adf runtime installer, i try with an oc4j extended and standalone....)
    Please help us. Thanks
    Any ideas?
    Suggestion?

    This program is an example of basically what ADFBC will be trying to do to open/parse the bc4j.xcfg file. Can you incorporate the same lines into your test program to see if it also behaves the same in your JMS-initiated Java class ?
    Of course, you'll need to substitute "sample/common/bc4j.xcfg" with your relevant path name.
    package sample;
    import java.io.IOException;
    import oracle.xml.parser.v2.DOMParser;
    import oracle.xml.parser.v2.XMLDocument;
    import oracle.xml.parser.v2.XMLParseException;
    import org.xml.sax.SAXException;
    public class Class1 {
      public static void main(String[] args) throws XMLParseException,
                                                      SAXException, IOException {
        DOMParser d = new DOMParser();
       d.parse(Thread.currentThread().getContextClassLoader().getResource("sample/common/bc4j.xcfg"));
        XMLDocument doc = d.getDocument();
        doc.print(System.out);
    }

  • "system cannot find the file specified" when launching a java app

    Hi,
    we are receiving an error message saying "The system cannot find the file specified" when launching a java app on a server. Exactly the same configuration on another server does not give the same problem.
    The dialog box with the error message only presents one button - OK - and after pressing the button the app continues to run normally. This however is a big problem for us as we are trying to convert the apps into system services using the wrapper (http://wrapper.tanukisoftware.org).
    Note: the problem exibits itself with and without the use of the wrapper.
    I am not very comfortable about reinstalling the JRE on a production server. Is there any way to see what file it is missing? Debug options or something similar?
    The JRE in question is 1.4.2_06. Many thanks in advance for your answers.

    if not setting Post-Processing option results in a cryptic error why doesn't Adobe do one of at least three things?
    1. Don't let user click Export on Export dialog if nothing's selected for Post-Processing.
    2. Default Post-Processing to Do Nothing
    3. Give the user a hint as to what the problem is when the error occurs instead of issuing cryptic error message.
    Allowing this error to persist for so long is ridiculous.

  • Xmlreader schema validation error: Cannot find the declaration of element

    I have multiple schemas with namespaces but I would like to validate an xml document without namespaces. The schemas all have elementFormDefault="unqualified" in the root element.
    I am encountering error below in my validation using xmlreader:
    ERROR:
    Cannot find the declaration of element 'NewTradenetDeclaration'.
    my code is:
    xmlReader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    xmlReader.setFeature(VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_NAMESPACE_FEATURE_ID, true);
    xmlReader.setProperty(JAXP_SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
    String schemaURI = "NewTradenetDeclaration.xsd";
    // ive tried all of the ff but throws the same error
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, "urn:crimsonlogic:tn:schema:xsd:NewTradenetDeclaration NewTradenetDeclaration.xsd");
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, schemaURI);
    xmlReader.setProperty(JAXP_SCHEMA_SOURCE, schemaURI);
    // set entity resolver to resolve xsd locations
    MyResolver resolver = new MyResolver();
    xmlReader.setEntityResolver(resolver);the entity resolver has:
    public InputSource resolveEntity (String publicId, String systemId) {
      String filename =  "c:/workspace/TXParser/schema/"+ systemId.substring(systemId.lastIndexOf("/")+1);
      File f = new File(filename);
      InputSource source = null;
      try {
        source = new InputSource(new FileReader(f));
      } catch(Exception e) {
      System.out.println("InputSource exception: " + e.getMessage());                 
      return source;
    }Help please. Thanks.

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

  • Load Report Failed : The System cannot find the path specified

    Hi,
    I have a .Net windows application and I'm using crystal report in that. Application is published in CITRIX. If I login as Administrator user, reports are generating fine.
    But for any other user i'm getting following error while trying to open crystal report
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    Exception Text **************
    CrystalDecisions.Shared.CrystalReportsException: Load report failed. ---> System.Runtime.InteropServices.COMException (0x80004005): The system cannot find the path specified.
       at CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocumentClass.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.Open(Object& DocumentPath, Int32 Options)
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       --- End of inner exception stack trace ---
       at CrystalDecisions.ReportAppServer.ReportClientDocumentWrapper.EnsureDocumentIsOpened()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename, OpenReportMethod openMethod, Int16 parentJob)
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Load(String filename)
       at castlegate.frmFormB.frmFormB_Load(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmFormB.vb:line 401
       at System.Windows.Forms.Form.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
       at System.Windows.Forms.Control.set_Visible(Boolean value)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
       at System.Windows.Forms.Application.RunDialog(Form form)
       at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
       at System.Windows.Forms.Form.ShowDialog()
       at castlegate.frmViewEnquiry.btnPrint_Click(Object sender, EventArgs e) in C:\MyFolder\My Projects\castlegate_with_setup\castlegate\frmViewEnquiry.vb:line 340
       at System.Windows.Forms.Control.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnClick(EventArgs e)
       at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
       at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ButtonBase.WndProc(Message& m)
       at System.Windows.Forms.Button.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    Expecting solution to above issue
    Regards
    NistPS

    Hi,
    See the [Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/Rules%20of%20Engagement]
    What version of Crystal Reports are you using?
    Visual studio version you have?
    Have you applied any servcie pack?
    Is this on your development computer or on a deployed computer?
    If on a deployed system, how was the CR runtime installed to that system?
    Regards,
    Shweta

  • OrgChart - Cannot find the root of your orgchart

    Dear Experts,
    I have done the required configuration for my NAKISA 3.0 SP 01 Verison with CE 7.1.
    But when i am trying to acess the End user Link like http://ServerName:Port/OrgChart/default.jsp from the CE 7.1 Portal .
    First Screen it self it shows the this Erorr message.
    Cannot find the root of your orgchart. The orgchart box may have been deleted or incorrectly specified, or no valid org structure can be found for the selected effective date. Please change the root of the chart or select another effective date.
    I would like to try drilldown - i got this error information in my CDS.LOG file
    1846. 24 Feb 2012 16:55:56 ERROR com.nakisa.Logger - [NakisaHRConnector.NakisaRfcChart]: Error retrieving data - : I:/NAKISA/RFC_CHART:000 HRWPC_STRUC_GET_MULTIPLE_ROOTS(PATH_NOT_FOUND)
    1847. 24 Feb 2012 16:55:56 ERROR com.nakisa.Logger - BAPI_SAP_OTFProcessor_Chart : while trying to invoke the method com.nakisa.framework.data.DataTable.cloneShallow() of an object loaded from local variable 'p_dt_keyStructure'
    So Can you please help me on crack this issue.
    Reagrds
    Dileep P

    I recommend this thread:
    [http://forums.sdn.sap.com/thread.jspa?messageID=10995885#10995885]
    Issue Reason: Issue happened as there are no available evaluation paths defined by Nakisa.
    Solution: all the evaluation paths defined by Nakisa will be in the transport pkg provided by Nakisa. Import transport pkg to get the contents.
    Stephen

  • ORA-20100 The system cannot find the file specified 0RA-06512

    I can create and deploy a .NET stored procedure but when I run it either from Visual Studio 2005 Oracle Explorer or TOAD or SQLPlus I get the following:
    ORA-20100: The system cannot find the file specified.
    ORA-06512: at "SYS.DBMS_CLR", line 211
    ORA-06512: at "PROD.GETSEGADDRNO", line 7
    ORA-06512: at line 1
    It is basically the same C# code as the OTN sample except for accessing a table in my database.
    I found a forum thread dated 2006 with basically the same error message and it said the problem was fixed in Oracle Database patched to 10.2.0.2 but I can't find such a patch for 10g R2 Enterprise.
    This is my first time setting up Server 2003, Oracle 10g and ODT for .NET
    (I successfully created and deployed an external procedures for Oracle 8.1.7 on Windows 2000 a couple of years ago)
    This is the code:
    using System;
    using System.Collections.Generic;
    using System.Text;
    using System.Data;
    // use the ODP.NET provider
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    namespace CLRLibrary1
    // Sample .NET stored function returning address number (ADDR_NO) for
    // a given segment number (SEG_NO)
    public class Class1
    public static int GetSegAddrNo(int segno)
    int addrno = 0;
    // Check for context connection
    OracleConnection conn = new OracleConnection();
    if (OracleConnection.IsAvailable == true)
    conn.ConnectionString = "context connection=true";
    else
    throw new InvalidOperationException("context connection" +
    "not available");
    conn.Open();
    // Create and execute a command
    OracleCommand cmd = conn.CreateCommand();
    cmd.CommandText = "SELECT ADDR_NO FROM SEG WHERE SEG_NO = :1";
    cmd.Parameters.Add(":1", OracleDbType.Int32, segno,
    System.Data.ParameterDirection.Input);
    OracleDataReader rdr = cmd.ExecuteReader();
    if (rdr.Read())
    addrno = rdr.GetInt32(0);
    rdr.Close();
    cmd.Dispose();
    conn.Close();
    return addrno;
    } // GetSegAddrNo
    } // Class1
    } // CLRLibrary1
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    was installed from the Oracle downloads site: 10201_database_win32.zip
    On Windows Server 2003 R2 Standard Edition SP2
    Oracle .NET tools was installed using: ODTwithODAC1020221.exe
    The CLR Service is running
    Deployment says that it is successfull.
    The DLL is in the expected Oraclehome\BIN\CLR folder
    The deployment script is:
    CREATE OR REPLACE LIBRARY "SYS"."ORATEST6_DLL" AS '$ORACLE_HOME\bin\clr\OraTest6.dll';
    GRANT EXECUTE ON "SYS"."ORATEST6_DLL" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLR" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRTYPE" TO PROD;
    GRANT EXECUTE ON "SYS"."DBMS_CLRPARAMTABLE" TO PROD;
    CREATE OR REPLACE FUNCTION PROD.GETSEGADDRNO wrapped
    a000000
    1f
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    abcd
    8
    147 138
    ePHIr6kvu6nZ9gYrxgs40akg18owg1zQf/ZqZ3QC2vjqaIs25soMp1nBmBfBj1ZboVvNkdPT
    8qhpuEVdmv4n2nlF5ynrhLsm3F0h9ZGrTQ4tGYIybWjMFxYNlDDeBOx1i7O0GviP8AxHys23
    kW8aTVA2xV8IuLNlwP7KWFw70tGbg+lUIlRhYo5WmLW6N9wcjOCeLZK6W6s6tvd4zKAQykzc
    sIsaneE0FWyV9Q1BD0yJpLoCfWH+f6fVXsne5Feyxu68k5geCJ8F5FCLm2ycvxIiKNKTIpiD
    q4wshbsYLTTPHX3F6pA=
    The parameter mapping is:
    return value int32 number
    segno int32 number
    Bob Sorrell
    [email protected]
    863-662-5524

    These are the Reference Properties for Oracle.DataAccess in the OraTest6 app:
    Aliases: Global
    Copy Local: False
    Description: Oracle.DataAccess.dll
    File Type: Assembly
    Identity: Oracle.DataAccess
    Path: c:\oracle\ora102\odp.net\bin\2.x\Oracle.DataAcess.dll
    Resolved: True
    Runtime Version: v2.0.50727
    Specific Version: False
    Strong Name: True
    Version: 2.102.2.20
    This is what GacUtil shows:
    The Global Assembly Cache contains the following assemblies:
    Oracle.DataAccess, Version=2.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342, processorArchitecture=x86
    Oracle.DataAccess, Version=1.102.2.20, Culture=neutral, PublicKeyToken=89b483f429c47342
    Number of items = 2
    The GAC seems to contain both 2.102.2.20 and 1.102.2.20
    Do I need to remove one?

  • Weird soap issue: Cannot find the dispatch method

    Hi,
    I'm having strange problem with SOAP message.
    I created a simple web service using jax-ws, wsgen, and so on. I deployed it on sun app server 9.0. I wrote client application (i'm using SAAJ 1.3) for testing. The response I'm getting is something like this:
    <soapenv:Envelope xmlns:ns1="http://put/"
       xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
       <soapenv:Body>
          <soapenv:Fault>
             <faultcode>soapenv:Client</faultcode>
             <faultstring>Cannot find the dispatch method</faultstring>
          </soapenv:Fault>
       </soapenv:Body>
    </soapenv:Envelope>First I thought there's a problem with webservice I created. So I downloaded soapui (www.soapui.org) for testing. I provided it with wsdl and endpoint. And web sevice seems to work corectly - response I got back was ok.
    The strange part is: soap messages sent from soapui and from client application written by me seem to be identical. Both look like this:
    <SOAP-ENV:Envelope
       xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:put="http://put">
       <SOAP-ENV:Body>
          <put:sayHello>
             <arg0>test</arg0>
          </put:sayHello>
       </SOAP-ENV:Body>
    </SOAP-ENV:Envelope>I even sniffed packets (WinDump) sent to application server and in both cases soap message is the same. There's only a slight difference in http headers. Here's what server log contains after receiving a soap message from my client application:
    DetailsTimestamp:     2006-09-14 13:28:03.315
    Log Level:      SEVERE
    Logger:     javax.enterprise.resource.webservices.jaxws.server.soapmd
    Name-Value Pairs:     _ThreadID=13;
    Record Number:     443
    Message ID:     Error in decoding SOAP Message Error in decoding SOAP Message at com.sun.xml.ws.encoding.
    soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java
    Complete Message
    86)
         at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.
    toMessageInfo(SOAPMessageDispatcher.java:168)
         at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher$SoapInvoker.
    invoke(SOAPMessageDispatcher.java:533)
         at com.sun.xml.ws.protocol.soap.server.SOAPMessageDispatcher.receive(SOAPMessageDispatcher.java:144)
         at com.sun.xml.ws.server.Tie.handle(Tie.java:88)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.handle(WSServletDelegate.java:279)
         at com.sun.xml.ws.transport.http.servlet.WSServletDelegate.doPost(WSServletDelegate.java:232)
         at com.sun.xml.ws.transport.http.servlet.WSServlet.doPost(WSServlet.java:77)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:767)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
    Caused by: javax.xml.ws.soap.SOAPFaultException: Cannot find the dispatch method
         at com.sun.xml.ws.encoding.soap.SOAPDecoder.raiseFault(SOAPDecoder.java:662)
         at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.decodeDispatchMethod(SOAPXMLDecoder.java:151)
         at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBodyContent(SOAPDecoder.java:335)
         at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeBody(SOAPDecoder.java:325)
         at com.sun.xml.ws.encoding.soap.SOAPDecoder.decodeEnvelope(SOAPDecoder.java:248)
         at com.sun.xml.ws.encoding.soap.server.SOAPXMLDecoder.toInternalMessage(SOAPXMLDecoder.java:78)
         ... 39 moreI'm new to web services and I'm completely out of ideas what is the problem. I googled a lot but I can't find any solution. Any help would be appreciated :)
    null

    Are you saying I can't just write jax-ws based web service using @WebService and @WebMethod and then, on client side, write code like this?
    SOAPConnectionFactory soapConnectionFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnectionFactory.createConnection();
    MessageFactory factory = MessageFactory.newInstance(SOAPConstants.SOAP_1_1_PROTOCOL);
    SOAPMessage request = factory.createMessage();
    // create proper message elements
    URL endpoint = new URL(endpoint_url);
    SOAPMessage response = connection.call(request, endpoint);
    // process response
    //

  • I cannot find the sync options that has "add a device" on firefox, all I find is "syncronizing" under tools and when I click on it I get how to set up

    ''dupe of https://support.mozilla.org/en-US/questions/915557''
    I cannot find the "sync options" on my firefox desk top. I can only find "Syncronise now" under tools. I am trying to find "add device" where is it

    Sorry about that, it should work now: [http://support.mozilla.com/en-US/kb/How+to+sync+Firefox+settings+between+computers#browser=fx35 How to sync Firefox between computers]

  • I had to reset Firefox and now cannot find the calendar, how do I get it back?

    I was removing files associated with web.longfintuna.com from my PC. I then reset Firefox. When I open Firefox, all my email, bookmarks.etc. are there. However I cannot find the calendar. I had it before and now cannot locate it.

    When you reset Firefox then a new profile is created and some personal data (bookmarks, history, cookies, passwords, form data) is automatically imported and the current profile folder will be moved to the desktop (Old Firefox Data).
    You will lose extensions and other customizations (toolbars, prefs) that you've made.
    It is possible to recover more data from the old profile, but be cautious not to copy corrupted files to avoid carrying over the problem.
    *https://support.mozilla.org/kb/Recovering+important+data+from+an+old+profile
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Exception in JPA (NoClassDefFoundError: org/hibernate/AnnotationException)

    Hi,
    I´m having a serious problem when using JPA. I´m using Weblogic Server 10 and developing in Weblogic Workshop Studio. When I start the WLS in Workshop, all works fine, but when I use the "publish" over my WLS Server in Workshop because I change any class in the project (and I need to republish the project to send the changed class to WLS), the following error is reported when I try to use the JPA:
    Caused by: javax.ejb.EJBTransactionRolledbackException: EJB Exception: : java.lang.NoClassDefFoundError: org/hibernate/AnnotationException
    at org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:353)
    at org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
    at org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1265)
    at org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:150)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:884)
    at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:186)
    Why the AnnotationException class is no more found after a publish in a started Weblogic Server ?
    Thanks in advance,
    Sergio Stateri Jr.
    [email protected]

    Sergio,
    there are at least three implementation for JPA available: OpenJPA, TopLink, and Hibernate. The first two are or can easily installed in WLS. If you intend to use Hibernate as the persistence provider you should ensure that all libraries are in the class path of your application.
    --olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Concurrent mailbox moves from Exchange 2007 to 2013

    We are in the process of migrating from Exchange 2007 to Exchange 2013. We have about 200 mailboxes and we want to move them in groups of 40-50 at a time. I am trying to get more then 1 mailbox to actually sync to the new database at once. I start th

  • Rev2:  2 Apple IDs on the same computer?

    My partner has her own Apple ID/account and her own Mac running 10.7.  She uses the Mac App Store. I have my own Apple ID/account and an iPhone running iOS 5.1.  I also have a Mac running 10.5 and I will upgrade that later (compatibility issues). I h

  • Small problem could it be fixed? Green strickes

    I was cleaning the emac screen cause of dust and such and was using the iKclear polish which did not work on my emac just made strikes on it then used the Clear Screen (CRT cleaner) and it made green marks,lines on the screen but not that visible. Th

  • Error when enrolling for a class

    Users receive this error when they click on enrol. You have encountered an unexpected error. Please contact the System Administrator for assistance. Click here for exception details. About Previous Page Can someone please help.

  • Bluetooth only for headsets?

    Sorry, this is an old question, but since Apple took the search feature away, I have to ask it no as opposed to looking it up. I don't use a Bluetooth headset, so I keep Bluetooth turned off on my iPhone2G (1.1.4) Today, just for kicks, I turned it o