Problem with mysql dirver loading

hello friends ,
iam using Mysql of 4.1 version and the MysqlConnector 3.0..4
when i execute a program with the command
java -classpath .;/root/8/20/mysql-connector-java-3.0.14-production/mysql-connector-java-3.0.14-production-bin.jar
it gives the error as
bash: /root/8/20/mysql-connector-java-3.0.14-production/mysql-connector-java-3.0.14-production-bin.jar: Permission denied
so what permisssons should i have iam loged in as root iam using redhat linux 9.0
so how to execute that one
with regards
rama kanth

$ chmod 755 /root/8/20/mysql-connector-java-3.0.14-production/mysql-connector-java-3.0.14-production-bin.jar
This is not a java problem though...

Similar Messages

  • Problem with module lazy loading in flex 3

    Hi every body!
    I have some problems with Module lazy loading. I am using flex 3.5, Module-flex3-0.14, parsley 3.2.
    I can't get the LazyModuleLoadPolicy working correctly.
    In my main application (the one that loads the modules), my parsley context is the following:
            <cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ OpenViewMessage }" />
         <cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }"/>
         <cairngorm:ParsleyModuleDescriptor objectId="test"
              url="TestModule.swf"
              applicationDomain="{ClassInfo.currentDomain}"
         />
    And to load my module:
    [Inject(id="test")]
    [Bindable] public var test:IModuleManager;
    <core:LazyModulePod
         id="moduleLoader"
         moduleManager="{test}"
         moduleId="testModule"
    />
    with  LazyModulePod.mxml:
    <mx:Canvas
        xmlns:mx="http://www.adobe.com/2006/mxml"
        xmlns:module="com.adobe.cairngorm.module.*"
        xmlns:parsley="http://www.spicefactory.org/parsley">
        <mx:Script>
            <![CDATA[
                import com.adobe.cairngorm.module.ILoadPolicy;
                import com.adobe.cairngorm.module.IModuleManager;
                [Bindable]
                public var moduleId:String;
                [Bindable]
                public var moduleManager:IModuleManager;
                [Bindable]
                [Inject(id="lazyLoadPolicy")]
                public var lazyLoadPolicy:ILoadPolicy;
            ]]>
        </mx:Script>
        <parsley:Configure/>
        <module:ViewLoader id="moduleLoader"
            moduleId="{ moduleId }"
            moduleManager="{ moduleManager }"
            loadPolicy="{lazyLoadPolicy}">
             <!--<module:loadPolicy>
                  <module:BasicLoadPolicy/>
             </module:loadPolicy>-->
        </module:ViewLoader>
    </mx:Canvas>
    OpenViewMessage.as in a swc:
    public class OpenViewMessage
            private var _moduleId:String;
            private var _viewId:String;
            public function OpenViewMessage(moduleId:String, viewId:String)
                this._moduleId = moduleId;
                this._viewId = viewId;
            public function get viewId():String{
                return _viewId;
            [ModuleId]
            public function get moduleId():String
                return _moduleId;
    In another flex project, my module context is:
    <mx:Object
         xmlns:mx="http://www.adobe.com/2006/mxml"
         xmlns:controler="com.cegedim.myit.controler.*">
         <controler:WindowControler/>
    </mx:Object>
    The module implements IParsleyModule
    <mx:Module xmlns:mx="http://www.adobe.com/2006/mxml" layout="vertical"
         implements="com.adobe.cairngorm.module.IParsleyModule"
         xmlns:spicefactory="http://www.spicefactory.org/parsley">
         <mx:Script>
              <![CDATA[
                   import org.spicefactory.parsley.flex.FlexContextBuilder;
                   import com.adobe.cairngorm.module.IParsleyModule;
                   public function get contextBuilder():ContextBuilderTag
                    return contextBuilderTag;
              ]]>
         </mx:Script>
         <spicefactory:ContextBuilder  id="contextBuilderTag" config="{ MyITTestModuleContext }"/>
         <spicefactory:Configure/>
    </mx:Module>
    and the WindowControler:
    public class WindowControler
         public function WindowControler(){}
         [Init]
            public function initialize():void
                Alert.show("Module Initialized");
            [MessageHandler(scope="local")]
            public function openViewMessageHandler(message:OpenViewMessage):void
                Alert.show("Opening view " + message.viewId + " in the module " + message.moduleId);
    If i uncomment the basicLoadPolicy in LazyModulePod.mxml and remove the lazyModuleLoadPolicy, everything works fine. The module is loaded when it's added to stage and it receives correctly messages dispatched to it. But with the lazy policy the module never loads.
    I may have missed something or there is somthing i don't understand because i tried the ModuleTest provided in example in cairngorm sources. It works fine (i mean loading the moduleA2 when receiving a message), but if i replace the change the lazyModulePolicy to listen to broadcasted messages instead of a pingMessage, the module never loads too.
        <cairngorm:LazyModuleLoadPolicy objectId="lazyLoadPolicy" type="{ BroadcastMessage }" />
        <cairngorm:ModuleMessageInterceptor
            type="{ BroadcastMessage }" moduleRef="moduleA" />
    public class BroadcastMessage
        public function BroadcastMessage()
    If someone has any clue, i'll be happy to test it =)
    Thanks.

    Hello, back on my issue, i tested a little bit more the message dispaching.
    I read the lazyLoadPolicy class and noticed that it always has to have a ModuleId property in the message to work, that's why the broadcast message didn't work to awake the module with the lazy loading policy.
    So i added copy of my module:
         <cairngorm:ParsleyModuleDescriptor objectId="test"
              url="TestModule.swf"
              applicationDomain="{ClassInfo.currentDomain}"
         />
         <cairngorm:ParsleyModuleDescriptor objectId="testbis"
              url="TestModuleBis.swf"
              applicationDomain="{ClassInfo.currentDomain}"
         />     
    Set them both with a basicLoadPolicy, and tries to dispatch a message to only one of them using the ModuleId metatag. I then noticed that both modules received the message and not only the one i expected.
    I then changed the ModuleMessageInterceptor configuration to dispatch to only one kind of module:
    <cairngorm:ModuleMessageInterceptor type="{ OpenViewMessage }" moduleRef="test"/>
    and this worked as expected. Only the first module catched the message. I am obiously messing with the ModuleId metatag but i cannot see what's wrong...
    I compiled with
    -keep-as3-metadata+=ModuleId
    but this hasn't changed anything...

  • Problem with LILO to loading the OS

    Hello everyone.
    We have a problem with LILO to loading the OS in a CS-MARS 110R, find attached a screenshot.
    The only solution is recovery the MARS Operating System.
    Thanks in advance.
    Regards
    Antonio

    Hi Matthew.
    The re-image was impossible because this CS-MARS didn´t read the DVD correctly (hardware error) and we asked to Cisco a RMA.
    Thanks
    Antonio

  • Problems with MySQL in JSC 2

    i have problem with MySQL i have a driver i added it in to servers list and i made tests with data source everythink is ok, i see tables but when i drop a table from data source on table componenet(or other) i have errors nullPointerExpection at: (here is very long list of java classes. when i click "view data" of table in data source everythink works, only in components it doesn't. Can sombody help me please. I hope you understood my problem if not i will try to explain it once again.

    i get his Exception:
    A java.lang.NullPointerException exception has occurred.
    Please report this at http://www.netbeans.org/issues.html,
    including a copy of your messages.log file as an attachment.
    The messages.log file is located in your C:\Documents and Settings\Leszczy&#324;ski\.Creator\2_0\var\log folder.
    here are details:
    java.lang.NullPointerException
         at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:565)
         at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:507)
         at com.mysql.jdbc.PreparedStatement.toString(PreparedStatement.java:3290)
         at java.lang.String.valueOf(String.java:2577)
         at java.lang.StringBuffer.append(StringBuffer.java:220)
         at com.mysql.jdbc.trace.Tracer.printParameters(Tracer.aj:240)
         at com.mysql.jdbc.trace.Tracer.printEntering(Tracer.aj:167)
         at com.mysql.jdbc.trace.Tracer.entry(Tracer.aj:126)
         at com.mysql.jdbc.trace.Tracer.ajc$before$com_mysql_jdbc_trace_Tracer$1$f51c62b8(Tracer.aj:45)
         at com.mysql.jdbc.Connection.registerStatement(Connection.java)
         at com.mysql.jdbc.Statement.<init>(Statement.java:190)
         at com.mysql.jdbc.PreparedStatement.<init>(PreparedStatement.java:432)
         at com.mysql.jdbc.ServerPreparedStatement.asSql(ServerPreparedStatement.java:343)
         at com.mysql.jdbc.PreparedStatement.asSql(PreparedStatement.java:507)
         at com.mysql.jdbc.ServerPreparedStatement.toString(ServerPreparedStatement.java:2306)
         at java.lang.String.valueOf(String.java:2577)
         at java.lang.StringBuffer.append(StringBuffer.java:220)
         at com.mysql.jdbc.trace.Tracer.printParameters(Tracer.aj:240)
         at com.mysql.jdbc.trace.Tracer.printEntering(Tracer.aj:167)
         at com.mysql.jdbc.trace.Tracer.entry(Tracer.aj:126)
         at com.mysql.jdbc.trace.Tracer.ajc$before$com_mysql_jdbc_trace_Tracer$1$f51c62b8(Tracer.aj:45)
         at com.mysql.jdbc.Connection.registerStatement(Connection.java)
         at com.mysql.jdbc.Statement.<init>(Statement.java:190)
         at com.mysql.jdbc.PreparedStatement.<init>(PreparedStatement.java:414)
         at com.mysql.jdbc.ServerPreparedStatement.<init>(ServerPreparedStatement.java:280)
         at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4288)
         at com.mysql.jdbc.Connection.prepareStatement(Connection.java:4226)
         at com.sun.rave.sql.DesignTimeConnection.prepareStatement(DesignTimeConnection.java:187)
         at com.sun.sql.rowset.CachedRowSetXImpl.getMetaData(CachedRowSetXImpl.java:2334)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getMetaData(CachedRowSetDataProvider.java:1317)
         at com.sun.data.provider.impl.CachedRowSetDataProvider.getFieldKeys(CachedRowSetDataProvider.java:489)
         at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.resetTableColumns(TableRowGroupDesignState.java:261)
         at com.sun.rave.web.ui.component.table.TableRowGroupDesignState.setDataProviderBean(TableRowGroupDesignState.java:163)
         at com.sun.rave.web.ui.component.table.TableDesignState.setDataProviderBean(TableDesignState.java:250)
         at com.sun.rave.web.ui.component.TableDesignInfo.linkBeans(TableDesignInfo.java:162)
         at com.sun.rave.insync.models.FacesModel.linkBeans(FacesModel.java:1042)
         at com.sun.rave.designer.DndHandler.processLinks(DndHandler.java:2126)
         at com.sun.rave.designer.DndHandler.importBean(DndHandler.java:880)
         at com.sun.rave.designer.DndHandler.importItem(DndHandler.java:702)
         at com.sun.rave.designer.DndHandler.importDataDelayed(DndHandler.java:376)
         at com.sun.rave.designer.DndHandler.access$000(DndHandler.java:114)
    [catch] at com.sun.rave.designer.DndHandler$1.run(DndHandler.java:298)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
    yes i use JSC 2
    Is it posible that my MySQL is not working properly??
    Micz.

  • Problem with  whitespace  then loading and saving xml

    i do not know how to handle this problem. i modifed a texteditor to send XML to a server and load XML back to the container.
    but then i do changes to the Textlayout it shows up like this --->
    Text in Container not modifed
    Text in Container modifed ---> with space beween the colorchanged string
    Text inContainersend and loaded ---> i think this has something to to with the
    TextFilter.export(_textFlow,TextFilter.TEXT_LAYOUT_FORMAT,ConversionType.XML_TYPE)
    can someone give me a hint...

    Hi,
    the link is --->
    http://www.horstmann-architekten.de/contentmanagment/SimpleEditor.html
    its a modified example of the texteditor provided by Adobe. You can send a xml to the server. and also read it from the server. You just use the xml identifer to give the xml a name.
    Try it out:
    1.  change the text and
    2.  give a XML-Identifer
         and then send it to the server. --> send to server
    3.  type in the XML-Identifer you have used and
    4.   load it from the server ---> Load from Server Button
    evering works ok exept the columns formating.
    I Think the colums Formating is not embeded in the XML as it should be. I attached the Files. (Newbie programmer)
    With best regards
    Michael Sprinzl
    --- robin.briggs <[email protected]> schrieb am Do, 17.9.2009:
    Von: robin.briggs <[email protected]>
    Betreff: Problem with  whitespace  then loading and saving xml
    An: "Michael sprinzl" <[email protected]>
    Datum: Donnerstag, 17. September 2009, 2:12
    Sounds like you have two different issues going on: (1) inline graphics aren't coming out correctly when you use the TextLineFactory, and (2) columns aren't working correctly. It's difficult for me to tell by looking at the application you link what is going wrong. One of the examples does seem to have columns working -- can you be more specific about what you're doing, and what results you are seeing? As for the inline graphics, there is a timing issue involved with using URLs, due to the asynchronous loading. See this comment in the docs for TextFlowTextLineFactory:
    Note: When using inline graphics, the source property of the InlineGraphicElement object   must either be an instance of a DisplayObject or a Class object representing an embedded asset.   URLRequest objects cannot be used. The width and height of the inline graphic at the time the line   is created is used to compose the flow.
    - robin

  • I still am having problems with Aperture not loading,  It just refuses to work, and I get the message saying it has encountered a problem, and I may need to re-install which I have done dozens of times. The fix mentioned on an earlier post wont work as it

    I still am having problems with Aperture not loading,  It just refuses to work, and I get the message saying it has encountered a problem, and I may need to re-install which I have done dozens of times. The fix mentioned on an earlier post doesn't work as it is for Ver 10.6.6 and I am running 10.6.7

    Do you have Final Cut installed on your machine?
    If so, you may want to look at this article: http://support.apple.com/kb/TS3528
    Let us know if that helps.

  • I'm having problems with my memory load

    I'm having problems with my memory load, because I have a few photos on my iPhone 5 (32GB) and has been detected that I am using 10GB of photos, and I only have 1,000 photos. Could someone help me?

    Hi Fehmi76,
    The article linked below details how to go about seeing what apps on your iPhone are using what amounts of space.
    See how much storage you've used on your iPhone, iPad, and iPod touch
    https://support.apple.com/en-us/HT201656
    Regards,
    Allen

  • Problem with solver DLL load and Excel 2010

    Since upgrading from Office 2007 to Office 2010 we've started to experience a problem with the solver addin when our own analytics addins is also loaded. I have found a solution, but I think it may highlight a problem with the latest version of the solver
    addin for Excel 2010.
    Firstly, to describe the problem - the solver addin seems to load normally when Excel 2010 starts up, however when a "Solve" is performed we are seeing a "File not found: Solver32.dll" error at the final "Keep Solver Solution" stage. This only happens our
    own analytics addin is loaded. We've been careful to make sure that our own addin does not change the working directory and also that it has been built against the correct Excel 2010 SDK libraries. We do not see this error with any other versions of Excel
    running on the same PC or any other environment.
    After some searching we found other people were having similar problems and after a bit more probing I found a solution that works - but that I'm not very happy with.
    If I copy the Solver32.dll from:
      C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER
        (where it was installed)
    into :
      C:\Windows\SysWOW64 
        (where Windows 7 keeps its 32 bit system DLLs)
    then the problem goes away.
    This seems to indicate that somehow Office 2010 has a problem that causes it to search in the wrong folder for the Solver32.dll when another addin is loaded in between the original Solver32.XLAM at start up and the use of the Solver in the sheet (which eventually
    requires this DLL to be loaded). Oddly, this only happens after a solution is found and "Keep Solver Solution" is selected - and I'm not sure why it's not looking for Solver32.dll any earlier.
    This is not a problem with any earlier versions of Excel and I suspect is a bug in the Office14/LIBRARY/SOLVER implementation. Is there any way to get this followed up?
    Thanks,
    Andy

    I'm facing the same issue. With an Excel VSTO add-in we're building. When the add-in is enabled the assembly solver32.dll can't be found. With our add-in disabled the DLL is resolved as (Sysinternals Process Monitor trace):
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\system\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Windows\Solver32.dll
    EXCEL.EXE CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Library\SOLVER\SOLVER32.DLL
    and with our add-in enabled the following locations are tried, but solver32.dll won't be found:
    excel.exe CreateFile
    C:\Program Files (x86)\Microsoft Office\Office14\Solver32.dll
    excel.exe CreateFile
    C:\ArcGIS\______path to our add-in install location_____________\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\system\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Program Files\Common Files\Microsoft Shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Program Files (x86)\Common Files\microsoft shared\Windows Live\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\Solver32.dll
    excel.exe CreateFile
    C:\Windows\Solver32.dll
    excel.exe CreateFile
    C:\Windows\SysWOW64\wbem\Solver32.dll
    etc...

  • Problems with a down load

    hi.
    Im having problems with a download of photoshop cs4 that I purchased online. It downloaded fine and I followed the instructions to the letter. however when I try to open the application I get a message that reads " application will not open because it is not supported on this achitecture." I checked the down load and it is for MAC and I have the correct system requirements!
    Please Help

    Sounds like you need to call Adobe support and ask them what's going on. After all, you just paid them a bunch of money and haven't gotten what you paid for yet!

  • Problem with flat file loading/Special characters

    Hi, All,
    We just migrated from Version 3.0B to BI7.0, and I've a problem which I can't handle for the moment. We are in Unicode, current codepage of the server is 4103 and codepage of frontend is 4110 (from SNL1 Transaction).
    I'm loading czech texts in my material, via CSV files. The CSV file is correct on my PC, I see the special characters.
    The problem is on my loading, whatever Character set I choose in the Infopackage (I choose Standard or Character Set Setting User-dependant), I cannot see the good characters.
    Does any one of you already encounter this kind of problem, and, if yes, how did you solve it ?
    Thanks

    hi,
    check out with your flat file letter's type, if it's in lower case letter's change them in
    upper case letter's. or otherwise change the infobject's type as-- select check box
    corresponding to lower case letter's in infoobject.
    if helpful provide points
    regards
    harikrishna.N

  • Problems with MySQL in Slave mode

    Hi erverybody!!!
    I have a problem with my IDM and mysql.
    This is my envioroment:
    I have installed one IDM and has a Database on Mysql. I have a DRP and i have other server of IDM an his database.
    The databases of mysql are replicated and are configurated like "Master-Slave"
    My problem:
    When the production server is down i try to work with the DRP enviorement but the IDM can't access to the database.
    My question
    When the instance is on "slave mode" the IDM can access to the database??
    Thanks 4 your answers

    This happens to be an Oracle forum.
    Oracle is not akin to MySQL in any fashion.
    Please use Google to find a MySQL forum.
    Sybrand Bakker
    Senior Oracle DBA

  • Problems with illustrator CS3. loading drawings, swatches everything takes minutes

    Since a couple of days the problems started at my office. All pc's started to have problems with illustrator and photoshop. But most of all illustrator. On start-up it is quick as it used to be but when i want to load a drawing, swatch or symbol it takes minutes. I don't know if it has to do with an update or something else. I only know that it started a few days ago on all pc's but not on the mac's.
    Thanks in advance,
    Bas

    What exactly is a few days ago? The last Windows Update was on last Tuesday. Except for a .NET fix and various Office patches it did not seem to have anything critical, but it may be possible that it affects your computers. It's a far cry, though. More likely it's a virus scanner or something with your network settings, that causes erratic file opening behavior. Hard to tell without more info. your description is too generic and vague.
    Mylenium

  • Problems with the dynamic loader... And well... I SERIOUSLY messed up.

    So you might call me an idiot.  Go ahead... I deserve it.
    I was in the process of updating my netbook over SSH because I left it back home when I went to school.  I ended up running into problems with glibc etc...  So I did something that I seriously regret...
    I executed the command...
    mv /lib/* /usr/lib*
    This has to be the most retarded thing I have ever done ever... Like I'm not even shitting you.
    To make things worse... I don't have busybox and have no method of getting busybox onto the computer.
    Now I have seen about using the dynamic loader "ld-linux.so.2" to execute programs using a user defined library path.  So I thought perfect, I can do this.  The problem is... I can't find it.  I looked on two healthy Arch machines at the locations and names.  I used that to try this.  I am sure at least I have a recent version of glibc installed (<current version>-1 I believe).  But I still cannot find this at all.  I am logged in as root over SSH but it fails to log in again on another session.  So I have one session to work with it I can work it at all.
    Do you have any suggestions to fix this?  If not, I can always have someone tomorrow dd a copy of an arch iso tomorrow and possibly fix everything... But I would really like this fixed without all of that... Thanks...

    See these two threads.

  • Problem with MySQL (SOLVED)

    Hello everybody. I have a problem with my MySQL server. Just installed it, ant when i try to start it:
    [root@localhost html]# /etc/rc.d/mysqld start
    :: Adding mysql group [DONE]
    :: Adding mysql user [DONE]
    Installing MySQL system tables...
    ERROR: 1062 Duplicate entry 'localhost-' for key 1
    071223 22:35:05 [ERROR] Aborting
    071223 22:35:05 [Note] /usr/sbin/mysqld: Shutdown complete
    Installation of system tables failed!
    I tryed to search some info in google, havent found anything.
    Does anybody has some ideas?
    Last edited by neXTPeer (2007-12-23 08:38:09)

    I have a huge problem, it seems I can't login to my own mysql server
    mysql -u root -p
    Enter password:
    ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
    The first time I started mysqld I got the same error as above. The script that should create an account stopped. Because of this I didn't set a root password. I think I never set a root password, but somehow mysqld expects one.
    Could someone help?
    btw: my host in rc.conf is not localhost and it's corresponding with the hostname in /etc/hosts
    -edit--
    I just tried these steps: http://dev.mysql.com/doc/refman/5.0/en/ … sions-unix
    But this also didn't work
    --edit2--
    Seems that there isn't a root account at all!
    Last edited by Vrieskist (2008-02-07 02:21:24)

  • Hibernate problems with Mysql

    Hi, we are using Hibernate with MySQL and c3p0 in our Struts Web application. Hibernate appers to give us errors in a random fashion when we're accesing our web pages. usually after 1 reload everything works fine
    any idea on what could be wrong?
    javax.servlet.ServletException: could not execute query
         org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:523)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    root cause
    org.hibernate.exception.JDBCConnectionException: could not execute query
         org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:74)
         org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
         org.hibernate.loader.Loader.doList(Loader.java:2148)
         org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
         org.hibernate.loader.Loader.list(Loader.java:2024)
         org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:375)
         org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:308)
         org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:153)
         org.hibernate.impl.SessionImpl.list(SessionImpl.java:1106)
         org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
         cz.roster.business.destinations.hotels.DestinationsHotelsListRead.perform(DestinationsHotelsListRead.java:22)
         cz.roster.actions.destinations.hotels.HotelsListAction.execute(HotelsListAction.java:41)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:419)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:224)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Message was edited by:
    snoopy_cz

    Huh? DAOs abstract your data access layer away from the specific underlying implementation.
    Unless you fancy writing an HQL implementation that can liaise with flat files (or whatever you're swapping it for) there's no way you can just swap Hibernate out for something else otherwise.
    Whereas if you put Hibernate behind a decent set of DAOs you can easily do this. So they don't have much in common. It's true that you can generate DAOs using Hibernate, but that's (a) not the same thing and (b) not a great idea.

Maybe you are looking for

  • Using the SOAP inbound channel of the Integration Engine

    Hi, I am following the blog of Stefan Grube. /people/stefan.grube/blog/2006/09/21/using-the-soap-inbound-channel-of-the-integration-engine However I have difficulties. Is this blog still relevant for SAP PI7.10? I have set this up as a test for a sce

  • No direct postings can be made to G/L acct.

    Dear All, While creating Service PO, i am getting the above error, I have checked in FS00 , on post automatically only field there is no tick. what might be the other reason regds, CB

  • Oracle Content unexpected error

    Hello. When I try to OCS Content Services, on my server, to appear me the following message: http://myserver/content/app/explorerPage.jspx Error: unexpected error. To try again. May you explain me which is the origin of the error and how resolve it ?

  • Where can I download Photoshop Elements 6 for re-installation?

    I purchased Photoshop elements 6 a few years back. Due to a computer meltdown I have had to reinstall everything. Is this software still available for download? I cannot find it on the Adobe website.

  • Importing files that do not need transcoding?

    Just curious about the process. I import XDCAM EX files that do not require transcoding. As a matter of fact the option is not available. And that is fine, very few problems. But here is what I don't understand. FCP X needs ProRes to operate efficien