-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 
Author Message
 Post subject: I am trying to insert username and password into db
PostPosted: Wed Sep 15, 2010 9:35 am 
Newbie

Joined: Wed Sep 01, 2010 1:04 pm
Posts: 5
Sep 15, 2010 8:30:53 AM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jre6\bin;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Java\jdk1.6.0_21\bin;
Sep 15, 2010 8:30:53 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:Final' did not find a matching property.
Sep 15, 2010 8:30:53 AM org.apache.tomcat.util.digester.SetPropertiesRule begin
WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:LoginExample' did not find a matching property.
Sep 15, 2010 8:30:53 AM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-5678
Sep 15, 2010 8:30:53 AM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 707 ms
Sep 15, 2010 8:30:53 AM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
Sep 15, 2010 8:30:53 AM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.29
Sep 15, 2010 8:30:54 AM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-5678
Sep 15, 2010 8:30:54 AM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
Sep 15, 2010 8:30:54 AM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/32 config=null
Sep 15, 2010 8:30:54 AM org.apache.catalina.startup.Catalina start
INFO: Server startup in 550 ms
Sep 15, 2010 8:31:00 AM org.apache.catalina.core.StandardWrapperValve invoke
SEVERE: Servlet.service() for servlet LoginServlet threw exception
java.lang.ClassNotFoundException: org.hibernate.cfg.Configuration
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1645)
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1491)
at examplePackage.LoginServlet.doGet(LoginServlet.java:30)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Unknown Source)


Top
 Profile  
 
 Post subject: Re: I am trying to insert username and password into db
PostPosted: Fri Sep 17, 2010 11:33 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
Judging by the line
Code:
java.lang.ClassNotFoundException: org.hibernate.cfg.Configuration
, I'd guess your Tomcat doesn't have the Hibernate Core jar installed.

Also, please don't use a larger font when posting, it makes it very hard to spot what's going on. (I had to zoom out to even find the relevant lines, and I wouldn't have done so if I weren't idling in front of a long-running query.)


Top
 Profile  
 
 Post subject: thank you....!
PostPosted: Fri Sep 17, 2010 11:58 pm 
Newbie

Joined: Wed Sep 01, 2010 1:04 pm
Posts: 5
Thank you it is working now....
i forgot to add hibernate and derby jar files in WEB-INF lib folder...


Top
 Profile  
 
 Post subject: Re: I am trying to insert username and password into db
PostPosted: Mon Sep 20, 2010 5:04 am 
Senior
Senior

Joined: Fri May 08, 2009 12:27 pm
Posts: 168
Nice, and thanks for informing us that it worked :-)


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.