Hi, I run an svn update on my jetspeed-2 source tree and it work now!
Thanks "Jetspeed Users List" <[email protected]> schrieb am 12.09.05 22:13:21: > > Tatjana Fuhr wrote: > > I try again with maven -X j2:portal.genapp > > and i get really long Message, her is only the last part of it. > > > > ---snip--- > > Caused by: java.net.ConnectException: Connection timed out: connect > > at java.net.PlainSocketImpl.socketConnect(Native Method) > > at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333) > > at > > java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195) > > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182) > > at java.net.Socket.connect(Socket.java:507) > > at java.net.Socket.connect(Socket.java:457) > > at sun.net.NetworkClient.doConnect(NetworkClient.java:157) > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:365) > > at sun.net.www.http.HttpClient.openServer(HttpClient.java:477) > > at sun.net.www.http.HttpClient.<init>(HttpClient.java:214) > > at sun.net.www.http.HttpClient.New(HttpClient.java:287) > > at sun.net.www.http.HttpClient.New(HttpClient.java:299) > > at > > sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:784) > > at > > sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:736) > > at > > sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:661) > > at > > sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:905) > > at java.net.URL.openStream(URL.java:1007) > > at > > org.apache.torque.engine.database.transform.DTDResolver.getInputSource(DTDResolver.java:120) > > at > > org.apache.torque.engine.database.transform.DTDResolver.resolveEntity(DTDResolver.java:106) > > at > > org.apache.torque.engine.database.transform.XmlToAppData.resolveEntity(XmlToAppData.java:195) > > at > > org.apache.xerces.util.EntityResolverWrapper.resolveEntity(Unknown Source) > > at org.apache.xerces.impl.XMLEntityManager.resolveEntity(Unknown > > Source) > > at > > org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown > > Source) > > at > > org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown > > Source) > > at org.apache.xerces.parsers.XML11Configuration.parse(Unknown > > Source) > > at org.apache.xerces.parsers.DTDConfiguration.parse(Unknown Source) > > at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) > > at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) > > at javax.xml.parsers.SAXParser.parse(Unknown Source) > > at > > org.apache.torque.engine.database.transform.XmlToAppData.parseFile(XmlToAppData.java:163) > > ... 37 more > > > > ---snip--- > > > > I am behind the proxy, can this error caused by proxy? > > I configurate my proxy in build.property like this: > > > > maven.proxy.host=myproxy.myhost.de > > maven.proxy.port=8080 > What fails is that the xerces parser used by the torque-sql plugin tries to > resolve the torque database DTD > at http://db.apache.org/torque/dtd/database_3_2.dtd (at least, if your > jetspeed-2 source tree really is in sync). > Please check the references dtd's in the xml files under your > C:\\JETSPEED01/src/schema. > This *is* strange though, as since the new torque-3.2-rc2-dev version, it > should no longer need to do this. > Maybe the proxy setting is at play here, I don't know as I never had to use a > maven proxy configuration. > But, I (just again) tried running j2:portal.conf.sql while being completely > offline (no network), and it > just works... > Anyways, I suggest you first update to the latest source tree and make sure > to run maven initMavenPlugin. > Then, maybe you should try maven -o j2:portal.conf.sql and see how that goes. > > Regards, Ate > > > > > Tatjana > > > > "Jetspeed Users List" <[email protected]> schrieb am > > 12.09.05 14:09:14: > > > >>Tatjana Fuhr said: > >> > >>>I have been trying to follow the instructions at: > >>> > >>>http://portals.apache.org/jetspeed-2/getting-started.html#4__Creating_a_new_Portal_Application > >>> > >>>but on the step \"Generate a new portal project\" with > >>> > >>>maven j2:portal.genapp > >>> > >>>i get the errormassage: > >>> > >>>---snip---- > >>> > >>>j2:_generate.sql: > >>> [echo] Using Torque schema located under: C:\\JETSPEED01/src/schema > >>>torque:init: > >>> > >>> [echo] Generating SQL schema creation scripts for hypersonic > >>> [mkdir] Created dir: > >> > >>C:\\home\\myportal\\target\\portal-sql\\hsql\\schema > >> > >>> [torque-sql] Using classpath > >>> [torque-sql] Generating to file > >>>C:\\home\\myportal\\target\\portal-sql\\hsql\\schema\\report.portal.sql.generation > >>> > >>>BUILD FAILED > >>>File...... C:\\Documents and > >>>Settings\\fuhrtat\\.maven\\cache\\maven-jetspeed2-plugin-2.0-M4-SNAPSHOT\\plugin.jelly > >>>Element... torque-sql > >>>Line...... 658 > >>>Column.... 37 > >>>org.apache.torque.engine.EngineException: java.net.ConnectException: > >>>Connection timed out: connect > >>>Total time: 42 seconds > >>>---snip--- > >> > >>Strange error. > >> > >>Note: you don\'t have the latest version of of the plugin installed as the > >>torque-sql element is on line 712 of the most recent plugin.jelly. > >>You might want to run an svn update on your local jetspeed-2 source tree > >>(and don\'t forget to run maven initMavenPlugin after that). > >>But even then, I don\'t see why torque-sql should throw a ConnectException. > >>Please try again with maven -X j2:portal.genapp and check the stack trace > >>it will report. > >> > >> > >> > >>>Please help me > >>>Tatiana > >>>______________________________________________________________ > >>>Verschicken Sie romantische, coole und witzige Bilder per SMS! > >>>Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 > >>> > >>> > >>>--------------------------------------------------------------------- > >>>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] > >> > > > > > > > > ______________________________________________________________________ > > XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club! > > > > Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130 > > > > > > --------------------------------------------------------------------- > > 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] > ______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
