Unable to init TestServlet. Could not find driver.
Hi I am testing a small servlet to get data of oracle database. However, it gives me an error in compilation with the init section. The details is as follows:
The part of code where the problem is as follows:
public void init(ServletConfig conf) throws ServletException {
super.init(conf);
Class.forName("oracle.jdbc.driver.OracleDriver");
conn = DriverManager.getConnection(
"jdbc:oracle:thin:@myserver:1521:cooler",
"scott", "tiger");
java142: not a statement
Unable to init TestServlet. Could not find driver.
I would appreciate any help/suggestion. Thanks in advance. Regards.
I think the problem is not with Driver.
U have to embed the code in either Service, doGet or doPost like method. U have directly written the code in servlet class if the code snippet is same as shown in Ques.
Sunil
Similar Messages
-
WAMPSERVER 'PDOException' with message 'could not find driver'
Hi All,
I'm running wampserver 64 bit version with:
Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.12 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3 XDebug : 2.2.3
I have downloaded the Microsoft Drivers 3.0 for PHP for SQL Server.
I have put the drivers in my ext folder C:\wamp\bin\php\php5.4.12\ext
php_pdo_sqlsrv_54_ts.dll
php_sqlsrv_54_ts.dll
I have changed my php.ini file to included:
extension=php_sqlsrv_54_ts.dll
extension=php_pdo_sqlsrv_54_ts.dll
I have restarted my PC.
When I run the following php code:
<?php
$database = "master";
$conn = new PDO( "sqlsrv:server=(local) ; Database = $database", "", "");
?>
I still get the following error message:
Fatal error: Uncaught exception 'PDOException' with message 'could not find driver' in W:\wamp\www\sqlservertestV02.php on line 4
I have tried everything I can think of but the driver does not seem to load correctly.
Any help would be greatly appreciated.
Kind regards,
Ernst.Hello,
The Microsoft Drivers 3.0 for PHP for SQL Server is used to read and write SQL Server data from within PHP scripts. Since you use MySQL, you should install PDO Driver for MySQL and use pdo_mysql module.
Reference: http://cn2.php.net/pdo_mysql
Regards,
Fanny Liu
If you have any feedback on our support, please click
here.
Fanny Liu
TechNet Community Support -
U401 touch windows 8 audio driver unable to install error could not find divice for this driver
u401 touch windows 8 audio driver unable to 0wau05w8.exe install error could not find device for this driver
kindly advisehi karthi2lenovo,
Welcome to the Forums.
If the conexant audio drivers from the lenovo website doesn't detect the device, can you try to:
1. Open Device Manager (press Winkey+R > type devmgmt.msc)
2. On the device manager, open Sound, video, and game controllers and Other Devices then check the status (if there's a yellow exclamation mark, error codes, etc.)
3. As an alternative, try this conexant driver from station-drivers:
Conexant High Definition Smart Audio
Version 8.64.59.52 (Win8)
Let me know your findings,
neokenchi
Did someone help you today? Press the star on the left to thank them with a Kudo!
If you find a post helpful and it answers your question, please mark it as an "Accepted Solution"! This will help the rest of the Community with similar issues identify the verified solution and benefit from it.
Follow @LenovoForums on Twitter! -
Unable to Delete Folder, Could not find this item
Currently, I'm having problem deleting an old Folder. Previously, I used its parent as a shared folder, but one day when I tried to clear that folder there is one folder that has duplicate. The problem is one of them (the old one) can't be deleted even after
I deleted all files/folders in that folder, I can't remove/rename that folder (could not find this item) not even with cmd as Administrator. I've tried to defrag my Windows Sever 2012 but the problem still persists. How to fix this problem?
Thanks in advance.I had this same problem using Server 2012 Std. I tried various options of taking ownership of the parent folder because the Security properties of the folder I was trying to delete were blank, using CMD and Dir /x etc. I even tried sharing
the parent folder and then using Server 2008 R2. None of them worked. When I tried Dir /x Server 2012 doesn't show the 8 character filename with the ~1. I tried typing it in myself, but that didn't work either. I then found that there was a space at the end
of the folder name. I then tried all the CMD options again using a space, still no luck. Then I finally stumbled upon this solution:
Open CMD and then type:
rd /s "\\?\D:\bad\folder\path "
example: rd /s "\\?\D:\Sharedata\folder1\folder2 " - note the space after folder2 as per the space in the folder name. Obviously D: is the drive that has the folder on it.
This worked for me
I've had a similar problem as detailed above; a power shell script that I wrote incorrectly tested for the existence of a directory and created multiple instances of the same directory.
I can confirm that the post from Rayza73 works like a charm!
@Rayza73: First up thanks for the information. Would it be possible for you to describe how the command is able to find and delete the directory?
Many thanks
Shaun -
Windows Could not find the Driver for your Apple iPod USB Device (5G 30GB)
I have a 8GB iPod Nano. My roommate has a 30GB 5G Video. Black.
My iPod syncs flawlessly. His is not recognized by Windows or iTunes. Every time we plug in the iPod, it prompts us for the driver. I tried to install the update apple mentions through the windows process, but after going through the tedious Windows Genuine Verification process, I was told that the update didn't apply to my computer.
We use a Lenovo Thinkpad T60p, which shipped with Windows Vista Business.
We are running iTunes 7.3.1.3, and there are no windows updates available for the computer.
I have...
...reset
...reinstalled 7.3.1.3 (over and over and over)
...tried different USB ports. (Early on, we saw it once after swapping ports).
...tried turning off the ability of the computer to 'Turn this device off to save power."
I have also verified that the iPod works on my work Dell Lattitude D620 running XP, and that it's not the cord, as we've used the cord that came with my Nano as well.
So, the problem seems to be with vista, as many people seem to have had. The best thread I found that deals with this was http://discussions.apple.com/thread.jspa?threadID=995793.
But even after having tried everything, I still have an unrecognizable iPod.
When I run iPod diagonostics, everything seems okay, except for the iPod connection, which says failed. I've had difficulty working with the iPod service under Computer/Device Manager - it doesn't ever seem to stop or start, with the iPod plugged in or not.
And interestingly enough, the FAT32 external harddrive that I use to back up my data exhibits exactly the same problem ("Windows could not find the driver for your USB Mass Storage Device). This device worked great in XP, and even odder, I have a FAT32 partition of the main HD as a swap space between my VistaOS and my Ubuntu installation.
Do I have to chalk this up to another issue with Windows Vista? What bothers me there is that you're a ping-pong between windows support and apple support - no one really owns up the problem.Bill, I've been stuck in this loop for 3 months since buying a new laptop with Vista Basic. I've tried everything to no avail. I don't know what else to do apart from buying a cheap PC running XP. Let me know if you manage to find a solution and I'll do the same.
Regards. Adam -
I'm using imac 27 inch mid 2011
I've bought Call of duty Ghosts.. it require 6 GB ram, so i upgraded mine from 4 GB to 8 GB. Now i can run the game, after 2 sec, it freezes. So i tried to download NVIDIA 331.65 which says to be the solution. And then it says"this driver could not find compatible graphics hardware". So i couldnt download NVIDIA 331.65 ....
Any idea?
This might be the problem for Battlefield 4 gamers tooThere's an important distinction you need to make on NVIDIA's web site to get the "right" driver.
NVIDIA's driver finder has separate categories for the desktop and mobile variants.
You don't specify the computer model in question, so I'm going to throw in a guess that you have a notebook. If this is so, or you have one of the iMacs or Mac minis with the 9400 MCP, then it's really a 9400M (the M standing for mobile), in which case you need the GeForce 9M drivers.
If installing these yields the same error, then the drivers can be modified so that they will install properly. Google "nvidia mobile driver modder" if you wish to try. I cannot, however, guarantee the results of such hacks even as I know they exist.
Nate -
OK, something seemed to have changed with my system because this error is NEW. It might be related to my system upgrade from Vista to Win7, but just guessing here.
I run a database on a corporate MS Sql Server (2005) and an ASP application that connects via ODBC. The real world application works fine, however when I attempt to access Stored Procedures from Dreamweaver (on my development machine) I am getting the following error:
[Microsoft][ODBC SQL Server Driver][SQL Server]Could not find stored procedure 'dbo.sp_SPNAMEHERE'.
This only seems to happen on Stored procedures that RETURN a recordset.
system:
Win7
Dreamweaver CS4
Code: VBScript/Classic ASP
SQL Server 2005
Connecting via ODBC: MM_MY_STRING = "Driver={SQL Server};Server=wscxxxxxxxxx;Database=dbsystem;Uid=username;Pwd=XXXXXXXXXXXX"
Stored procedures that do not return a recordset are not an issue.... this has put my development work at a standstill!!
Thanks in advance!Well, I hate bumps, but I am really running out of solutions. I have now tried to use a system DSN on my development machine and that didnt solve the problem. I just un-installed DW and re-installed it and that didnt solve my problem either.
This is very frustrating, because I cannot use any stored procs that return recordsets... I am stuck... can anybody think of a relatively easy work-around to working in DW w/ recordsets that come from SPs when you cant actually access them?
The really weird thing is, when I build the command, and choose the stored proc, and give it valid input variables, and TEST it from the TEST button, everything works and data is returned as expected. Once I click "OK" and actually add it to the ASP page the recordset that should be visible isnt... and when I click the plus sign in the bindings window I get the error...
Help!! -
Error "Could not find a capable video driver. Update display drivers." in Pr CS6
Please help! I can't open my Pr CS6 - keep on getting error "Could not find a capable video driver. Update display drivers." How do I fix this?
Display driver http://forums.adobe.com/message/4943624 may help
For the future, please list this information when asking a question
Information FAQ http://forums.adobe.com/message/4200840
You need to post the EXACT brand and model of your graphics card, and the device driver number
If you have nVidia...
How to determine your nVidia driver version
Right click in any open area of the Windows desktop
Select NVIDIA Control Panel from the popup window
Select SYSTEM INFORMATION at the lower left corner
Driver version should be the 1st line in Details
I have a GTX285 using driver 296.10 -
Could not find Microsoft JDBC Driver ???
Hi all,
My program could not find the JDBC driver. Why?????
Here is my environment:
Platform: Win2000
Database: Sql2000
Tool: JBuilder enterprise (trial version)
JDBC Driver: Microsoft JDBC driver for SQL Server 2000
I set the CLASSPATH=.;D:\Sql200JDBCDriver\lib\msbase.jar;D:\Sql200JDBCDriver\lib\msutil.jar;D:\Sql200JDBCDriver\lib\mssqlserver.jar
Here is my javabean:
package test;
import java.sql.*;
import java.io.*;
public class LoginBean{
public static boolean login(String strUser, String strPass) {
ResultSet rs;
try{
System.out.println("before class.forName");//Print trapped error.
Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
System.out.println("After class.forName");//Print trapped error.
java.sql.Connection theConnection = DriverManager.getConnection("jdbc:microsoft:sqlserver://localhost:8080;DataBaseName ='MyDataBase;User=sa;passowrd="); //Connect to db
System.out.println("After get connection");//Print trapped error.
Statement theStatement=theConnection.createStatement();
rs=theStatement.executeQuery("SELECT username, password FROM login WHERE username= '" + strUser + "' AND password= '" + strPass + "'");
if(rs.next()) //Fetch username of record
return true;
}catch(Exception e){
System.out.println("before e.getMessage error");//Print trapped error.
System.out.println(e.getMessage());//Print trapped error.
System.out.println("after e.getMessage error");//Print trapped error.
} return false;
Here are the messages I got:
before class.forName
before e.getMessage error
com.microsoft.jdbc.sqlserver.SQLServerDriver
after e.getMessage error.
The program never got throught the statement: Class.forName("com.microsoft.jdbc.sqlserver.SQLServerDriver");
What's wrong?????
thanks in advanced.I guess you have a good idea what the problem is. Either the class name you have specified is wrong or the required library is not on the classpath.
How are you setting the classpath? Are you running your application through JBuilder or through the command line?
If it's through JBuilder then make sure that you've configured one of their tiresome "Libraries" and that your project has it in its "Required Libraries".
Never rely on environment variables to supply the classpath - it takes very little effort to set up a classpath for each application you're developing and will ensure you're using the versions of each library that you want to. Personally I make sure I delete the classpath environment variable so there's nothing implicit hiding away.
Hope this helps. -
It says "can not install the driver: could not find media for this driver"
I am havin problem with sound in my Compaq presario V6406TU. When i try to install, it says "can not install the driver: could not find media for this driver", how ever i get a beep for every error message. In my device manager there is no UAA and in services.msc windows audio is started.
I have tried almost everything on net but not able to solve this, plz help.vendor wrote:
= No SB0220 support available? SO, IS THERE exactly a model numbered as SB0220 AT ALL?
I think there is not.
Yes My Sound Card is exaclty SB0220. I have downloaded the patch and start it. After that I configured the installer and now I have creative drivers. But are they the best for my sound card? After all I`ve pathed the installer and some sort lied it. If the drivers are for my model, why should I path it's
Yes, I've seen a true SB0220 too on a picture after writing that comment so there is true SB0220 model. But, are you sure your card is SB0220? Did you look the number from a sticker on card board w/ serial number lik MSB022xxxxxxxxxxx where the SB022x is the true model number for your card.
Why you didn't got drivers installed for your card is, because the installer doesn't support the model SB0220 (supported cards are listed in ctcomp.dat -> this is the file ctcomp.exe patches).
IIrc, those drivers are the latest ones for your card. If you like to, you can try soft-mod your card the way, you can use Audigy series drivers (which are a bit newer) -> http://www.tech-pc.co.uk/audigy-2.php (i.e. you just use ctcomp.exe utility to patch the installer for Audigy drivers (use these drivers st - http://www.station-drivers.com/telechargement/creative/%20audigy%205.2.0.042.exe) (newer installer maybe can't be patched w/ ctcomp).
jutapa -
Unable to execute Test-Mailflow cmdlet. Could not find any available Domain Controller
I started receiving this error in SCOM while testing Exchange 2007 Mail flow. Normally the tests work just fine, and when I execute"test-mailflow" on the offending server, it works just fine. The alert doesn't have enough details to find out what
is wrong. Can anyone help out?
Alert Description:
Unable to execute Test-Mailflow cmdlet. Could not find any available Domain Controller
Environment: SCOM 2012 R2 UR4
MP: Exchange 2007 MP, latest update
Monitor: Exchange 2007 Test Local Mail Flow Monitor
Brody KilpatrickHi,
After you execute"test-mailflow" on the offending server, please also look into event logs to check is there any errors or warnings. SCOM is a tool to collect information, from my point of view, this message is collected from Exchange server, so
you may need to check event viewer.
In addition, please also make sure your Exchange environment is under monitored. And have you followed the Exchange 2007 MP guide to configure the MP?
Make sure the Client Access Server is under monitored, you may check the Application Event log on the Client Access Server, and make sure there are no errors or warnings indicating a problem with the Client Access Server.
Regards,
Yan Li
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected] -
I have been unable to retrieve emails from my external disk. I entered the Time Machine and tried to go to April 2013, but could not find emails. I have Lion OS X 10.7.5 .Thanks!
CeciliaI have been unable to retrieve emails from my external disk. I entered the Time Machine and tried to go to April 2013, but could not find emails. I have Lion OS X 10.7.5 .Thanks!
Cecilia -
Hp touchscreen model #310-1125y
Hi,
This is an Explorer error, please use the following methods to fix:
http://answers.microsoft.com/en-us/windows/forum/windows_7-files/error-could-not-find-this-item-this...
Regards.
BH
**Click the KUDOS thumb up on the left to say 'Thanks'**
Make it easier for other people to find solutions by marking a Reply 'Accept as Solution' if it solves your problem. -
Could not find stored procedure 'mds_getRepositoryVersion'.
When I start up the BI_Server1 component I get the following error in the logs and the server goes into ADMIN state. Any ideas what may be causing this? I've fixed a previous issue with wrong password in mds-owsm,that error is gone now.
I've already confirmed I can access the database through SSMS.
SELECT OBI_REP.BI116_MDS.mds_getRepositoryVersion()
Result:
11.1.1.61.63
OBIEE11g 11.1.1.6
Sql Server 2008 R2
Windows Server 2008
####<Jul 20, 2012 5:27:18 PM EDT> <Info> <JDBC> <******> <bi_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JYaIM1pEgKhwD8icKw1G2SoP000002> <1342819638294> <BEA-001128> <Connection for pool "mds-owsm" closed.>
####<Jul 20, 2012 5:27:18 PM EDT> <Error> <JDBC> <WUVW****> <bi_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JYaIM1pEgKhwD8icKw1G2SoP000002> <1342819638313> <BEA-001112> <Test "SELECT 1 FROM DUAL" set up for pool "mds-owsm" failed with exception: "java.sql.SQLSyntaxErrorException: [FMWGEN][SQLServer JDBC Driver][SQLServer]Invalid object name 'DUAL'.".>
####<Jul 20, 2012 5:27:18 PM EDT> <Error> <JDBC> <WU****> <bi_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JYaIM1pEgKhwD8icKw1G2SoP000002> <1342819638315> <BEA-001111> <Unable to verify the test "SELECT 1 FROM DUAL" set up for pool "mds-owsm". Connections will not be tested. The test will not be used by isValid neither.>
####<Jul 20, 2012 5:27:18 PM EDT> <Info> <Common> <WU*****> <bi_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <0000JYaIM1pEgKhwD8icKw1G2SoP000002> <1342819638318> <BEA-000628> <Created "1" resources for pool "mds-owsm", out of which "1" are available and "0" are unavailable.>
####<Jul 20, 2012 5:27:18 PM EDT> <Error> <Deployer> <WU******> <bi_server1> <[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <0000JYaIM1pEgKhwD8icKw1G2SoP000002> <1342819638608> <BEA-149205> <Failed to initialize the application 'bipublisher [Version=11.1.1]' due to error oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage "MAR_TargetRepos" is invalid.
[FMWGEN][SQLServer JDBC Driver][SQLServer]Could not find stored procedure 'mds_getRepositoryVersion'.
oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage "MAR_TargetRepos" is invalid.
[FMWGEN][SQLServer JDBC Driver][SQLServer]Could not find stored procedure 'mds_getRepositoryVersion'.
at oracle.mds.config.PConfig.loadFromBean(PConfig.java:953)
at oracle.mds.config.PConfig.<init>(PConfig.java:758)
at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:787)
at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:848)
at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:491)
at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:438)
at oracle.mds.internal.lcm.deploy.DeployManager.deploy(DeployManager.java:516)
at oracle.mds.internal.lcm.deploy.DeployManager.startDeployment(DeployManager.java:204)
at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:215)
at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:77)
at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:246)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
Caused By: oracle.mds.exception.MDSExceptionList: MDS-01329: unable to load element "persistence-config"
MDS-01370: MetadataStore configuration for metadata-store-usage "MAR_TargetRepos" is invalid.
[FMWGEN][SQLServer JDBC Driver][SQLServer]Could not find stored procedure 'mds_getRepositoryVersion'.
at oracle.mds.config.PConfig.loadFromBean(PConfig.java:953)
at oracle.mds.config.PConfig.<init>(PConfig.java:758)
at oracle.mds.config.MDSConfig.loadFromBean(MDSConfig.java:787)
at oracle.mds.config.MDSConfig.loadFromElement(MDSConfig.java:848)
at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:491)
at oracle.mds.config.MDSConfig.<init>(MDSConfig.java:438)
at oracle.mds.internal.lcm.deploy.DeployManager.deploy(DeployManager.java:516)
at oracle.mds.internal.lcm.deploy.DeployManager.startDeployment(DeployManager.java:204)
at oracle.mds.internal.lcm.MDSLifecycleListenerImpl.start(MDSLifecycleListenerImpl.java:215)
at oracle.mds.lcm.weblogic.WLLifecycleListener.preStart(WLLifecycleListener.java:77)
at weblogic.application.internal.flow.BaseLifecycleFlow$PreStartAction.run(BaseLifecycleFlow.java:282)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.application.internal.flow.BaseLifecycleFlow$LifecycleListenerAction.invoke(BaseLifecycleFlow.java:199)
at weblogic.application.internal.flow.BaseLifecycleFlow.preStart(BaseLifecycleFlow.java:62)
at weblogic.application.internal.flow.HeadLifecycleFlow.prepare(HeadLifecycleFlow.java:283)
at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
at weblogic.application.internal.DeploymentStateChecker.prepare(DeploymentStateChecker.java:154)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.prepare(AppContainerInvoker.java:60)
at weblogic.deploy.internal.targetserver.AppDeployment.prepare(AppDeployment.java:141)
at weblogic.management.deploy.internal.DeploymentAdapter$1.doPrepare(DeploymentAdapter.java:39)
at weblogic.management.deploy.internal.DeploymentAdapter.prepare(DeploymentAdapter.java:191)
at weblogic.management.deploy.internal.AppTransition$1.transitionApp(AppTransition.java:21)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:261)
at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:246)
at weblogic.management.deploy.internal.ConfiguredDeployments.prepare(ConfiguredDeployments.java:165)
at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:122)
at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:180)
at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:96)
at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
>
Edited by: 844667 on Jul 20, 2012 2:48 PMHi,
I am getting the same thing and have not been able to find a resolution - would you happen to recall how you resolved this? -
Org.hibernate.PropertyNotFoundException: Could not find a getter for id in
[skumar@aithdell3 events]$ java EventManager
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.3
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Event.hbm.xml
May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Event -> EVENTS
May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 1
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=sa, password=****}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: HSQL Database Engine, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.HSQLDialect
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:18)
at EventManager.main(EventManager.java:11)
Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at HibernateUtil.<clinit>(HibernateUtil.java:14)
How can i fix this exception
Please help me.
Thanks in advance[skumar@aithdell3 events]$ java EventManager
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: Hibernate 3.2.3
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: hibernate.properties not found
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment buildBytecodeProvider
INFO: Bytecode provider name : cglib
May 15, 2008 8:39:41 PM org.hibernate.cfg.Environment <clinit>
INFO: using JDK 1.4 java.sql.Timestamp handling
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration configure
INFO: configuring from resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration getConfigurationInputStream
INFO: Configuration resource: /hibernate.cfg.xml
May 15, 2008 8:39:42 PM org.hibernate.cfg.Configuration addResource
INFO: Reading mappings from resource : Event.hbm.xml
May 15, 2008 8:39:43 PM org.hibernate.cfg.HbmBinder bindRootPersistentClassCommonValues
INFO: Mapping class: Event -> EVENTS
May 15, 2008 8:39:43 PM org.hibernate.cfg.Configuration doConfigure
INFO: Configured SessionFactory: null
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Using Hibernate built-in connection pool (not for production use!)
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 1
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: autocommit mode: false
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: org.hsqldb.jdbcDriver at URL: jdbc:hsqldb:sql://localhost
May 15, 2008 8:39:43 PM org.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=sa, password=****}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: RDBMS: HSQL Database Engine, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC driver: HSQL Database Engine Driver, version: 1.8.0
May 15, 2008 8:39:44 PM org.hibernate.dialect.Dialect <init>
INFO: Using dialect: org.hibernate.dialect.HSQLDialect
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionFactoryFactory buildTransactionFactory
INFO: Using default transaction strategy (direct JDBC transactions)
May 15, 2008 8:39:44 PM org.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup
INFO: No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second-level cache is not recommended)
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic flush during beforeCompletion(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Automatic session close at end of transaction: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch size: 15
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC batch updates for versioned data: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Scrollable result sets: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JDBC3 getGeneratedKeys(): disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Connection release mode: auto
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default batch fetch size: 1
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Generate SQL with comments: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Order SQL updates by primary key: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createQueryTranslatorFactory
INFO: Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.hql.ast.ASTQueryTranslatorFactory <init>
INFO: Using ASTQueryTranslatorFactory
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query language substitutions: {}
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: JPA-QL strict compliance: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Second-level cache: enabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Query cache: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory createCacheProvider
INFO: Cache provider: org.hibernate.cache.NoCacheProvider
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Optimize cache for minimal puts: disabled
May 15, 2008 8:39:44 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Structured second-level cache entries: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Echoing all SQL to stdout
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Statistics: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Deleted entity synthetic identifier rollback: disabled
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Default entity-mode: pojo
May 15, 2008 8:39:45 PM org.hibernate.cfg.SettingsFactory buildSettings
INFO: Named query checking : enabled
May 15, 2008 8:39:45 PM org.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Intial session factory creation failed org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
Exception in thread "main" java.lang.ExceptionInInitializerError
at HibernateUtil.<clinit>(HibernateUtil.java:18)
at EventManager.main(EventManager.java:11)
Caused by: org.hibernate.PropertyNotFoundException: Could not find a getter for id in class Event
at org.hibernate.property.BasicPropertyAccessor.createGetter(BasicPropertyAccessor.java:282)
at org.hibernate.property.BasicPropertyAccessor.getGetter(BasicPropertyAccessor.java:275)
at org.hibernate.tuple.PropertyFactory.getGetter(PropertyFactory.java:168)
at org.hibernate.tuple.PropertyFactory.buildIdentifierProperty(PropertyFactory.java:44)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:123)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at HibernateUtil.<clinit>(HibernateUtil.java:14)
How can i fix this exception
Please help me.
Thanks in advance
Maybe you are looking for
-
Default Carriage return in the last column when data is downloaded to Excel
Problem: When you download data into Excel and if the last column of your excel is a numeric field, XMLP will add a carriage return (special character) to your numeric field. This feild will be considered as character field by excel. Work Around: Whe
-
Disguise outgoing "From" in Mail and/or .Mac mail
Whether I'm emailing from the web or my computer, Mail won't allow me to mask my outgoing name. I want my clients to get emails from my personal account name [email protected] NOT the Mail account name: [email protected] No matter what I try, there's
-
Airport extreme with USB hard drive permissions problem may be parallels
I cannot access my external hard drive because of some permission problem. I know because I can see this through the disk repair utility. I've attached my external hard drive to my airport extreme. It originally came up well and worked fine. Then it
-
Button "change" disappers in BSP degree audit
Hi, I find the following strange behaviour in BSP degree audit, when I want to change an existing but not released degree audit run. 1. When I select the student in the BSP application and list the audit runs for a study program, the application show
-
Hello, everyone.... OK, first of all, the players... 1. NetWare 6.5 SP7 servers: a half dozen at the main office. One at each of three sites connected with an site to site VPN tunnel. 2. User laptop: Windows XP SP3, pretty well patched. 3. Other cons