Enrique Perez <[EMAIL PROTECTED]> wrote: Hi,
Try defining the path to your server home (i.e., Tomcat) in an absolute way in your "build.properties" file: org.apache.jetspeed.server.home = C:/tomcat Regards. hiren escribió: > hey thanks, now tht is working. > > But again stuck: > > maven j2:quickStart > > Getting follwing error: > > > BUILD FAILED > File...... C:\Documents and > Settings\isis\.maven\cache\maven-jetspeed2-plugin-2. > 0\plugin.jelly > Element... copy > Line...... 497 > Column.... 29 > Failed to copy C:\home\myportal\target\portal-conf\tomcat\context.xml to > \\conf\ > Catalina\localhost\myportal.xml due to > \\conf\Catalina\localhost\myportal.xml (T > he network path was not found) > Total time: 34 seconds > Finished at: Thu Nov 30 12:10:46 EST 2006 > > > > Due you know where I have to change this path: > > \\conf\Catalina\localhost\myportal.xml (T > > > > It getting double slash thats why it not able to find path. > > > Enrique Perez-4 wrote: > >> Hi, >> >> make sure there is "Driver.class" in the following directory >> "com/mysql/jdbc" inside the jar... Is there any >> "org/gjt/mm/mysql/Driver.class"? Could you use it instead >> (org.gjt.mm.mysql.Driver)? >> >> though "mysql-connector-java-3[1].0.17-ga-bin.jar" sounds strange... >> It should be "mysql-connector-java-3.0.17-ga-bin.jar", shouldn't it? >> >> Regards. >> >> >> hiren escribió: >> >>> hey I changed the path , >>> >>> but still it is giving me same error. >>> >>> >>> ---------------------------------------------------------------------------------------------------------------------------------------------- >>> org.apache.jetspeed.test.database.default.name=mysql >>> org.apache.jetspeed.test.database.url = >>> jdbc:mysql://localhost:3306/j2test >>> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver >>> org.apache.jetspeed.test.database.user = root >>> org.apache.jetspeed.test.database.password = 1234 >>> org.apache.jetspeed.test.jdbc.drivers.path = >>> C:/Studies/ASP/JetSpeed/software/mysql-connector-java-3[1].0.17-ga-bin.jar >>> >>> org.apache.jetspeed.production.database.default.name=mysql >>> org.apache.jetspeed.production.database.url = >>> jdbc:mysql://localhost:3306/j2 >>> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver >>> org.apache.jetspeed.production.database.user = root >>> org.apache.jetspeed.production.database.password = 1234 >>> org.apache.jetspeed.test.jdbc.drivers.path = >>> C:/Studies/ASP/JetSpeed/software/mysql-connector-java-3[1].0.17-ga-bin.jar >>> >>> >>> ---------------------------------------------------------------------------------------------------------------------------------------------- >>> >>> >>> Mikko Wuokko wrote: >>> >>> >>>> Hi. >>>> >>>> It could be (and most probably is) the mysql .jar file location. Good >>>> rule is to NEVER use spaces in the development paths. So copy the jar >>>> file for example to c:\mysql folder and try aagin. If you have the >>>> Jetspeed project, Java or anything else related installed under "Program >>>> Files" or "Documents and Settings", I recommend to use other locations. >>>> Like Java goes to c:\java, Jetspeed to c:\jetspeed-2 and tomcat to >>>> c:\tomcat. >>>> >>>> And only one email is enough ;) >>>> >>>> -Mikko >>>> >>>> hiren wrote: >>>> >>>> >>>>> hey thanks for ur help. >>>>> >>>>> but now I am stuck at : >>>>> >>>>> maven j2:quickStart >>>>> >>>>> >>>>> I am using mysql database: >>>>> >>>>> in my build.properties I have >>>>> >>>>> -------------------------------------------------------------------------------------------------------------------------------------------- >>>>> org.apache.jetspeed.test.database.default.name=mysql >>>>> org.apache.jetspeed.test.database.url = >>>>> jdbc:mysql://localhost:3306/j2test >>>>> org.apache.jetspeed.test.database.driver = com.mysql.jdbc.Driver >>>>> org.apache.jetspeed.test.database.user = root >>>>> org.apache.jetspeed.test.database.password = 1234 >>>>> org.apache.jetspeed.test.jdbc.drivers.path = C:/Documents and >>>>> Settings/isis/Desktop/mysql-connector-java-3[1].0.17-ga-bin.jar >>>>> >>>>> org.apache.jetspeed.production.database.default.name=mysql >>>>> org.apache.jetspeed.production.database.url = >>>>> jdbc:mysql://localhost:3306/j2 >>>>> org.apache.jetspeed.production.database.driver = com.mysql.jdbc.Driver >>>>> org.apache.jetspeed.production.database.user = root >>>>> org.apache.jetspeed.production.database.password = 1234 >>>>> org.apache.jetspeed.test.jdbc.drivers.path = C:/Documents and >>>>> Settings/isis/Desktop/mysql-connector-java-3[1].0.17-ga-bin.jar >>>>> >>>>> -------------------------------------------------------------------------------------------------------------------------------------------- >>>>> >>>>> I am getting following error. >>>>> >>>>> >>>>> BUILD FAILED >>>>> File...... C:\Documents and >>>>> Settings\isis\.maven\cache\maven-jetspeed2-plugin-2. >>>>> 0\plugin.jelly >>>>> Element... sql >>>>> Line...... 839 >>>>> Column.... 44 >>>>> Class Not Found: JDBC driver com.mysql.jdbc.Driver could not be loaded >>>>> Total time: 8 seconds >>>>> Finished at: Thu Nov 30 11:09:42 EST 2006 >>>>> >>>>> >>>>> >>>>> >>>>> I don't know hwy it is not recognizing JDBC driver. >>>>> >>>>> >>>>> >>>>> hiren wrote: >>>>> >>>>> >>>>>> I am gettin building error : >>>>>> >>>>>> maven j2:portal.genapp >>>>>> >>>>>> >>>>>> Attempting to download portals-bridges-common-.jar. >>>>>> Error retrieving artifact from >>>>>> [http://cvs.apache.org/repository/org.apache.port >>>>>> als.bridges/jars/portals-bridges-common-.jar]: java.io.IOException: >>>>>> Unknown erro >>>>>> r downloading; status code was: 302 >>>>>> WARNING: Failed to download portals-bridges-common-.jar. >>>>>> Attempting to download portals-bridges-velocity-.jar. >>>>>> Error retrieving artifact from >>>>>> [http://cvs.apache.org/repository/org.apache.port >>>>>> als.bridges/jars/portals-bridges-velocity-.jar]: java.io.IOException: >>>>>> Unknown er >>>>>> ror downloading; status code was: 302 >>>>>> WARNING: Failed to download portals-bridges-velocity-.jar. >>>>>> Attempting to download derby-.jar. >>>>>> Error retrieving artifact from >>>>>> [http://cvs.apache.org/repository/org.apache.derb >>>>>> y/jars/derby-.jar]: java.io.IOException: Unknown error downloading; >>>>>> status >>>>>> code >>>>>> was: 302 >>>>>> WARNING: Failed to download derby-.jar. >>>>>> The build cannot continue because of the following unsatisfied >>>>>> dependencies: >>>>>> >>>>>> portals-bridges-common-.jar >>>>>> portals-bridges-velocity-.jar >>>>>> derby-.jar >>>>>> >>>>>> Total time: 8 seconds >>>>>> Finished at: Thu Nov 30 10:06:47 EST 2006 >>>>>> >>>>>> >>>>>> >>>>>> Is there anyother resource other than : >>>>>> http://cvs.apache.org/repository >>>>>> >>>>>> >>>>>> >>>>>> >>>> --------------------------------------------------------------------- >>>> 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] --------------------------------- Find out what India is talking about on - Yahoo! Answers India Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW
