Oh,
Almost I am also facing the same problem.I can run the application through
cmd line with mysql database.
and i tried to connect to oracle database but it is giving an errors like
dbunit operation.I read so many forums regarding them but I am not able to
resolve the problem.I tried to create application and run the application
through IDE's but they are giving lots of errors.I tried to work on these
IDE's idea and eclipse and netbeans
if u done a application with oracle database connectivity.please send me how
to configure and what are the repositories required.
Derlon Aliendres wrote:
>
> Oh, thnx!! ;-))
>
> Well, I'm yet "taking a few pushes". I tried to generate a AppFuse (by
> the
> way v.2.0.0) Project via m2eclipse, but it seems that Eclipse doesN'T
> recognise it as a WEB project.
> Uhn, I get an AppFuse (by the way v.2.0.0) Project generate by cmd line
> and Eclipse recognise it as a WEB project, and I even get to add it in
> TomCat Web Server, thus I think it can't be deploy on it and
> unfortunatelly
> I can't see my app run on LocalHost no my browser. Of course, that A LOT
> OF
> erros and waring in the project! It must be the reason. (Obs.: I still
> didn't that setting to integrate it with Eclipse WTP.)
> I could just run it from jetty.
> Thnx,
>
> Ice-Man
>
> 2008/11/25 grd prasad <[EMAIL PROTECTED]>
>
>>
>> Hi,
>> Derlon
>>
>> Are you creating project with cmd line using maven.
>>
>> send me in which way you are creating the project.I have a little
>> knowledge
>> on this if i can i will share my knowledge to you.
>>
>>
>> Derlon Aliendres wrote:
>> >
>> > Hi, prasad
>> >
>> > I also get develop using Oracle.
>> > I'd prefer: Struts2 Modular + Core. But, finally I think we can
>> exchange
>> > informations and solve doubts each other (as possible),
>> > So, could u gimme more details of your aproach:
>> > Cmd Line, ou Candy4, or Maven2 Projetct ??!
>> >
>> > Unfortunatelly I'm "bit later" and I couldn't even start/create my
>> > project. :-(((
>> > I'd like to help wheares I can. ]['s
>> >
>> > Ice-Man
>> >
>> > 2008/11/20 grd prasad <[EMAIL PROTECTED]>
>> >
>> >>
>> >> hello all,
>> >>
>> >> I am facing a problem with one error since two days.That is
>> >>
>> >> I am working on Struts 2 Basic artifact.I run this program as it was
>> in
>> >> the
>> >> quick start and i use the database mysql by changing the password it
>> was
>> >> successfully running.Now i want to change my database to oracle
>> database
>> >> so
>> >> i deploy the oracle ojdbc14.jar in my repository.It build
>> successfully.
>> >> Now i change the database settings in pom.xml like
>> >> this:
>> >>
>> >> <!-- Database settings -->
>> >>
>> >>
>> >>
>> <dbunit.dataTypeFactoryName>org.dbunit.ext.oracle.OracleDataTypeFactory</dbunit.dataTypeFactoryName>
>> >>
>> >> <dbunit.operation.type>CLEAN_INSERT</dbunit.operation.type>
>> >> <dbunit.schema>TRAINING</dbunit.schema>
>> >>
>> >>
>> <hibernate.dialect>org.hibernate.dialect.OracleDialect</hibernate.dialect>
>> >> <jdbc.groupId>com.oracle</jdbc.groupId>
>> >> <jdbc.artifactId>ojdbc14</jdbc.artifactId>
>> >> <jdbc.version>10.2.0.1.0</jdbc.version>
>> >>
>> >> <jdbc.driverClassName>oracle.jdbc.OracleDriver</jdbc.driverClassName>
>> >>
>> >> <jdbc.url><![CDATA[jdbc:oracle:thin:@172.17.3.130:1521
>> >> :MIRACLE]]></jdbc.url>
>> >> <jdbc.username>training</jdbc.username>
>> >> <jdbc.password>training</jdbc.password>
>> >>
>> >> when i run this mvn jetty:run-war command in command line.
>> >>
>> >> It showing an error like this:
>> >>
>> >> create sequence hibernate_sequence;
>> >> [WARNING] 3 errors occurred while performing <hbm2ddl>.
>> >> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does
>> >> not
>> >> exist
>> >>
>> >> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does
>> >> not
>> >> exist
>> >>
>> >> [ERROR] Error #1: java.sql.SQLException: ORA-00942: table or view does
>> >> not
>> >> exist
>> >>
>> >> [INFO] [compiler:testCompile]
>> >> [INFO] Nothing to compile - all classes are up to date
>> >> [INFO] [dbunit:operation {execution: test-compile}]
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [ERROR] BUILD ERROR
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Error executing database operation: CLEAN_INSERT
>> >>
>> >> Embedded error: Items_Master
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] For more information, run Maven with the -e switch
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >> [INFO] Total time: 10 seconds
>> >> [INFO] Finished at: Thu Nov 20 16:08:50 IST 2008
>> >> [INFO] Final Memory: 23M/254M
>> >> [INFO]
>> >>
>> ------------------------------------------------------------------------
>> >>
>> >> I saw in the database that the tables are created successsfully.But it
>> >> was
>> >> giving an error as above explained. Is there any modifications i have
>> to
>> >> do.
>> >> Please give me solution for this i need to work on this
>> >> urgent.
>> >>
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://www.nabble.com/dbunit%3Aoperation-%7Bexecution%3A-test-compile%7D--tp20598867s2369p20598867.html
>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>> >>
>> >>
>> >> ---------------------------------------------------------------------
>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>> >>
>> >>
>> >
>> >
>> > --
>> > Derlon
>> >
>> > Ao encaminhar esta mensagem (ou qualquer 1 q se destine a mim tb), não
>> se
>> > esqueça de retirar o meu nome e o meu End. de E-Mail e coloque todos os
>> > End.s dos destinatários em Cópia Oculta - CcO (BCc). Ajude a combater o
>> > Spam!
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/dbunit%3Aoperation-%7Bexecution%3A-test-compile%7D--tp20598867s2369p20677946.html
>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
> --
> Derlon
>
> Ao encaminhar esta mensagem (ou qualquer 1 q se destine a mim tb), não se
> esqueça de retirar o meu nome e o meu End. de E-Mail e coloque todos os
> End.s dos destinatários em Cópia Oculta - CcO (BCc). Ajude a combater o
> Spam!
>
>
--
View this message in context:
http://www.nabble.com/dbunit%3Aoperation-%7Bexecution%3A-test-compile%7D--tp20598867s2369p20684652.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]