Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-09 Thread Vanessa Pacheco
Thnx Matt. Sorry for the late reply. I've had to take a few sick days and hence 
haven't had a chance to try this yet. 

I will try it out and let you know the outcome

Vanessa
- Original Message -
From: "Matt Raible" 
To: users@appfuse.dev.java.net
Sent: Friday, November 5, 2010 12:46:42 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch


On Nov 5, 2010, at 10:34 AM, Vanessa Pacheco wrote:

>> C:\>echo %CATALINA_HOME%
>> c:\tomcat6
>> This should work. What makes you think Cargo is not using it when running 
>> tests? To be sure >it's using it, you could remove the following from your 
>> pom.xml:
> 
> Yeah, the zipUrlInstaller section is commented in my actual file. I guess 
> what I am looking for is my appfuse project folder in c:\Tomcat6\webapps. So 
> that when I go to localhost:8080 manager 
> (http://localhost:8080/manager/html), I see the app listed there with all my 
> other non-appfuse apps. This doesn't seem to be happening. I don't want to be 
> copying my .war file over cos that doesn't seem to work for me (that's what I 
> was trying to do yesterday)

Cargo deploys the WAR, runs the tests and then undeploys it, that's why you 
don't see it after your tests complete. You can add the following profile if 
you want to deploy it to Tomcat using "mvn install -Pauto-deploy". You may have 
to change the "deployer-redeploy" goal to "deploy" for the initial deployment. 
Tomcat will need to be running for this to work. More documentation can be 
found at http://cargo.codehaus.org/Maven2+plugin.





auto-deploy



org.codehaus.cargo
cargo-maven2-plugin
1.0


verify-deploy
install

deployer-redeploy



tomcat6x
remote


runtime


http://${cargo.host}/manager


admin

admin



remote


${project.groupId}

${project.artifactId}
war

${deploy.path}


http://${cargo.host}/${deploy.path}

3











${project.artifactId}
localhost:8080




> 
>> This file doesn't have any -ve values in it. Am I missing something?
> There's -1 for the "id". This is 1 table row from the sample data file.
>
>-1
>user
> description="password">12dea96fec20593566ab75692c9949596833adc9
>Tomcat
>User
>
>Denver
>US
>matt_rai...@yahoo.com
>
>80210
>CO
>http://tomcat.apache.org
>
>1
>1
>0
>0
>0
>
> 
> Vanessa

Negative numbers are used for Oracle. Unfortunately, we don't currently have a 
way of reversing this. However, you should be able to manually change the keys 
w/o issues.




-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Matt Raible

On Nov 5, 2010, at 10:34 AM, Vanessa Pacheco wrote:

>> C:\>echo %CATALINA_HOME%
>> c:\tomcat6
>> This should work. What makes you think Cargo is not using it when running 
>> tests? To be sure >it's using it, you could remove the following from your 
>> pom.xml:
> 
> Yeah, the zipUrlInstaller section is commented in my actual file. I guess 
> what I am looking for is my appfuse project folder in c:\Tomcat6\webapps. So 
> that when I go to localhost:8080 manager 
> (http://localhost:8080/manager/html), I see the app listed there with all my 
> other non-appfuse apps. This doesn't seem to be happening. I don't want to be 
> copying my .war file over cos that doesn't seem to work for me (that's what I 
> was trying to do yesterday)

Cargo deploys the WAR, runs the tests and then undeploys it, that's why you 
don't see it after your tests complete. You can add the following profile if 
you want to deploy it to Tomcat using "mvn install -Pauto-deploy". You may have 
to change the "deployer-redeploy" goal to "deploy" for the initial deployment. 
Tomcat will need to be running for this to work. More documentation can be 
found at http://cargo.codehaus.org/Maven2+plugin.





auto-deploy



org.codehaus.cargo
cargo-maven2-plugin
1.0


verify-deploy
install

deployer-redeploy



tomcat6x
remote


runtime


http://${cargo.host}/manager


admin

admin



remote


${project.groupId}

${project.artifactId}
war

${deploy.path}


http://${cargo.host}/${deploy.path}

3











${project.artifactId}
localhost:8080




> 
>> This file doesn't have any -ve values in it. Am I missing something?
> There's -1 for the "id". This is 1 table row from the sample data file.
>
>-1
>user
> description="password">12dea96fec20593566ab75692c9949596833adc9
>Tomcat
>User
>
>Denver
>US
>matt_rai...@yahoo.com
>
>80210
>CO
>http://tomcat.apache.org
>
>1
>1
>0
>0
>0
>
> 
> Vanessa

Negative numbers are used for Oracle. Unfortunately, we don't currently have a 
way of reversing this. However, you should be able to manually change the keys 
w/o issues.




-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Vanessa Pacheco
> C:\>echo %CATALINA_HOME%
> c:\tomcat6
>This should work. What makes you think Cargo is not using it when running 
>tests? To be sure >it's using it, you could remove the following from your 
>pom.xml:

Yeah, the zipUrlInstaller section is commented in my actual file. I guess what 
I am looking for is my appfuse project folder in c:\Tomcat6\webapps. So that 
when I go to localhost:8080 manager (http://localhost:8080/manager/html), I see 
the app listed there with all my other non-appfuse apps. This doesn't seem to 
be happening. I don't want to be copying my .war file over cos that doesn't 
seem to work for me (that's what I was trying to do yesterday)
   
>This file doesn't have any -ve values in it. Am I missing something?
There's -1 for the "id". This is 1 table row from the sample data file.

-1
user
12dea96fec20593566ab75692c9949596833adc9
Tomcat
User

Denver
US
matt_rai...@yahoo.com

80210
CO
http://tomcat.apache.org

1
1
0
0
0


Vanessa
-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Matt Raible

On Nov 5, 2010, at 10:13 AM, Vanessa Pacheco wrote:

> Matt,
> 
>> My only issue is that with my env CATALINA variable and one other change to 
>> pom.xml, it >still doesn't depoly to my installed version of tomcat. 
>> What do you see when run "echo %CATALINA_HOME%" from the command line?
> 
> Here's the command I ran, with output. In windows its a user environment 
> variable, not a system env var. Don't know if that makes a diff. I also have 
> %CATALINA_HOME%\bin in my path, though I don't think that should matter
> C:\>echo %CATALINA_HOME%
> c:\tomcat6

This should work. What makes you think Cargo is not using it when running 
tests? To be sure it's using it, you could remove the following from your 
pom.xml:


${cargo.container.url}
${installDir}


> 
>> The -ve values for PK IDs in the database is because my sample-data.xml has 
>> -ve values. Was >there a reason for this?
>> Nope, I don't believe the -ve was done by AppFuse. If it was, it might be a 
>> bug.
> 
> Attaching a sample test data xml file after running the archtype-generate 
> command.

This file doesn't have any -ve values in it. Am I missing something?

> 
> Vanessa-
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
> For additional commands, e-mail: users-h...@appfuse.dev.java.net


-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Vanessa Pacheco
Matt,

> My only issue is that with my env CATALINA variable and one other change to 
> pom.xml, it >still doesn't depoly to my installed version of tomcat. 
>What do you see when run "echo %CATALINA_HOME%" from the command line?

Here's the command I ran, with output. In windows its a user environment 
variable, not a system env var. Don't know if that makes a diff. I also have 
%CATALINA_HOME%\bin in my path, though I don't think that should matter
C:\>echo %CATALINA_HOME%
c:\tomcat6

> The -ve values for PK IDs in the database is because my sample-data.xml has 
> -ve values. Was >there a reason for this?
>Nope, I don't believe the -ve was done by AppFuse. If it was, it might be a 
>bug.

Attaching a sample test data xml file after running the archtype-generate 
command.

Vanessa


id
username
password
first_name
last_name
address
city
country
email
phone_number
postal_code
province
website
password_hint
version
account_enabled
account_expired
account_locked
credentials_expired

-1
user
12dea96fec20593566ab75692c9949596833adc9
Tomcat
User

Denver
US
matt_rai...@yahoo.com

80210
CO
http://tomcat.apache.org

1
1
0
0
0


-2
admin
d033e22ae348aeb5660fc2140aec35850c4da997
Matt
Raible

Denver
US
m...@raibledesigns.com

80210
CO
http://raibledesigns.com

1
1
0
0
0



id
name
description

-1
ROLE_ADMIN



-2
ROLE_USER




user_id
role_id

-1
-2


-2
-1



-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Matt Raible

On Nov 5, 2010, at 7:26 AM, Vanessa Pacheco wrote:

> I got all my issues solved (except one).
> 
> I am able to follow the QuickStart steps and get a running working app. My 
> problem was the java version. I had java6 update02. I got update 22 and now 
> everything works fine.
> 
> My only issue is that with my env CATALINA variable and one other change to 
> pom.xml, it still doesn't depoly to my installed version of tomcat. 

What do you see when run "echo %CATALINA_HOME%" from the command line?

> 
> The -ve values for PK IDs in the database is because my sample-data.xml has 
> -ve values. Was there a reason for this?

Nope, I don't believe the -ve was done by AppFuse. If it was, it might be a bug.

> 
> Vanessa
> 
> - Original Message -
> From: "dan" 
> To: users@appfuse.dev.java.net
> Sent: Friday, November 5, 2010 1:23:56 AM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
> 
> Thanks for Matt's remind,I find why this error happens,because my 
> default account admin which is created from the 
> src/test/resource/sample-data.xml,but the md5 password is not the 
> admin,so the
> src/test/resources/login.xml will show the errors because it tests the 
> login action use admin/admin,
> but i don't know when the admin's md5 password changes,the 
> sample-data.xml keep frozen
> 
> 
> 
> 于 2010-11-5 12:03, Matt Raible 写道:
>> If you create a new app and run "mvn install", does it work?
>> 
>> On Nov 4, 2010, at 8:54 PM, dan  wrote:
>> 
>>> I am using apache-tomcat-6.0.29,first i meet the same 404 error.as we 
>>> know,since tomcat6.x version,it add the memory detect module,but it is not 
>>> so smart,so i comment it,see below
>>> 1.find server.xml in $TOMCAT_HOME/conf
>>> 2.find the
>>> 
>>> 3.mvn deploy
>>> so the 404 will not exist,but it then generate extra errors
>>> 
>>> D:\workspace\DBSync\src\test\resources\login.xml:6: Wrong document title 
>>> found!.
>>> 
>>> from 2010-11-3 22:12, Vanessa Pacheco say:
>>>> Tried it, but I get the same 404 error.
>>>> 
>>>> I already have tomcat installed in my c:\ dir that I use for my other 
>>>> applications. Is it possible to make Appfuse use this tomcat (v. 6.0.18)? 
>>>> What changes would I need to make to pom.xml and where else will I have to 
>>>> make changes? Would there be any changes to this file 
>>>> "myproject/web/.settings/org.eclipse.wst.common.component"??
>>>> 
>>>> Thanks in advance for all of your help
>>>> 
>>>> Vanessa
>>>> - Original Message -
>>>> From: "dan"
>>>> To: users@appfuse.dev.java.net
>>>> Sent: Tuesday, November 2, 2010 10:11:58 PM (GMT-0500) America/New_York
>>>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>>>> 
>>>> SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in 
>>>> login.xml still didn't change,
>>>> let's see
>>>> so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass 
>>>> the test,Good Luck
>>>> 
>>>> 
>>>> On 2010-11-3 6:06, Matt Raible wrote:
>>>>> The port number is controlled by Cargo and properties in your pom.xml. If 
>>>>> you want to run it on a port other than the default, change the 
>>>>> cargo.port property in the bottom of pom.xml.
>>>>> 
>>>>> On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:
>>>>> 
>>>>>> That helped Matt. I copied the properties from the postgres profile to 
>>>>>> the properties at the bottom of pom.xml. So I've now got my app talking 
>>>>>> with postgres.
>>>>>> 
>>>>>> Now I get this when I run mvn from within my project dir to download 
>>>>>> JARs, Tomcat and run the integration tests in my project. I see the 3 
>>>>>> tables in my database (app_user, role, user_role), so its gotten past 
>>>>>> that stage. This is the TESTS stage.
>>>>>> 
>>>>>> Login:
>>>>>> [INFO] 
>>>>>> ----
>>>>>> [ERROR] BUILD ERROR
>>>>>> [INFO] 
>>>>>> 

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-05 Thread Vanessa Pacheco
I got all my issues solved (except one).

I am able to follow the QuickStart steps and get a running working app. My 
problem was the java version. I had java6 update02. I got update 22 and now 
everything works fine.

My only issue is that with my env CATALINA variable and one other change to 
pom.xml, it still doesn't depoly to my installed version of tomcat. 

The -ve values for PK IDs in the database is because my sample-data.xml has -ve 
values. Was there a reason for this?

Vanessa

- Original Message -
From: "dan" 
To: users@appfuse.dev.java.net
Sent: Friday, November 5, 2010 1:23:56 AM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

Thanks for Matt's remind,I find why this error happens,because my 
default account admin which is created from the 
src/test/resource/sample-data.xml,but the md5 password is not the 
admin,so the
src/test/resources/login.xml will show the errors because it tests the 
login action use admin/admin,
but i don't know when the admin's md5 password changes,the 
sample-data.xml keep frozen



于 2010-11-5 12:03, Matt Raible 写道:
> If you create a new app and run "mvn install", does it work?
>
> On Nov 4, 2010, at 8:54 PM, dan  wrote:
>
>> I am using apache-tomcat-6.0.29,first i meet the same 404 error.as we 
>> know,since tomcat6.x version,it add the memory detect module,but it is not 
>> so smart,so i comment it,see below
>> 1.find server.xml in $TOMCAT_HOME/conf
>> 2.find the
>> 
>> 3.mvn deploy
>> so the 404 will not exist,but it then generate extra errors
>>
>> D:\workspace\DBSync\src\test\resources\login.xml:6: Wrong document title 
>> found!.
>>
>> from 2010-11-3 22:12, Vanessa Pacheco say:
>>> Tried it, but I get the same 404 error.
>>>
>>> I already have tomcat installed in my c:\ dir that I use for my other 
>>> applications. Is it possible to make Appfuse use this tomcat (v. 6.0.18)? 
>>> What changes would I need to make to pom.xml and where else will I have to 
>>> make changes? Would there be any changes to this file 
>>> "myproject/web/.settings/org.eclipse.wst.common.component"??
>>>
>>> Thanks in advance for all of your help
>>>
>>> Vanessa
>>> - Original Message -
>>> From: "dan"
>>> To: users@appfuse.dev.java.net
>>> Sent: Tuesday, November 2, 2010 10:11:58 PM (GMT-0500) America/New_York
>>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>>>
>>> SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in 
>>> login.xml still didn't change,
>>> let's see
>>> so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass 
>>> the test,Good Luck
>>>
>>>
>>> On 2010-11-3 6:06, Matt Raible wrote:
>>>> The port number is controlled by Cargo and properties in your pom.xml. If 
>>>> you want to run it on a port other than the default, change the cargo.port 
>>>> property in the bottom of pom.xml.
>>>>
>>>> On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:
>>>>
>>>>> That helped Matt. I copied the properties from the postgres profile to 
>>>>> the properties at the bottom of pom.xml. So I've now got my app talking 
>>>>> with postgres.
>>>>>
>>>>> Now I get this when I run mvn from within my project dir to download 
>>>>> JARs, Tomcat and run the integration tests in my project. I see the 3 
>>>>> tables in my database (app_user, role, user_role), so its gotten past 
>>>>> that stage. This is the TESTS stage.
>>>>>
>>>>> Login:
>>>>> [INFO] 
>>>>> 
>>>>> [ERROR] BUILD ERROR
>>>>> [INFO] 
>>>>> 
>>>>> [INFO] An Ant BuildException has occured: The following error occurred 
>>>>> while exe
>>>>> cuting this line:
>>>>> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404
>>>>>
>>>>> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/
>>>>>
>>>>> Do I need to make some changes somewhere. I see localhost:8081 in there. 
>>>>> My tomcat isn't running (should it be running for the tests?). Also when 
>>>>> I run any of my tomcat apps I use localhost:8080

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-04 Thread dan
Thanks for Matt's remind,I find why this error happens,because my 
default account admin which is created from the 
src/test/resource/sample-data.xml,but the md5 password is not the 
admin,so the
src/test/resources/login.xml will show the errors because it tests the 
login action use admin/admin,
but i don't know when the admin's md5 password changes,the 
sample-data.xml keep frozen




于 2010-11-5 12:03, Matt Raible 写道:

If you create a new app and run "mvn install", does it work?

On Nov 4, 2010, at 8:54 PM, dan  wrote:


I am using apache-tomcat-6.0.29,first i meet the same 404 error.as we 
know,since tomcat6.x version,it add the memory detect module,but it is not so 
smart,so i comment it,see below
1.find server.xml in $TOMCAT_HOME/conf
2.find the

3.mvn deploy
so the 404 will not exist,but it then generate extra errors

D:\workspace\DBSync\src\test\resources\login.xml:6: Wrong document title found!.

from 2010-11-3 22:12, Vanessa Pacheco say:

Tried it, but I get the same 404 error.

I already have tomcat installed in my c:\ dir that I use for my other applications. Is it 
possible to make Appfuse use this tomcat (v. 6.0.18)? What changes would I need to make 
to pom.xml and where else will I have to make changes? Would there be any changes to this 
file "myproject/web/.settings/org.eclipse.wst.common.component"??

Thanks in advance for all of your help

Vanessa
- Original Message -
From: "dan"
To: users@appfuse.dev.java.net
Sent: Tuesday, November 2, 2010 10:11:58 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in 
login.xml still didn't change,
let's see
so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass the 
test,Good Luck


On 2010-11-3 6:06, Matt Raible wrote:

The port number is controlled by Cargo and properties in your pom.xml. If you 
want to run it on a port other than the default, change the cargo.port property 
in the bottom of pom.xml.

On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:


That helped Matt. I copied the properties from the postgres profile to the 
properties at the bottom of pom.xml. So I've now got my app talking with 
postgres.

Now I get this when I run mvn from within my project dir to download JARs, 
Tomcat and run the integration tests in my project. I see the 3 tables in my 
database (app_user, role, user_role), so its gotten past that stage. This is 
the TESTS stage.

Login:
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404

404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/

Do I need to make some changes somewhere. I see localhost:8081 in there. My 
tomcat isn't running (should it be running for the tests?). Also when I run any 
of my tomcat apps I use localhost:8080, so I changed it to 8080 in pom.xml. 
However, no luck still. What should I do here?


Vanessa
- Original Message -
From: "Matt Raible"
To: "Vanessa Pacheco"
Cc: "users"
Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

There might be issues with this working properly. If it's still talking to 
MySQL, you might have to move the property values from the postgres profile to 
the properties at the bottom of pom.xml (overriding the default/mysql's 
properties).

On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:


Matt,

Did you mean "mvn eclipse:eclipse -Ppostgres"?

I've added the following to pom.xml for the postgres profile

true



Vanessa
- Original Message -
From: "Matt Raible"
To: "Vanessa Pacheco"
Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

Try running it with -Ppostgres - also look in pom.xml for the settings for 
Postgres.


On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco<vpach...@bowmansystems.com> 
   wrote:


Hi all,

I realized the mistake...I had to get into my prj folder to run the command. However, now 
I get a mySQL access error "Embedded error: Access denied for user 
'root'@'localhost' (using password: NO)"

Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
postgres?

Vanessa



- Original Message -
From: "Vanessa Pacheco"<vpach...@bowmansystems.com>
To: users@appfuse.dev.java.net
Cc: m...@raibledesigns.com
Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_Yor

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-04 Thread Matt Raible
If you create a new app and run "mvn install", does it work?

On Nov 4, 2010, at 8:54 PM, dan  wrote:

> I am using apache-tomcat-6.0.29,first i meet the same 404 error.as we 
> know,since tomcat6.x version,it add the memory detect module,but it is not so 
> smart,so i comment it,see below
> 1.find server.xml in $TOMCAT_HOME/conf
> 2.find the
> 
> 3.mvn deploy
> so the 404 will not exist,but it then generate extra errors
> 
> D:\workspace\DBSync\src\test\resources\login.xml:6: Wrong document title 
> found!.
> 
> from 2010-11-3 22:12, Vanessa Pacheco say:
>> Tried it, but I get the same 404 error.
>> 
>> I already have tomcat installed in my c:\ dir that I use for my other 
>> applications. Is it possible to make Appfuse use this tomcat (v. 6.0.18)? 
>> What changes would I need to make to pom.xml and where else will I have to 
>> make changes? Would there be any changes to this file 
>> "myproject/web/.settings/org.eclipse.wst.common.component"??
>> 
>> Thanks in advance for all of your help
>> 
>> Vanessa
>> - Original Message -
>> From: "dan"
>> To: users@appfuse.dev.java.net
>> Sent: Tuesday, November 2, 2010 10:11:58 PM (GMT-0500) America/New_York
>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>> 
>> SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in 
>> login.xml still didn't change,
>> let's see
>> so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass 
>> the test,Good Luck
>> 
>> 
>> On 2010-11-3 6:06, Matt Raible wrote:
>>> The port number is controlled by Cargo and properties in your pom.xml. If 
>>> you want to run it on a port other than the default, change the cargo.port 
>>> property in the bottom of pom.xml.
>>> 
>>> On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:
>>> 
>>>> That helped Matt. I copied the properties from the postgres profile to the 
>>>> properties at the bottom of pom.xml. So I've now got my app talking with 
>>>> postgres.
>>>> 
>>>> Now I get this when I run mvn from within my project dir to download JARs, 
>>>> Tomcat and run the integration tests in my project. I see the 3 tables in 
>>>> my database (app_user, role, user_role), so its gotten past that stage. 
>>>> This is the TESTS stage.
>>>> 
>>>> Login:
>>>> [INFO] 
>>>> 
>>>> [ERROR] BUILD ERROR
>>>> [INFO] 
>>>> 
>>>> [INFO] An Ant BuildException has occured: The following error occurred 
>>>> while exe
>>>> cuting this line:
>>>> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404
>>>> 
>>>> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/
>>>> 
>>>> Do I need to make some changes somewhere. I see localhost:8081 in there. 
>>>> My tomcat isn't running (should it be running for the tests?). Also when I 
>>>> run any of my tomcat apps I use localhost:8080, so I changed it to 8080 in 
>>>> pom.xml. However, no luck still. What should I do here?
>>>> 
>>>> 
>>>> Vanessa
>>>> - Original Message -
>>>> From: "Matt Raible"
>>>> To: "Vanessa Pacheco"
>>>> Cc: "users"
>>>> Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
>>>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>>>> 
>>>> There might be issues with this working properly. If it's still talking to 
>>>> MySQL, you might have to move the property values from the postgres 
>>>> profile to the properties at the bottom of pom.xml (overriding the 
>>>> default/mysql's properties).
>>>> 
>>>> On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:
>>>> 
>>>>> Matt,
>>>>> 
>>>>> Did you mean "mvn eclipse:eclipse -Ppostgres"?
>>>>> 
>>>>> I've added the following to pom.xml for the postgres profile
>>>>>
>>>>>true
>>>>>
>>>>> 
>>>>> 
>>>>> Vanessa
>>>>> - Original Message -
>>>>> From: "Matt Raible&q

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-04 Thread dan
I am using apache-tomcat-6.0.29,first i meet the same 404 error.as we 
know,since tomcat6.x version,it add the memory detect module,but it is 
not so smart,so i comment it,see below

1.find server.xml in $TOMCAT_HOME/conf
2.find the

3.mvn deploy
so the 404 will not exist,but it then generate extra errors

D:\workspace\DBSync\src\test\resources\login.xml:6: Wrong document title 
found!.


from 2010-11-3 22:12, Vanessa Pacheco say:

Tried it, but I get the same 404 error.

I already have tomcat installed in my c:\ dir that I use for my other applications. Is it 
possible to make Appfuse use this tomcat (v. 6.0.18)? What changes would I need to make 
to pom.xml and where else will I have to make changes? Would there be any changes to this 
file "myproject/web/.settings/org.eclipse.wst.common.component"??

Thanks in advance for all of your help

Vanessa
- Original Message -
From: "dan"
To: users@appfuse.dev.java.net
Sent: Tuesday, November 2, 2010 10:11:58 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in 
login.xml still didn't change,
let's see
so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass the 
test,Good Luck


On 2010-11-3 6:06, Matt Raible wrote:

The port number is controlled by Cargo and properties in your pom.xml. If you 
want to run it on a port other than the default, change the cargo.port property 
in the bottom of pom.xml.

On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:


That helped Matt. I copied the properties from the postgres profile to the 
properties at the bottom of pom.xml. So I've now got my app talking with 
postgres.

Now I get this when I run mvn from within my project dir to download JARs, 
Tomcat and run the integration tests in my project. I see the 3 tables in my 
database (app_user, role, user_role), so its gotten past that stage. This is 
the TESTS stage.

Login:
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404

404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/

Do I need to make some changes somewhere. I see localhost:8081 in there. My 
tomcat isn't running (should it be running for the tests?). Also when I run any 
of my tomcat apps I use localhost:8080, so I changed it to 8080 in pom.xml. 
However, no luck still. What should I do here?


Vanessa
- Original Message -
From: "Matt Raible"
To: "Vanessa Pacheco"
Cc: "users"
Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

There might be issues with this working properly. If it's still talking to 
MySQL, you might have to move the property values from the postgres profile to 
the properties at the bottom of pom.xml (overriding the default/mysql's 
properties).

On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:


Matt,

Did you mean "mvn eclipse:eclipse -Ppostgres"?

I've added the following to pom.xml for the postgres profile

true



Vanessa
- Original Message -
From: "Matt Raible"
To: "Vanessa Pacheco"
Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

Try running it with -Ppostgres - also look in pom.xml for the settings for 
Postgres.


On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco<   vpach...@bowmansystems.com>  
 wrote:


Hi all,

I realized the mistake...I had to get into my prj folder to run the command. However, now 
I get a mySQL access error "Embedded error: Access denied for user 
'root'@'localhost' (using password: NO)"

Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
postgres?

Vanessa



- Original Message -
From: "Vanessa Pacheco"<   vpach...@bowmansystems.com>
To: users@appfuse.dev.java.net
Cc: m...@raibledesigns.com
Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York
Subject: [appfuse-user] starting with Appfuse 2 from scratch

Hi all,

I'm starting from scratch with Appfuse 2.0.

I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't follow this step 
"use Callisto (Software Update) to get plugins for developing web and 
database-driven applications." Could someone shed some light please, to a newbie

I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I get 
an error.

[INFO] -

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-03 Thread Vanessa Pacheco
Tried it, but I get the same 404 error.

I already have tomcat installed in my c:\ dir that I use for my other 
applications. Is it possible to make Appfuse use this tomcat (v. 6.0.18)? What 
changes would I need to make to pom.xml and where else will I have to make 
changes? Would there be any changes to this file 
"myproject/web/.settings/org.eclipse.wst.common.component"??

Thanks in advance for all of your help

Vanessa
- Original Message -
From: "dan" 
To: users@appfuse.dev.java.net
Sent: Tuesday, November 2, 2010 10:11:58 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in 
login.xml still didn't change,
let's see
so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass the 
test,Good Luck


On 2010-11-3 6:06, Matt Raible wrote:
> The port number is controlled by Cargo and properties in your pom.xml. If you 
> want to run it on a port other than the default, change the cargo.port 
> property in the bottom of pom.xml.
>
> On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:
>
>> That helped Matt. I copied the properties from the postgres profile to the 
>> properties at the bottom of pom.xml. So I've now got my app talking with 
>> postgres.
>>
>> Now I get this when I run mvn from within my project dir to download JARs, 
>> Tomcat and run the integration tests in my project. I see the 3 tables in my 
>> database (app_user, role, user_role), so its gotten past that stage. This is 
>> the TESTS stage.
>>
>> Login:
>> [INFO] 
>> 
>> [ERROR] BUILD ERROR
>> [INFO] 
>> 
>> [INFO] An Ant BuildException has occured: The following error occurred while 
>> exe
>> cuting this line:
>> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404
>>
>> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/
>>
>> Do I need to make some changes somewhere. I see localhost:8081 in there. My 
>> tomcat isn't running (should it be running for the tests?). Also when I run 
>> any of my tomcat apps I use localhost:8080, so I changed it to 8080 in 
>> pom.xml. However, no luck still. What should I do here?
>>
>>
>> Vanessa
>> - Original Message -
>> From: "Matt Raible"
>> To: "Vanessa Pacheco"
>> Cc: "users"
>> Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>>
>> There might be issues with this working properly. If it's still talking to 
>> MySQL, you might have to move the property values from the postgres profile 
>> to the properties at the bottom of pom.xml (overriding the default/mysql's 
>> properties).
>>
>> On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:
>>
>>> Matt,
>>>
>>> Did you mean "mvn eclipse:eclipse -Ppostgres"?
>>>
>>> I've added the following to pom.xml for the postgres profile
>>> 
>>> true
>>> 
>>>
>>>
>>> Vanessa
>>> - Original Message -
>>> From: "Matt Raible"
>>> To: "Vanessa Pacheco"
>>> Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
>>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>>>
>>> Try running it with -Ppostgres - also look in pom.xml for the settings for 
>>> Postgres.
>>>
>>>
>>> On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco<  
>>> vpach...@bowmansystems.com>  wrote:
>>>
>>>
>>> Hi all,
>>>
>>> I realized the mistake...I had to get into my prj folder to run the 
>>> command. However, now I get a mySQL access error "Embedded error: Access 
>>> denied for user 'root'@'localhost' (using password: NO)"
>>>
>>> Anyways, I want to use Appfuse 2 with postgres. How do I configure it to 
>>> use postgres?
>>>
>>> Vanessa
>>>
>>>
>>>
>>> - Original Message -
>>> From: "Vanessa Pacheco"<  vpach...@bowmansystems.com>
>>> To: users@appfuse.dev.java.net
>>> Cc: m...@raibledesigns.com
>>> Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York
>>> 

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread dan

SyncPoint-1.0-SNAPSHOT now is your web namespace,but the first line in 
login.xml still didn't change,
let's see
so change the url="/" to url="/SyncPoint-1.0-SNAPSHOT" maybe you can pass the 
test,Good Luck


On 2010-11-3 6:06, Matt Raible wrote:

The port number is controlled by Cargo and properties in your pom.xml. If you 
want to run it on a port other than the default, change the cargo.port property 
in the bottom of pom.xml.

On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:


That helped Matt. I copied the properties from the postgres profile to the 
properties at the bottom of pom.xml. So I've now got my app talking with 
postgres.

Now I get this when I run mvn from within my project dir to download JARs, 
Tomcat and run the integration tests in my project. I see the 3 tables in my 
database (app_user, role, user_role), so its gotten past that stage. This is 
the TESTS stage.

Login:
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404

404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/

Do I need to make some changes somewhere. I see localhost:8081 in there. My 
tomcat isn't running (should it be running for the tests?). Also when I run any 
of my tomcat apps I use localhost:8080, so I changed it to 8080 in pom.xml. 
However, no luck still. What should I do here?


Vanessa
- Original Message -
From: "Matt Raible"
To: "Vanessa Pacheco"
Cc: "users"
Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

There might be issues with this working properly. If it's still talking to 
MySQL, you might have to move the property values from the postgres profile to 
the properties at the bottom of pom.xml (overriding the default/mysql's 
properties).

On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:


Matt,

Did you mean "mvn eclipse:eclipse -Ppostgres"?

I've added the following to pom.xml for the postgres profile

true



Vanessa
- Original Message -
From: "Matt Raible"
To: "Vanessa Pacheco"
Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

Try running it with -Ppostgres - also look in pom.xml for the settings for 
Postgres.


On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco<  vpach...@bowmansystems.com>  
wrote:


Hi all,

I realized the mistake...I had to get into my prj folder to run the command. However, now 
I get a mySQL access error "Embedded error: Access denied for user 
'root'@'localhost' (using password: NO)"

Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
postgres?

Vanessa



- Original Message -
From: "Vanessa Pacheco"<  vpach...@bowmansystems.com>
To: users@appfuse.dev.java.net
Cc: m...@raibledesigns.com
Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York
Subject: [appfuse-user] starting with Appfuse 2 from scratch

Hi all,

I'm starting from scratch with Appfuse 2.0.

I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't follow this step 
"use Callisto (Software Update) to get plugins for developing web and 
database-driven applications." Could someone shed some light please, to a newbie

I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I get 
an error.

[INFO] 
[INFO] Building Maven Default Project
[INFO]task-segment: [eclipse:eclipse]
[INFO] 
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Cannot execute mojo: eclipse. It requires a project with an existing pom.
xml, but the build is not using one.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 

Can someone please help me with these steps.

Thank you
Vanessa

-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread Matt Raible
The port number is controlled by Cargo and properties in your pom.xml. If you 
want to run it on a port other than the default, change the cargo.port property 
in the bottom of pom.xml.

On Nov 2, 2010, at 3:09 PM, Vanessa Pacheco wrote:

> That helped Matt. I copied the properties from the postgres profile to the 
> properties at the bottom of pom.xml. So I've now got my app talking with 
> postgres.
> 
> Now I get this when I run mvn from within my project dir to download JARs, 
> Tomcat and run the integration tests in my project. I see the 3 tables in my 
> database (app_user, role, user_role), so its gotten past that stage. This is 
> the TESTS stage.
> 
> Login:
> [INFO] 
> 
> [ERROR] BUILD ERROR
> [INFO] 
> 
> [INFO] An Ant BuildException has occured: The following error occurred while 
> exe
> cuting this line:
> C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404
> 
> 404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/
> 
> Do I need to make some changes somewhere. I see localhost:8081 in there. My 
> tomcat isn't running (should it be running for the tests?). Also when I run 
> any of my tomcat apps I use localhost:8080, so I changed it to 8080 in 
> pom.xml. However, no luck still. What should I do here?
> 
> 
> Vanessa
> - Original Message -
> From: "Matt Raible" 
> To: "Vanessa Pacheco" 
> Cc: "users" 
> Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
> 
> There might be issues with this working properly. If it's still talking to 
> MySQL, you might have to move the property values from the postgres profile 
> to the properties at the bottom of pom.xml (overriding the default/mysql's 
> properties).
> 
> On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:
> 
>> Matt,
>> 
>> Did you mean "mvn eclipse:eclipse -Ppostgres"?
>> 
>> I've added the following to pom.xml for the postgres profile
>>    
>>  true
>>    
>> 
>> 
>> Vanessa
>> - Original Message -
>> From: "Matt Raible" 
>> To: "Vanessa Pacheco" 
>> Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
>> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
>> 
>> Try running it with -Ppostgres - also look in pom.xml for the settings for 
>> Postgres. 
>> 
>> 
>> On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco < vpach...@bowmansystems.com 
>> > wrote: 
>> 
>> 
>> Hi all, 
>> 
>> I realized the mistake...I had to get into my prj folder to run the command. 
>> However, now I get a mySQL access error "Embedded error: Access denied for 
>> user 'root'@'localhost' (using password: NO)" 
>> 
>> Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
>> postgres? 
>> 
>> Vanessa 
>> 
>> 
>> 
>> - Original Message - 
>> From: "Vanessa Pacheco" < vpach...@bowmansystems.com > 
>> To: users@appfuse.dev.java.net 
>> Cc: m...@raibledesigns.com 
>> Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York 
>> Subject: [appfuse-user] starting with Appfuse 2 from scratch 
>> 
>> Hi all, 
>> 
>> I'm starting from scratch with Appfuse 2.0. 
>> 
>> I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't 
>> follow this step "use Callisto (Software Update) to get plugins for 
>> developing web and database-driven applications." Could someone shed some 
>> light please, to a newbie 
>> 
>> I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I 
>> get an error. 
>> 
>> [INFO] 
>>  
>> [INFO] Building Maven Default Project 
>> [INFO]task-segment: [eclipse:eclipse] 
>> [INFO] 
>>  
>> [INFO] Preparing eclipse:eclipse 
>> [INFO] No goals needed for project - skipping 
>> [INFO] 
>>  
>> [ERROR] BUILD ERROR 
>> [INFO] 
>>  
>> [INFO] Cannot execute mojo: eclipse

Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread Vanessa Pacheco
That helped Matt. I copied the properties from the postgres profile to the 
properties at the bottom of pom.xml. So I've now got my app talking with 
postgres.

Now I get this when I run mvn from within my project dir to download JARs, 
Tomcat and run the integration tests in my project. I see the 3 tables in my 
database (app_user, role, user_role), so its gotten past that stage. This is 
the TESTS stage.

Login:
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] An Ant BuildException has occured: The following error occurred while exe
cuting this line:
C:\Source\SyncPoint\src\test\resources\login.xmlf:1: HTTP error 404

404 Not Found for http://localhost:8081/SyncPoint-1.0-SNAPSHOT/

Do I need to make some changes somewhere. I see localhost:8081 in there. My 
tomcat isn't running (should it be running for the tests?). Also when I run any 
of my tomcat apps I use localhost:8080, so I changed it to 8080 in pom.xml. 
However, no luck still. What should I do here?


Vanessa
- Original Message -
From: "Matt Raible" 
To: "Vanessa Pacheco" 
Cc: "users" 
Sent: Tuesday, November 2, 2010 4:36:20 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

There might be issues with this working properly. If it's still talking to 
MySQL, you might have to move the property values from the postgres profile to 
the properties at the bottom of pom.xml (overriding the default/mysql's 
properties).

On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:

> Matt,
> 
> Did you mean "mvn eclipse:eclipse -Ppostgres"?
> 
> I've added the following to pom.xml for the postgres profile
> 
>   true
> 
> 
> 
> Vanessa
> - Original Message -
> From: "Matt Raible" 
> To: "Vanessa Pacheco" 
> Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
> 
> Try running it with -Ppostgres - also look in pom.xml for the settings for 
> Postgres. 
> 
> 
> On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco < vpach...@bowmansystems.com 
> > wrote: 
> 
> 
> Hi all, 
> 
> I realized the mistake...I had to get into my prj folder to run the command. 
> However, now I get a mySQL access error "Embedded error: Access denied for 
> user 'root'@'localhost' (using password: NO)" 
> 
> Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
> postgres? 
> 
> Vanessa 
> 
> 
> 
> - Original Message - 
> From: "Vanessa Pacheco" < vpach...@bowmansystems.com > 
> To: users@appfuse.dev.java.net 
> Cc: m...@raibledesigns.com 
> Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York 
> Subject: [appfuse-user] starting with Appfuse 2 from scratch 
> 
> Hi all, 
> 
> I'm starting from scratch with Appfuse 2.0. 
> 
> I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't 
> follow this step "use Callisto (Software Update) to get plugins for 
> developing web and database-driven applications." Could someone shed some 
> light please, to a newbie 
> 
> I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I get 
> an error. 
> 
> [INFO] 
>  
> [INFO] Building Maven Default Project 
> [INFO]task-segment: [eclipse:eclipse] 
> [INFO] 
>  
> [INFO] Preparing eclipse:eclipse 
> [INFO] No goals needed for project - skipping 
> [INFO] 
>  
> [ERROR] BUILD ERROR 
> [INFO] 
>  
> [INFO] Cannot execute mojo: eclipse. It requires a project with an existing 
> pom. 
> xml, but the build is not using one. 
> [INFO] 
>  
> [INFO] For more information, run Maven with the -e switch 
> [INFO] 
>  
> 
> Can someone please help me with these steps. 
> 
> Thank you 
> Vanessa 
> 
> - 
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net 
> For additional commands, e-mail: users-h...@appfuse.dev.java.net 
> 
> 
> 
> 



-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread Matt Raible
There might be issues with this working properly. If it's still talking to 
MySQL, you might have to move the property values from the postgres profile to 
the properties at the bottom of pom.xml (overriding the default/mysql's 
properties).

On Nov 2, 2010, at 1:56 PM, Vanessa Pacheco wrote:

> Matt,
> 
> Did you mean "mvn eclipse:eclipse -Ppostgres"?
> 
> I've added the following to pom.xml for the postgres profile
> 
>   true
> 
> 
> 
> Vanessa
> - Original Message -
> From: "Matt Raible" 
> To: "Vanessa Pacheco" 
> Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
> Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch
> 
> Try running it with -Ppostgres - also look in pom.xml for the settings for 
> Postgres. 
> 
> 
> On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco < vpach...@bowmansystems.com 
> > wrote: 
> 
> 
> Hi all, 
> 
> I realized the mistake...I had to get into my prj folder to run the command. 
> However, now I get a mySQL access error "Embedded error: Access denied for 
> user 'root'@'localhost' (using password: NO)" 
> 
> Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
> postgres? 
> 
> Vanessa 
> 
> 
> 
> - Original Message - 
> From: "Vanessa Pacheco" < vpach...@bowmansystems.com > 
> To: users@appfuse.dev.java.net 
> Cc: m...@raibledesigns.com 
> Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York 
> Subject: [appfuse-user] starting with Appfuse 2 from scratch 
> 
> Hi all, 
> 
> I'm starting from scratch with Appfuse 2.0. 
> 
> I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't 
> follow this step "use Callisto (Software Update) to get plugins for 
> developing web and database-driven applications." Could someone shed some 
> light please, to a newbie 
> 
> I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I get 
> an error. 
> 
> [INFO] 
>  
> [INFO] Building Maven Default Project 
> [INFO]task-segment: [eclipse:eclipse] 
> [INFO] 
>  
> [INFO] Preparing eclipse:eclipse 
> [INFO] No goals needed for project - skipping 
> [INFO] 
>  
> [ERROR] BUILD ERROR 
> [INFO] 
>  
> [INFO] Cannot execute mojo: eclipse. It requires a project with an existing 
> pom. 
> xml, but the build is not using one. 
> [INFO] 
>  
> [INFO] For more information, run Maven with the -e switch 
> [INFO] 
>  
> 
> Can someone please help me with these steps. 
> 
> Thank you 
> Vanessa 
> 
> - 
> To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net 
> For additional commands, e-mail: users-h...@appfuse.dev.java.net 
> 
> 
> 
> 


-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread Vanessa Pacheco
Matt,

Did you mean "mvn eclipse:eclipse -Ppostgres"?

I've added the following to pom.xml for the postgres profile
  
true
  


Vanessa
- Original Message -
From: "Matt Raible" 
To: "Vanessa Pacheco" 
Sent: Tuesday, November 2, 2010 3:38:01 PM (GMT-0500) America/New_York
Subject: Re: [appfuse-user] starting with Appfuse 2 from scratch

Try running it with -Ppostgres - also look in pom.xml for the settings for 
Postgres. 


On Tue, Nov 2, 2010 at 1:35 PM, Vanessa Pacheco < vpach...@bowmansystems.com > 
wrote: 


Hi all, 

I realized the mistake...I had to get into my prj folder to run the command. 
However, now I get a mySQL access error "Embedded error: Access denied for user 
'root'@'localhost' (using password: NO)" 

Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
postgres? 

Vanessa 



- Original Message - 
From: "Vanessa Pacheco" < vpach...@bowmansystems.com > 
To: users@appfuse.dev.java.net 
Cc: m...@raibledesigns.com 
Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York 
Subject: [appfuse-user] starting with Appfuse 2 from scratch 

Hi all, 

I'm starting from scratch with Appfuse 2.0. 

I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't follow 
this step "use Callisto (Software Update) to get plugins for developing web and 
database-driven applications." Could someone shed some light please, to a 
newbie 

I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I get 
an error. 

[INFO]  
[INFO] Building Maven Default Project 
[INFO]    task-segment: [eclipse:eclipse] 
[INFO]  
[INFO] Preparing eclipse:eclipse 
[INFO] No goals needed for project - skipping 
[INFO]  
[ERROR] BUILD ERROR 
[INFO]  
[INFO] Cannot execute mojo: eclipse. It requires a project with an existing 
pom. 
xml, but the build is not using one. 
[INFO]  
[INFO] For more information, run Maven with the -e switch 
[INFO]  

Can someone please help me with these steps. 

Thank you 
Vanessa 

- 
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net 
For additional commands, e-mail: users-h...@appfuse.dev.java.net 





-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



Re: [appfuse-user] starting with Appfuse 2 from scratch

2010-11-02 Thread Vanessa Pacheco
Hi all,

I realized the mistake...I had to get into my prj folder to run the command. 
However, now I get a mySQL access error "Embedded error: Access denied for user 
'root'@'localhost' (using password: NO)"

Anyways, I want to use Appfuse 2 with postgres. How do I configure it to use 
postgres?

Vanessa
- Original Message -
From: "Vanessa Pacheco" 
To: users@appfuse.dev.java.net
Cc: m...@raibledesigns.com
Sent: Tuesday, November 2, 2010 2:08:58 PM (GMT-0500) America/New_York
Subject: [appfuse-user] starting with Appfuse 2 from scratch

Hi all,

I'm starting from scratch with Appfuse 2.0.

I've got Eclipse Release 3.5.0. I don't know whats Callisto so I didn't follow 
this step "use Callisto (Software Update) to get plugins for developing web and 
database-driven applications." Could someone shed some light please, to a newbie

I also tried "C:\Source>mvn eclipse:eclipse" to generate prj files, but I get 
an error.

[INFO] 
[INFO] Building Maven Default Project
[INFO]task-segment: [eclipse:eclipse]
[INFO] 
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO] 
[ERROR] BUILD ERROR
[INFO] 
[INFO] Cannot execute mojo: eclipse. It requires a project with an existing pom.
xml, but the build is not using one.
[INFO] 
[INFO] For more information, run Maven with the -e switch
[INFO] 

Can someone please help me with these steps.

Thank you
Vanessa

-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net



-
To unsubscribe, e-mail: users-unsubscr...@appfuse.dev.java.net
For additional commands, e-mail: users-h...@appfuse.dev.java.net