java.io.FileNotFoundException: D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified)

Hibernate JIRA | John Lindwall | 1 decade ago
  1. 0

    [Pasted from the Middelgen tools forum topic that I created. Was instructed to create a JIRA entry. This is my first time doing so so I apologize for any gaffes.] I am trying to use Middlegen-Hibernate-r5 to generate .hbm.xml files for all of the tables in our database schema. It's a bit bigger then the cute airline database ... :) .... around 335 tables! It takes several minutes for the GUI to popup but it does and from what I can see in the (very busy) table graph, things look OK. I press "Generate" and see log messages about the .hbm.xml files geing generated. This process terminates abruptly with the stacktrace shown below. Note that it seems like the tool was trying to generate a file called "Con.hbm.xml" -- however there is no table named CON in our database! There *IS* a table named CONS (note the trailing "S"). I wonder if this is a bug in the tool or perhaps I have misconfigured it? I'm using the stock build.xml, modified only to select the oracle.xml database config file. The oracle database config file is shown at the very bottom of the post. I'm using Oracle 9i. Thanks! [tail of the output] ... [middlegen] (middlegen.FileProducer 398 ) Generating D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\QoeArch.hbm.xml using template from jar:file:/D:/John/Eval/Middlegen-Hibernate-r5/middlegen-lib/middlegen-hibernate-plugin-2.1.jar!/middlegen/plugins/hibernate/hibernate.vm [middlegen] (middlegen.FileProducer 398 ) Generating D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\AccnProc.hbm.xml using template from jar:file:/D:/John/Eval/Middlegen-Hibernate-r5/middlegen-lib/middlegen-hibernate-plugin-2.1.jar!/middlegen/plugins/hibernate/hibernate.vm [middlegen] (middlegen.FileProducer 408 ) D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified) [middlegen] java.io.FileNotFoundException: D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified) [middlegen] at java.io.FileOutputStream.open(Native Method) [middlegen] at java.io.FileOutputStream.<init>(FileOutputStream.java:102) [middlegen] at java.io.FileOutputStream.<init>(FileOutputStream.java:62) [middlegen] at java.io.FileOutputStream.<init>(FileOutputStream.java:132) [middlegen] at java.io.FileWriter.<init>(FileWriter.java:63) [middlegen] at middlegen.FileProducer.generate(FileProducer.java:393) [middlegen] at middlegen.FileProducer.generateForTable(FileProducer.java:302) [middlegen] at middlegen.Plugin.doIt(Plugin.java:602) [middlegen] at middlegen.Plugin.generate(Plugin.java:448) [middlegen] at middlegen.Middlegen.writeSource(Middlegen.java:411) [middlegen] at middlegen.swing.JMiddlegenFrame$1.actionPerformed(JMiddlegenFrame.java:72) [middlegen] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) [middlegen] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504) [middlegen] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) [middlegen] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) [middlegen] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216) [middlegen] at java.awt.Component.processMouseEvent(Component.java:3715) [middlegen] at java.awt.Component.processEvent(Component.java:3544) [middlegen] at java.awt.Container.processEvent(Container.java:1164) [middlegen] at java.awt.Component.dispatchEventImpl(Component.java:2593) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1213) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) [middlegen] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) [middlegen] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1200) [middlegen] at java.awt.Window.dispatchEventImpl(Window.java:926) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) [middlegen] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) [middlegen] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) [middlegen] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [middlegen] at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) [middlegen] middlegen.MiddlegenException: D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannotfind the file specified) [middlegen] at middlegen.FileProducer.generate(FileProducer.java:409) [middlegen] at middlegen.FileProducer.generateForTable(FileProducer.java:302) [middlegen] at middlegen.Plugin.doIt(Plugin.java:602) [middlegen] at middlegen.Plugin.generate(Plugin.java:448) [middlegen] at middlegen.Middlegen.writeSource(Middlegen.java:411) [middlegen] at middlegen.swing.JMiddlegenFrame$1.actionPerformed(JMiddlegenFrame.java:72) [middlegen] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) [middlegen] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504) [middlegen] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) [middlegen] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) [middlegen] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216) [middlegen] at java.awt.Component.processMouseEvent(Component.java:3715) [middlegen] at java.awt.Component.processEvent(Component.java:3544) [middlegen] at java.awt.Container.processEvent(Container.java:1164) [middlegen] at java.awt.Component.dispatchEventImpl(Component.java:2593) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1213) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) [middlegen] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) [middlegen] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1200) [middlegen] at java.awt.Window.dispatchEventImpl(Window.java:926) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) [middlegen] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) [middlegen] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) [middlegen] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [middlegen] at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) [middlegen] Updated preferences in D:\John\Eval\Middlegen-Hibernate-r5\src\airline-prefs.properties [The oracle.xml file] <!-- =================================================================== --> <!-- ant properties/targets for oracle 8/9 --> <!-- note: this is not a proper xml file (there is no root element) --> <!-- it is intended to be imported from a *real* xml file --> <!-- =================================================================== --> <!-- please set your Oracle-SID according to your needs --> <property environment="env"/> <property name="database.script.file" value="${src.dir}/sql/${name}-oracle.sql"/> <property name="database.driver.file" value="${env.ORACLE_HOME}/jdbc/lib/classes12.jar"/> <property name="database.driver.classpath" value="${database.driver.file}"/> <property name="database.driver" value="oracle.jdbc.driver.OracleDriver"/> <property name="database.url" value="jdbc:oracle:thin:@localhost:1521:jlwall"/> <property name="database.userid" value="UTTJL"/> <property name="database.password" value="UTTJL"/> <property name="database.schema" value="UTTJL"/> <property name="database.catalog" value=""/> <!--property name="jboss.datasource.mapping" value="Oracle7"/--> <!-- property name="jboss.datasource.mapping" value="Oracle8"/--> <property name="jboss.datasource.mapping" value="Oracle9i"/> david Hibernate Team Hibernate Team Joined: 26 Aug 2003 Posts: 994 Location: Brisbane, Australia View user's profile Send e-mail PostPosted: Fri Aug 06, 2004 2:22 am Post subject: Reply with quote The stack trace does not show what really is the problem. I know of people having more then 350+ tables and one 500+ (Yes the GUI is very busy). The table you refer to have been transformed since it does attempt to create singularised and plurised table names. What deos the schema and relationships look like on that table? Could you try it on version 2.0 (vo) [or R4] to see if it reads the tables correctly. Getting close to releasing offical 2.1 version and R5 was going to be it. Thanks for your help. Kaneda Hibernate User Hibernate User Joined: 14 May 2004 Posts: 35 Location: Cologne, Germany View user's profile PostPosted: Fri Aug 06, 2004 2:05 pm Post subject: Reply with quote Got the same problem with a table called "News" (also applies to "Roles" got to Role) which is created as New.hbm.xml. Really good to have a class called New ;). The problem occures on r4 and r5 other version I haven't used so far. As workaround I edited the properties file inside the src folder. regards Olaf _________________ regards Olaf jlindwall New User New User Joined: 01 Jul 2004 Posts: 2 Location: USA View user's profile PostPosted: Fri Aug 06, 2004 4:08 pm Post subject: Also reproduced in r4 Reply with quote I forgot to mention in my original post that I dropped back to r4 to see what happens and got the same result. Here's the DDL for thae table CREATE TABLE CONS ( PK_CONS_ID NUMBER(10) NOT NULL, CONS_ABBREV VARCHAR2(15) NOT NULL, DESCR VARCHAR2(40) NULL, PRIO NUMBER(1) NULL, LEV1_MIN_PROC_MATCH NUMBER NULL, LEV2_MIN_PROC_MATCH NUMBER NULL, DIAG_REQ NUMBER(1) NULL, AUD_USER VARCHAR2(50) NOT NULL, AUD_REC_ID NUMBER(10) NOT NULL, AUD_DT DATE DEFAULT sysdate NOT NULL, B_MOD NUMBER(1) DEFAULT 0 NOT NULL ) -- -- Non Foreign Key Constraints for Table CONS -- ALTER TABLE CONS ADD ( PRIMARY KEY (PK_CONS_ID)); ALTER TABLE CONS ADD ( UNIQUE (CONS_ABBREV)); Other tables refer to the PK of CONS as a foreign key. Tell me if you need more. Thanks! david Hibernate Team Hibernate Team Joined: 26 Aug 2003 Posts: 994 Location: Brisbane, Australia View user's profile Send e-mail PostPosted: Sun Aug 08, 2004 5:58 am Post subject: Reply with quote OK I feel better (but no happy) that it occured with R4 as well. The renaming is what the tool does by default unless the <table> tag is used. The stack trace is a worry. I will try to setup a simple test and see if I can fix it. Can you create an entry in Hibernate tools JIRA with a reference to this thread please. Thanks for the extra information.

    Hibernate JIRA | 1 decade ago | John Lindwall
    java.io.FileNotFoundException: D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified)
  2. 0

    [Pasted from the Middelgen tools forum topic that I created. Was instructed to create a JIRA entry. This is my first time doing so so I apologize for any gaffes.] I am trying to use Middlegen-Hibernate-r5 to generate .hbm.xml files for all of the tables in our database schema. It's a bit bigger then the cute airline database ... :) .... around 335 tables! It takes several minutes for the GUI to popup but it does and from what I can see in the (very busy) table graph, things look OK. I press "Generate" and see log messages about the .hbm.xml files geing generated. This process terminates abruptly with the stacktrace shown below. Note that it seems like the tool was trying to generate a file called "Con.hbm.xml" -- however there is no table named CON in our database! There *IS* a table named CONS (note the trailing "S"). I wonder if this is a bug in the tool or perhaps I have misconfigured it? I'm using the stock build.xml, modified only to select the oracle.xml database config file. The oracle database config file is shown at the very bottom of the post. I'm using Oracle 9i. Thanks! [tail of the output] ... [middlegen] (middlegen.FileProducer 398 ) Generating D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\QoeArch.hbm.xml using template from jar:file:/D:/John/Eval/Middlegen-Hibernate-r5/middlegen-lib/middlegen-hibernate-plugin-2.1.jar!/middlegen/plugins/hibernate/hibernate.vm [middlegen] (middlegen.FileProducer 398 ) Generating D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\AccnProc.hbm.xml using template from jar:file:/D:/John/Eval/Middlegen-Hibernate-r5/middlegen-lib/middlegen-hibernate-plugin-2.1.jar!/middlegen/plugins/hibernate/hibernate.vm [middlegen] (middlegen.FileProducer 408 ) D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified) [middlegen] java.io.FileNotFoundException: D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified) [middlegen] at java.io.FileOutputStream.open(Native Method) [middlegen] at java.io.FileOutputStream.<init>(FileOutputStream.java:102) [middlegen] at java.io.FileOutputStream.<init>(FileOutputStream.java:62) [middlegen] at java.io.FileOutputStream.<init>(FileOutputStream.java:132) [middlegen] at java.io.FileWriter.<init>(FileWriter.java:63) [middlegen] at middlegen.FileProducer.generate(FileProducer.java:393) [middlegen] at middlegen.FileProducer.generateForTable(FileProducer.java:302) [middlegen] at middlegen.Plugin.doIt(Plugin.java:602) [middlegen] at middlegen.Plugin.generate(Plugin.java:448) [middlegen] at middlegen.Middlegen.writeSource(Middlegen.java:411) [middlegen] at middlegen.swing.JMiddlegenFrame$1.actionPerformed(JMiddlegenFrame.java:72) [middlegen] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) [middlegen] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504) [middlegen] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) [middlegen] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) [middlegen] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216) [middlegen] at java.awt.Component.processMouseEvent(Component.java:3715) [middlegen] at java.awt.Component.processEvent(Component.java:3544) [middlegen] at java.awt.Container.processEvent(Container.java:1164) [middlegen] at java.awt.Component.dispatchEventImpl(Component.java:2593) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1213) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) [middlegen] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) [middlegen] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1200) [middlegen] at java.awt.Window.dispatchEventImpl(Window.java:926) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) [middlegen] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) [middlegen] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) [middlegen] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [middlegen] at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) [middlegen] middlegen.MiddlegenException: D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannotfind the file specified) [middlegen] at middlegen.FileProducer.generate(FileProducer.java:409) [middlegen] at middlegen.FileProducer.generateForTable(FileProducer.java:302) [middlegen] at middlegen.Plugin.doIt(Plugin.java:602) [middlegen] at middlegen.Plugin.generate(Plugin.java:448) [middlegen] at middlegen.Middlegen.writeSource(Middlegen.java:411) [middlegen] at middlegen.swing.JMiddlegenFrame$1.actionPerformed(JMiddlegenFrame.java:72) [middlegen] at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450) [middlegen] at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504) [middlegen] at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378) [middlegen] at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250) [middlegen] at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216) [middlegen] at java.awt.Component.processMouseEvent(Component.java:3715) [middlegen] at java.awt.Component.processEvent(Component.java:3544) [middlegen] at java.awt.Container.processEvent(Container.java:1164) [middlegen] at java.awt.Component.dispatchEventImpl(Component.java:2593) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1213) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451) [middlegen] at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216) [middlegen] at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125) [middlegen] at java.awt.Container.dispatchEventImpl(Container.java:1200) [middlegen] at java.awt.Window.dispatchEventImpl(Window.java:926) [middlegen] at java.awt.Component.dispatchEvent(Component.java:2497) [middlegen] at java.awt.EventQueue.dispatchEvent(EventQueue.java:339) [middlegen] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131) [middlegen] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98) [middlegen] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [middlegen] at java.awt.EventDispatchThread.run(EventDispatchThread.java:85) [middlegen] Updated preferences in D:\John\Eval\Middlegen-Hibernate-r5\src\airline-prefs.properties [The oracle.xml file] <!-- =================================================================== --> <!-- ant properties/targets for oracle 8/9 --> <!-- note: this is not a proper xml file (there is no root element) --> <!-- it is intended to be imported from a *real* xml file --> <!-- =================================================================== --> <!-- please set your Oracle-SID according to your needs --> <property environment="env"/> <property name="database.script.file" value="${src.dir}/sql/${name}-oracle.sql"/> <property name="database.driver.file" value="${env.ORACLE_HOME}/jdbc/lib/classes12.jar"/> <property name="database.driver.classpath" value="${database.driver.file}"/> <property name="database.driver" value="oracle.jdbc.driver.OracleDriver"/> <property name="database.url" value="jdbc:oracle:thin:@localhost:1521:jlwall"/> <property name="database.userid" value="UTTJL"/> <property name="database.password" value="UTTJL"/> <property name="database.schema" value="UTTJL"/> <property name="database.catalog" value=""/> <!--property name="jboss.datasource.mapping" value="Oracle7"/--> <!-- property name="jboss.datasource.mapping" value="Oracle8"/--> <property name="jboss.datasource.mapping" value="Oracle9i"/> david Hibernate Team Hibernate Team Joined: 26 Aug 2003 Posts: 994 Location: Brisbane, Australia View user's profile Send e-mail PostPosted: Fri Aug 06, 2004 2:22 am Post subject: Reply with quote The stack trace does not show what really is the problem. I know of people having more then 350+ tables and one 500+ (Yes the GUI is very busy). The table you refer to have been transformed since it does attempt to create singularised and plurised table names. What deos the schema and relationships look like on that table? Could you try it on version 2.0 (vo) [or R4] to see if it reads the tables correctly. Getting close to releasing offical 2.1 version and R5 was going to be it. Thanks for your help. Kaneda Hibernate User Hibernate User Joined: 14 May 2004 Posts: 35 Location: Cologne, Germany View user's profile PostPosted: Fri Aug 06, 2004 2:05 pm Post subject: Reply with quote Got the same problem with a table called "News" (also applies to "Roles" got to Role) which is created as New.hbm.xml. Really good to have a class called New ;). The problem occures on r4 and r5 other version I haven't used so far. As workaround I edited the properties file inside the src folder. regards Olaf _________________ regards Olaf jlindwall New User New User Joined: 01 Jul 2004 Posts: 2 Location: USA View user's profile PostPosted: Fri Aug 06, 2004 4:08 pm Post subject: Also reproduced in r4 Reply with quote I forgot to mention in my original post that I dropped back to r4 to see what happens and got the same result. Here's the DDL for thae table CREATE TABLE CONS ( PK_CONS_ID NUMBER(10) NOT NULL, CONS_ABBREV VARCHAR2(15) NOT NULL, DESCR VARCHAR2(40) NULL, PRIO NUMBER(1) NULL, LEV1_MIN_PROC_MATCH NUMBER NULL, LEV2_MIN_PROC_MATCH NUMBER NULL, DIAG_REQ NUMBER(1) NULL, AUD_USER VARCHAR2(50) NOT NULL, AUD_REC_ID NUMBER(10) NOT NULL, AUD_DT DATE DEFAULT sysdate NOT NULL, B_MOD NUMBER(1) DEFAULT 0 NOT NULL ) -- -- Non Foreign Key Constraints for Table CONS -- ALTER TABLE CONS ADD ( PRIMARY KEY (PK_CONS_ID)); ALTER TABLE CONS ADD ( UNIQUE (CONS_ABBREV)); Other tables refer to the PK of CONS as a foreign key. Tell me if you need more. Thanks! david Hibernate Team Hibernate Team Joined: 26 Aug 2003 Posts: 994 Location: Brisbane, Australia View user's profile Send e-mail PostPosted: Sun Aug 08, 2004 5:58 am Post subject: Reply with quote OK I feel better (but no happy) that it occured with R4 as well. The renaming is what the tool does by default unless the <table> tag is used. The stack trace is a worry. I will try to setup a simple test and see if I can fix it. Can you create an entry in Hibernate tools JIRA with a reference to this thread please. Thanks for the extra information.

    Hibernate JIRA | 1 decade ago | John Lindwall
    java.io.FileNotFoundException: D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified)
  3. 0

    Tomcat3.3 AjpidFile bug?

    Google Groups | 1 decade ago | Geoffrey T. Falk
    java.io.FileNotFoundException: /usr/local/jakarta-tomcat-3.3/conf/ajp12.id (Permission denied)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    wliconfig install script

    Oracle Community | 1 decade ago | 3004
    java.io.FileNotFoundException: /devlsys/vol0/weblogic/wlserver7.0/integration/bin/domainname (Permission denied)
  6. 0

    IOException in cache: Mounting a CVS pserver directory with external connection method throws endless exceptions

    Netbeans Bugzilla | 2 decades ago | johnjullion
    java.io.FileNotFoundException: C:\WINNT40 \Profiles\dougn\.netbeans\3.4\system\vcs\cache\70246 \net\magnum\util\vcs.cache (The system cannot find the path specified)

  1. bluebunnty 8 times, last 2 weeks ago
  2. nasimk 33 times, last 1 week ago
  3. Alexandru Popa 6 times, last 4 weeks ago
  4. pranavprakash 2 times, last 2 months ago
  5. rp 1 times, last 4 months ago
1 more registered users
11 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.io.FileNotFoundException

    D:\John\Eval\Middlegen-Hibernate-r5\build\gen-src\com\mbasys\mars\dataAccess\hibernate\Con.hbm.xml (The system cannot find the file specified)

    at java.io.FileOutputStream.open()
  2. Java RT
    FileWriter.<init>
    1. java.io.FileOutputStream.open(Native Method)
    2. java.io.FileOutputStream.<init>(FileOutputStream.java:102)
    3. java.io.FileOutputStream.<init>(FileOutputStream.java:62)
    4. java.io.FileOutputStream.<init>(FileOutputStream.java:132)
    5. java.io.FileWriter.<init>(FileWriter.java:63)
    5 frames
  3. middlegen
    Middlegen.writeSource
    1. middlegen.FileProducer.generate(FileProducer.java:393)
    2. middlegen.FileProducer.generateForTable(FileProducer.java:302)
    3. middlegen.Plugin.doIt(Plugin.java:602)
    4. middlegen.Plugin.generate(Plugin.java:448)
    5. middlegen.Middlegen.writeSource(Middlegen.java:411)
    5 frames
  4. middlegen.swing
    JMiddlegenFrame$1.actionPerformed
    1. middlegen.swing.JMiddlegenFrame$1.actionPerformed(JMiddlegenFrame.java:72)
    1 frame
  5. Java RT
    EventDispatchThread.run
    1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1450)
    2. javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1504)
    3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:378)
    4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250)
    5. javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:216)
    6. java.awt.Component.processMouseEvent(Component.java:3715)
    7. java.awt.Component.processEvent(Component.java:3544)
    8. java.awt.Container.processEvent(Container.java:1164)
    9. java.awt.Component.dispatchEventImpl(Component.java:2593)
    10. java.awt.Container.dispatchEventImpl(Container.java:1213)
    11. java.awt.Component.dispatchEvent(Component.java:2497)
    12. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2451)
    13. java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
    14. java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
    15. java.awt.Container.dispatchEventImpl(Container.java:1200)
    16. java.awt.Window.dispatchEventImpl(Window.java:926)
    17. java.awt.Component.dispatchEvent(Component.java:2497)
    18. java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
    19. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:131)
    20. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:98)
    21. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    22. java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
    22 frames