Re: Build problems: Jetspeed and Maven

2005-03-11 Thread Bernhard Bauer
ok - the sentence should be: maybe my instructions/hints can solve your 
PROBLEMS... ;-)

- Original Message - 
From: "Bernhard Bauer" <[EMAIL PROTECTED]>
To: "Jetspeed Users List" 
Sent: Friday, March 11, 2005 11:06 AM
Subject: Re: Build problems: Jetspeed and Maven


hi!
you should check your build.properties file... have you followed the 
instructions given on the portal homepage?

maybe my instructions/hints can solve your probably (hope you've 
downloaded and installed java, tomcat and maven...)

in the src-folder you've downloaded, there is a file called 
build.properties.sample - rename this file to build.properties and edit 
it. take care of the slashes in the path - they have to be / instead of 
the normal windows - eg. c:/programs instead of c:\programs!!

next you have to put the build.properties file in your user-home 
directory - if you use windows - its "driveletter":\documents and 
settings\"User" - hope you understand what i mean - if not, just ask

if you've done already so, maybe it helps if you show me a listing of your 
build.properties file... in my opinion - it's not easy getting started 
with jetspeed-2 - so keep on trying :-)

greets,
bernhard

- Original Message - 
From: "Christian Tanzmann" <[EMAIL PROTECTED]>
To: 
Sent: Friday, March 11, 2005 10:38 AM
Subject: Build problems: Jetspeed and Maven

Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
"getting started" manual but I have a problem.
First step I have done
 cd ${jetspeed-2-home}
 maven start.test.server
Console output:
 build:start
 start.test.server:
 ...
 [java] server.properties not found, using command line or default
properties
 [java] opening database: ./src/database/hsql/Test
 [java] HSQLDB server 1.7.1 is running
 [java] Use SHUTDOWN to close normally ...
 [java] ... Listening for connections...
Second Step I have done in another console:
 cd ${jetspeed-2-home}
 maven allClean allBuild
Console output:
 Starting the reactor...
 BUILD FAILED
 File. C:\...\maven.xml
 Line 104
 Column 7
 Error reading XML or initializing
But the maven.xml file at this line looks so:

includes="*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml"
  excludes="applications/project.taglibs/project.xml"
  goals="clean"
  banner="Cleaning"
  ignoreFailures="true"
   /> //!!!line 104
   
includes="layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml"
  goals="clean"
  banner="Cleaning"
  ignoreFailures="true"
   />
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.
Please help me.
Christian Tanzmann

-
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]


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Build problems: Jetspeed and Maven

2005-03-11 Thread Bernhard Bauer
hi!
you should check your build.properties file... have you followed the 
instructions given on the portal homepage?

maybe my instructions/hints can solve your probably (hope you've downloaded 
and installed java, tomcat and maven...)

in the src-folder you've downloaded, there is a file called 
build.properties.sample - rename this file to build.properties and edit it. 
take care of the slashes in the path - they have to be / instead of the 
normal windows - eg. c:/programs instead of c:\programs!!

next you have to put the build.properties file in your user-home directory - 
if you use windows - its "driveletter":\documents and settings\"User" - hope 
you understand what i mean - if not, just ask

if you've done already so, maybe it helps if you show me a listing of your 
build.properties file... in my opinion - it's not easy getting started with 
jetspeed-2 - so keep on trying :-)

greets,
bernhard

- Original Message - 
From: "Christian Tanzmann" <[EMAIL PROTECTED]>
To: 
Sent: Friday, March 11, 2005 10:38 AM
Subject: Build problems: Jetspeed and Maven

Hi,
I try to build jetspeed 2 with maven and I follow the instruction from
"getting started" manual but I have a problem.
First step I have done
 cd ${jetspeed-2-home}
 maven start.test.server
Console output:
 build:start
 start.test.server:
 ...
 [java] server.properties not found, using command line or default
properties
 [java] opening database: ./src/database/hsql/Test
 [java] HSQLDB server 1.7.1 is running
 [java] Use SHUTDOWN to close normally ...
 [java] ... Listening for connections...
Second Step I have done in another console:
 cd ${jetspeed-2-home}
 maven allClean allBuild
Console output:
 Starting the reactor...
 BUILD FAILED
 File. C:\...\maven.xml
 Line 104
 Column 7
 Error reading XML or initializing
But the maven.xml file at this line looks so:

includes="*/project.xml,applications/*/project.xml,services/*/project.xm
l,components/*/project.xml,portals-bridges/*/project.xml"
  excludes="applications/project.taglibs/project.xml"
  goals="clean"
  banner="Cleaning"
  ignoreFailures="true"
   /> //!!!line 104
   
includes="layout-portlets/project.xml,maven-plugin/project.xml,taglibs/p
roject.xml"
  goals="clean"
  banner="Cleaning"
  ignoreFailures="true"
   />
Ok. I´m a Newbie but I think this lines are ok. So can you tell me whats
wrong. In the first terminal session was no server.properties found but
I dont know this file. Because the file is failed the TestServer starts.
Please help me.
Christian Tanzmann

-
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]


Re: getting started

2005-02-23 Thread Bernhard Bauer
hi amit!
i now use the build.properties file which comes with the .zip file! now it 
works... :-)
it was the missing DB configuration section...

thank you very much,
Bernhard
- Original Message - 
From: "Shah Amit" <[EMAIL PROTECTED]>
To: 
Sent: Wednesday, February 23, 2005 3:06 PM
Subject: Re: getting started


Hi Bernhard,
The build file that you showed earlier on this thread, is that the 
complete build file that you have? I just happened to notice that it is 
missing the entire DB configuration section. I would suggest take the same 
build file that comes with the distribution and just copy it to your home 
directory and rename it, and change the paths. This has always worked for 
me.

Let me know if you need any help ;)
Cheers,
Amit
Original Message Follows
From: "Bernhard" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: "Jetspeed Users List" 
Subject: Re: getting started
Date: Wed, 23 Feb 2005 10:53:02 +0100

no, i didn't so... the filename is build.properties...
what i don't understand is that also if i remove the build.properties from 
my user home directory, the maven build process is successful... (anyway - 
same error in the browser)...

did you use the build.properties file delivered in the .zip file? i 
created my own, like it is told in the getting started manual... maybe i 
give it a try and use the delivered file (changing the name from 
build.properties.sampe to build.properties ;-)

amit - thank you for attention to my problems,
i'll let you know if i'm successful!
bernhard
- Original Message - From: "Shah Amit" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, February 22, 2005 9:48 PM
Subject: Re: getting started

Did you rename your build.properties.sample file to build.properties ??? I 
was rebuilding jetspeed on a machine and just tumbled upon the same 
problem so  I dont know if you already got pass this, so just thought 
should let you know.

Amit
Original Message Follows
From: "Bernhard Bauer" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: "Jetspeed Users List" 
Subject: Re: getting started
Date: Tue, 22 Feb 2005 08:49:33 +0100
my build.properties file looks like this:
# jetspeed 2 home required for build
org.apache.jetspeed.project.home = e:/jetspeed-2.0
# jetspeed required properties
org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0
org.apache.jetspeed.catalina.version.major = 5
org.apache.jetspeed.server.shared =
${org.apache.jetspeed.server.home}/shared/lib
org.apache.jetspeed.deploy.war.dir =
${org.apache.jetspeed.server.home}/webapps
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
btw - the error i get in the browser is: HTTP Status 503 - Servlet 
jetspeed is currently unavailable

- Original Message - From: "Shah Amit" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, February 22, 2005 1:56 AM
Subject: RE: getting started

Can you show your build.properties file ... I think you might not have 
set the proper paths on the build.properties file.

Also note that the slashes are all forward slash even though it is 
windows. It has biten lot of people including me ;)

C:/Documentsx/and not C:\Documentsx\
Goodluck,
Amit
Original Message Follows
From: "Bernhard" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: "j2 mailing list" 
Subject: getting started
Date: Tue, 22 Feb 2005 00:07:46 +0100
hi all!
has somebody a detailed installation instruction for jetspeed 2?
i use  windows xp
 -tomcat 5.0.28
 -maven 1.0.2
 -java 1.4.2_03
i tried to follow the getting started instruction on the apache homepage 
but
it doesn't work...
after following all steps, and trying to start jetspeed (in a browser), i 
get a message: http error ?404? - servlet not available!
does someone know what to do?

i installed the components the following way:
firstly - java,
then - tomcat,
at last - maven
then i created the build.properties file and placed it under C:\Document 
and Settings\User

first question:
when i enter the "maven start.test.server" command - i get a message: 
'server.properties not found, using command line or default properties'
but the hsqldb server is running...
is this normal behavior?

- maven allClean allBuild seems to work fine;
when i stop the test.server and enter "maven.start.production.server" 
into the
command prompt, i get the same 'server.properties not found,...' 
message...
but also production.server is running;

maven quickstart maybe doesn't what it should, it creates the jetspeed 
folder directly under the root directory - is there something wrong with 
my build properties?

ok, i copy the jetspeed folder (also tried it with the .war file) under 
the webapps direc

Re: getting started

2005-02-21 Thread Bernhard Bauer
my build.properties file looks like this:
# jetspeed 2 home required for build
org.apache.jetspeed.project.home = e:/jetspeed-2.0
# jetspeed required properties
org.apache.jetspeed.server.home = e:/Jakarta/Tomcat 5.0
org.apache.jetspeed.catalina.version.major = 5
org.apache.jetspeed.server.shared =
${org.apache.jetspeed.server.home}/shared/lib
org.apache.jetspeed.deploy.war.dir =
${org.apache.jetspeed.server.home}/webapps
org.apache.jetspeed.services.autodeployment.user = j2deployer
org.apache.jetspeed.services.autodeployment.password = j2deployer
btw - the error i get in the browser is: HTTP Status 503 - Servlet jetspeed 
is currently unavailable

- Original Message - 
From: "Shah Amit" <[EMAIL PROTECTED]>
To: 
Sent: Tuesday, February 22, 2005 1:56 AM
Subject: RE: getting started


Can you show your build.properties file ... I think you might not have set 
the proper paths on the build.properties file.

Also note that the slashes are all forward slash even though it is 
windows. It has biten lot of people including me ;)

C:/Documentsx/and not C:\Documentsx\
Goodluck,
Amit
Original Message Follows
From: "Bernhard" <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: "j2 mailing list" 
Subject: getting started
Date: Tue, 22 Feb 2005 00:07:46 +0100
hi all!
has somebody a detailed installation instruction for jetspeed 2?
i use  windows xp
 -tomcat 5.0.28
 -maven 1.0.2
 -java 1.4.2_03
i tried to follow the getting started instruction on the apache homepage 
but
it doesn't work...
after following all steps, and trying to start jetspeed (in a browser), i 
get a message: http error ?404? - servlet not available!
does someone know what to do?

i installed the components the following way:
firstly - java,
then - tomcat,
at last - maven
then i created the build.properties file and placed it under C:\Document 
and Settings\User

first question:
when i enter the "maven start.test.server" command - i get a message: 
'server.properties not found, using command line or default properties'
but the hsqldb server is running...
is this normal behavior?

- maven allClean allBuild seems to work fine;
when i stop the test.server and enter "maven.start.production.server" into 
the
command prompt, i get the same 'server.properties not found,...' 
message...
but also production.server is running;

maven quickstart maybe doesn't what it should, it creates the jetspeed 
folder directly under the root directory - is there something wrong with 
my build properties?

ok, i copy the jetspeed folder (also tried it with the .war file) under 
the webapps directory; start up tomcat and enter the adress 
http://localhost:8080/jetspeed into my browser... - but the portal doesn't 
start - i only get the above described HTTP ERROR - servlet not 
available...

thank you all for your help,
greetings, bernd

-
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]