Hi prasad,
  I've just found Oracle Profile in [AppRoot]/pom.XML!! But, I yet don't
know how to edit it suitably and neither the commands to ReGenerate my app.
Is there any tutorial in AppFuse Site that teaches it??!
(Obs.: just to situate u: now I'm using archetype Strut2-Modular and (using
WTP instructions) getta make my app compile in Eclipse and "run to
(Eclipse's) TomCat" (I still get that cheating erros/warings messages (there
are links that seems teach how to remove them), but, for a while, I'm quite
happy and glad just for be able to alter/costumize my App in Eclipse and
"run it to TomCat"!! ;-)).)
And what about after running "appfuse:full-source", must I still run "*mvn
eclipse:eclipse*" and run "*mvn install eclipse:eclipse*".
  So, after these hole steps/commands, will I be able to still keep my prior
alterations/costumizations??!
  Thnx (again and) in advance,

Ice-Man


2008/11/26 Derlon Aliendres <[email protected]>

>       Hi prasad,
>
>   I'd like to know if you already have pre-existing DataBase (in Oracle)
> from a legacy System (that you want/neet to convert it to Java). So, as me,
> u need/should make Reverse Engenering.
>    I suggest you adote an IDE (for instance Eclipse) and try to make
> deploy it in TomCat (or your prefered JavaEE Server) and run (by
> webBrowser), even acessing MySQL (because AppFuse is not a UI tool (and it
> haven't a suitable "round-trip"), thus anyway I think we need a IDE so that
> levarage owr work). So, already developing your app in the IDE, try to make
> it access Oracle (instead of MySQL) .That's 1 of the advantages of the
> FrameWork Hibernate, isn't it?.
>   (I think u can edit the POM.XML direct in Eclipse, but we need make Maven
> (let's say) reBuild AppFuse application. This, and other things,
> are NOT much clear in AppFuse Tutorials. This makes people less entusiastic
> in adotion of AppFuse.)
>
> Ice-Man
> 2008/11/25 grd prasad <[email protected]>
>
>>
>> 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]
>> >> >>
>> >> >>
>> >> >
>> >> >
>> >> >
>> >> >
>> >> >
>> >>
>> >> --
>> >> 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]
>>
>>

Reply via email to