Your ant or maven build should have replaced @DB-DRIVERNAME@ with the appropriate driver for your database. I don't know the exact place in the build process or the file where the replacement is done, but you should be able to use the search features of your IDE to find them both relatively quickly in order to determine why the replacement is not working. Stuart
-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Hariprasad Davanagere Sent: Friday, January 12, 2007 12:55 PM To: [email protected] Subject: Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone) Hi, I am getting the following error. Application packaging and deployment was working fine till now. Any clue as to what is going on, Thanks Hari ------------------------------------ Cannot load JDBC driver class '@DB-DRIVERNAME@' oracle.classloader.util.AnnotatedClassNotFoundException: Missing class: @DB-DRIVERNAME@ Dependent class: org.apache.commons.dbcp.BasicDataSource Loader: caepr.web.caepr:0.0.0 Code-Source: /C:/oc4j/j2ee/home/applications/caepr/caepr/WEB-INF/lib/commons-dbcp.jar Configuration: WEB-INF/lib/ directory in C:\oc4j\j2ee\home\applications\caepr\caepr\WEB-INF\lib This load was initiated at caepr.web.caepr:0.0.0 using the Class.forName() method. The missing class is not available from any code-source or loader in the system. at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClassLoader.java:2068) [/C:/oc4j/j2ee/home/lib/pcl.jar (from system property java.class.path), by [EMAIL PROTECTED] ----------------------------------- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Contribution is not by invitation but by initiative Hariprasad N Davanagere 19929 Sweetgum Cir, #23 Germantown, MD - 20874 C - (757) 348 3647 H - (???) !!! @@@@ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ _____ From: [email protected] Reply-To: [email protected] To: [email protected] Subject: Re: [appfuse-user] AppFuse on ORACLE and OC4J (Standalone) Date: Thu, 11 Jan 2007 18:00:41 -0500 >Hari, > >I don't think this is a DB problem. I have had similar problems with >r1.9.4 on MySQL > >What version of acegi are you using? Are the passwords encrypted? >Try copying the password from another account with an known password >into the account that does not login... can you login then? > >Mark > >Matt Raible wrote: >>The fact that you can create an account and the application >>functions >>after that indicates that you may need to populate your database. >>If >>you run "ant db-load", can you login to your application? >> >>Matt >> >>On 1/11/07, Hariprasad Davanagere <[EMAIL PROTECTED]> wrote: >>> >>> >>>Hi Matt, >>>I got the application to deploy on ORACLE 10G AS. >>> >>>I am seeing a wierd behaviour. I cannot login to the application >>>AT ALL and >>>i don't see any error message concerned to datasource. To confirm >>>this i >>>used the 'sign up for an account' utility and the database >>>activity was a >>>success. A new user account was created and i can access the >>>application >>>there onwards. >>> >>>I am using AppFUSE-Spring-framework 1.9.4 and OC4J 10G >>> >>>What am i missing here ? >>> >>>I scanned through the documentation and the instructions are >>>refering to an >>>earlier version AppFuse. >>> >>>Could you please guide me. >>> >>>Thanks >>>Hari >>> >>> >>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>>Contribution is not by invitation but by initiative >>> >>>Hariprasad N Davanagere >>>19929 Sweetgum Cir, #23 >>>Germantown, MD - 20874 >>> >>>C - (757) 348 3647 >>>H - (???) !!! @@@@ >>>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> ________________________________ >>> From: "Matt Raible" <[EMAIL PROTECTED]> >>>Reply-To: [email protected] >>>To: [email protected] >>>Subject: Re: [appfuse-user] AppFuse on ORACLE and OC4J >>>(Standalone) >>>Date: Wed, 10 Jan 2007 19:25:54 -0700 >>> >>> >Unfortunately, these instructions are very old. They were >>>written >>> >in >>> >February 2004. At that time, those instructions were for AppFuse >>> >1.2 >>> >(pre-Spring). >>> > >>> >http://raibledesigns.com/wiki/Wiki.jsp?page=News >>> > >>> >Matt >>> > >>> >On 1/10/07, Hariprasad Davanagere <[EMAIL PROTECTED]> wrote: >>> >> >>> >> >>> >>:-) I am running JDK 5. >>> >> >>> >>I did check immediately after the error. I am stiill not sure >>>where >>> >>to find >>> >>LoginServlet to make the code changes as stated in >>> >>http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnOrion >>> >> >>> >>Thanks >>> >>Hari >>> >> >>> >> >>> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >>Contribution is not by invitation but by initiative >>> >> >>> >>Hariprasad N Davanagere >>> >>19929 Sweetgum Cir, #23 >>> >>Germantown, MD - 20874 >>> >> >>> >>C - (757) 348 3647 >>> >>H - (???) !!! @@@@ >>> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >> ________________________________ >>> >> From: "Matt Raible" <[EMAIL PROTECTED]> >>> >>Reply-To: [email protected] >>> >>To: [email protected] >>> >>Subject: Re: [appfuse-user] AppFuse on ORACLE and OC4J >>>(Standalone) >>> >>Date: Wed, 10 Jan 2007 16:41:29 -0700 >>> >> >>> >> >Are you running on Java 1.4? There error seems pretty >>> >> >self-explanatory to me. ;-) >>> >> > >>> >> >"Unable to validate using XSD: Your JAXP provider >>> >> >[EMAIL PROTECTED] does >>> >>not support >>> >> >XML Schema. Are you running on Java 1.4 or below with Apache >>> >> >Crimson? >>> >> >Upgrade to Apache Xerces (or Java 1.5) for full XSD support." >>> >> > >>> >> >This happens with Resin too - see the instructions for how to >>>fix >>> >>it >>> >> >at the bottom of the following page: >>> >> > >>> >> >>> >http://www.springframework.org/docs/reference/xsd-config.html >>> >> > >>> >> >Unfortunately, I don't know how to fix it for OC4J. >>> >> > >>> >> >Matt >>> >> > >>> >> > >>> >> >On 1/10/07, Hariprasad Davanagere <[EMAIL PROTECTED]> >>>wrote: >>> >> >> >>> >> >> >>> >> >>Hi, >>> >> >>I am trying to configure appfuse to run on standalone OC4J. >>> >> >>I have followed the guidelines listed out in >>> >> >>> >>http://raibledesigns.com/wiki/Wiki.jsp?page=AppFuseOnOrion. >>> >> >> >>> >> >>Except for the code changes in LoginServlet.init() which i >>> >>cannot >>> >> >>trace in >>> >> >>the project files. >>> >> >> >>> >> >>I went ahead and deployed Appfuse on OC4J and on accessing >>>the >>> >> >>application, >>> >> >>i got the following error. >>> >> >> >>> >> >>07/01/10 18:25:06 Error: Line # 0, >>> >> >>Error: Invalid bodycontent value in TLD: NONE. >>> >> >>07/01/10 18:25:06 Errors parsing >>> >> >>jar:file:/C:/oc4j/j2ee/home/applications/caepr/ >>> >> >>> >>WEB-INF/lib/spring-modules-validation-0.5.jar!/META-INF/valang.tld >>> >> >>[caepr] ERROR [HttpRequestHandler-25326212] >>> >> >>DispatcherServlet.initServletBean(22 >>> >> >>9) | Context initialization failed >>> >> >>> >>org.springframework.beans.factory.BeanDefinitionStoreException: >>> >> >>Unable to valida >>> >> >>te using XSD: Your JAXP provider >>> >> >>[EMAIL PROTECTED] >>> >> >>87] does not support XML Schema. Are you running on Java 1.4 >>>or >>> >> >>below with >>> >> >>Apach >>> >> >>e Crimson? Upgrade to Apache Xerces (or Java 1.5) for full >>>XSD >>> >> >>support. >>> >> >> >>> >> >>Is this related to the missing code in LoginServlet or is it >>> >> >>something else. >>> >> >> >>> >> >>I am new to OC4J and really can't digest the error message. >>>Any >>> >> >>help in >>> >> >>resolving the issue is appreciated. >>> >> >> >>> >> >>Thanks, >>> >> >>Hari >>> >> >> >>> >> >> >>> >> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >> >>Contribution is not by invitation but by initiative >>> >> >> >>> >> >>Hariprasad N Davanagere >>> >> >>19929 Sweetgum Cir, #23 >>> >> >>Germantown, MD - 20874 >>> >> >> >>> >> >>C - (757) 348 DNHP >>> >> >>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >>> >> >> >>> >> >>________________________________ >>> >> >>Spice up your IM conversations. New, colorful and animated >>> >> >>emoticons. Get >>> >> >>chatting! >>> >> >>> >>--------------------------------------------------------------------- >>> >> >>To unsubscribe, e-mail: >>> >> >>[EMAIL PROTECTED] For additional >>> >> >>commands, e-mail: [EMAIL PROTECTED] >>> >> > >>> >> > >>> >> >-- >>> >> >http://raibledesigns.com >>> >> > >>> >> >>> >--------------------------------------------------------------------- >>> >> >To unsubscribe, e-mail: >>> >>[EMAIL PROTECTED] >>> >> >For additional commands, e-mail: >>>[EMAIL PROTECTED] >>> >> > >>> >> >>> >>________________________________ >>> >>Catch all the cricketing action right here. Live score, match >>> >>reports, >>> >>photos et al. >>> >>--------------------------------------------------------------------- >>> >>To unsubscribe, e-mail: >>> >>[EMAIL PROTECTED] For additional >>> >>commands, e-mail: [EMAIL PROTECTED] >>> > >>> > >>> >-- >>> >http://raibledesigns.com >>> > >>> >--------------------------------------------------------------------- >>> >To unsubscribe, e-mail: >>>[EMAIL PROTECTED] >>> >For additional commands, e-mail: [EMAIL PROTECTED] >>> > >>> >>>________________________________ >>>Catch all the cricketing action right here. Live score, match >>>reports, >>>photos et al. >>>--------------------------------------------------------------------- >>>To unsubscribe, e-mail: >>>[EMAIL PROTECTED] For additional >>>commands, e-mail: [EMAIL PROTECTED] >> >> > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > _____ Always wanted to be a writer? Here's your <http://g.msn.com/8HMAENIN/2737??PS=47575> chance! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
