Re: Blank Page with Jetty Plugin

2009-09-09 Thread Mick Knutson
Create  2 different entries in separate 's then switch each for the
different IDE's

---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Wed, Sep 9, 2009 at 3:10 PM, Neil Chaudhuri  wrote:

> It turns out that the issue is the presence of the following:
>
> foo
> 8080
>
> When those are removed, everything works. However, when I remove them,
> Netbeans gets mad, although my beloved IntelliJ is just fine.
>
> Any insight into why these stop elements cause trouble and/or why the 2
> IDEs react differently to them is much appreciated.
>
> Thanks.
>
>
>
>
> -Original Message-
> From: mknut...@baselogic.com on behalf of Mick Knutson
> Sent: Wed 9/9/2009 9:50 AM
> To: Maven Users List
> Subject: Re: Blank Page with Jetty Plugin
>
> Not sure about starting Jetty automatically, as I use Tomcat and Cargo for
> that, but to just start Jetty and test manually, I created an index.html
> file with some text to ensure the page was loaded, then I use this
> declaration:
>
>
>org.mortbay.jetty
>jetty-maven-plugin
>7.0.0.pre5
>
>/${finalName}
>10
>
>
>src/main/webapp/WEB-INF
>
>**/*.jsp
>**/*.xhtml
>
>
>**/*.properties
>**/*.xml
>
>
>
>
>
>
>
>commons-logging
>commons-logging
>1.1.1
>jar
>provided
>
>
>
>log4j
>log4j
>${log4j.version}
>jar
>provided
>
>
>
>
>
> ---
> Thank You.
>
> Mick Knutson, President
>
> BASE Logic, Inc.
> Enterprise Architecture, Design, Mentoring & Agile Consulting
> p. (866) BLiNC-411: (254-6241-1)
> f. (415) 685-4233
>
> Website: http://baselogic.com
> Linked IN: http://linkedin.com/in/mickknutson
> Vacation Rental: http://tahoe.baselogic.com
> ---
>
>
>
> On Wed, Sep 9, 2009 at 10:43 AM, Neil Chaudhuri <
> nchaudh...@potomacfusion.com> wrote:
>
> > I am trying to get the Jetty plugin to work with Hibernate's c3p0
> > connection pool. The server seems to start just fine with run-war, but
> when
> > I navigate to any URL at localhost:8080, I see nothing but a blank page.
> And
> > I mean ANY. If it is just literally localhost:8080, I see a blank page.
> If I
> > navigate to a "good" URL, I see a blank page. If I navigate to a "bad"
> URL,
> > I a blank page rather than a 404 or a 500 error.
> >
> > Here is my configuration:
> >
> > 
> >org.mortbay.jetty
> >maven-jetty-plugin
> >6.1.11
> >
> >target/services.war
> >
> >/services
> >
> >
> >  src/test/resources/jetty/jetty.xml
> > > implementation="org.mortbay.jetty.NCSARequestLog">
> >target/_mm_dd.request.log
> >90
> >true
> >false
> >GMT
> >
> >
> > > implementation="org.mortbay.jetty.nio.SelectChannelConnector">
> >8080
> >6
> >
> >
> >
> >
> >
> >start-jetty
> >pre-integration-test
> >
> >run
> >
> >  

RE: Blank Page with Jetty Plugin

2009-09-09 Thread Neil Chaudhuri
It turns out that the issue is the presence of the following:

foo
8080

When those are removed, everything works. However, when I remove them, Netbeans 
gets mad, although my beloved IntelliJ is just fine.

Any insight into why these stop elements cause trouble and/or why the 2 IDEs 
react differently to them is much appreciated.

Thanks.




-Original Message-
From: mknut...@baselogic.com on behalf of Mick Knutson
Sent: Wed 9/9/2009 9:50 AM
To: Maven Users List
Subject: Re: Blank Page with Jetty Plugin
 
Not sure about starting Jetty automatically, as I use Tomcat and Cargo for
that, but to just start Jetty and test manually, I created an index.html
file with some text to ensure the page was loaded, then I use this
declaration:


org.mortbay.jetty
jetty-maven-plugin
7.0.0.pre5

/${finalName}
10


src/main/webapp/WEB-INF

**/*.jsp
**/*.xhtml


**/*.properties
**/*.xml







commons-logging
commons-logging
1.1.1
jar
provided



log4j
log4j
${log4j.version}
jar
provided





---
Thank You.

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Wed, Sep 9, 2009 at 10:43 AM, Neil Chaudhuri <
nchaudh...@potomacfusion.com> wrote:

> I am trying to get the Jetty plugin to work with Hibernate's c3p0
> connection pool. The server seems to start just fine with run-war, but when
> I navigate to any URL at localhost:8080, I see nothing but a blank page. And
> I mean ANY. If it is just literally localhost:8080, I see a blank page. If I
> navigate to a "good" URL, I see a blank page. If I navigate to a "bad" URL,
> I a blank page rather than a 404 or a 500 error.
>
> Here is my configuration:
>
> 
>org.mortbay.jetty
>maven-jetty-plugin
>6.1.11
>
>target/services.war
>
>/services
>
>
>  src/test/resources/jetty/jetty.xml
> implementation="org.mortbay.jetty.NCSARequestLog">
>target/_mm_dd.request.log
>90
>true
>false
>GMT
>
>
> implementation="org.mortbay.jetty.nio.SelectChannelConnector">
>8080
>6
>
>
>
>
>
>start-jetty
>pre-integration-test
>
>run
>
>
>0
>true
>
>
>
>stop-jetty
>post-integration-test
>
>stop
>
>
>
>
>
>c3p0
>c3p0
>0.9.1.2
>
>
>com.oracle.jdbc
>ojdbc6
>${oracle.driver.version}
>
>
>
>
> Incidentally, the jetty.xml file in the jettyConfig element contains
> nothing but c3p0 stuff being bound to a JNDI datasource. Also, the request
> log file is created but blank as well.
>
> As you can imagine, fail

Re: Blank Page with Jetty Plugin

2009-09-09 Thread Mick Knutson
Not sure about starting Jetty automatically, as I use Tomcat and Cargo for
that, but to just start Jetty and test manually, I created an index.html
file with some text to ensure the page was loaded, then I use this
declaration:


org.mortbay.jetty
jetty-maven-plugin
7.0.0.pre5

/${finalName}
10


src/main/webapp/WEB-INF

**/*.jsp
**/*.xhtml


**/*.properties
**/*.xml







commons-logging
commons-logging
1.1.1
jar
provided



log4j
log4j
${log4j.version}
jar
provided





---
Thank You…

Mick Knutson, President

BASE Logic, Inc.
Enterprise Architecture, Design, Mentoring & Agile Consulting
p. (866) BLiNC-411: (254-6241-1)
f. (415) 685-4233

Website: http://baselogic.com
Linked IN: http://linkedin.com/in/mickknutson
Vacation Rental: http://tahoe.baselogic.com
---



On Wed, Sep 9, 2009 at 10:43 AM, Neil Chaudhuri <
nchaudh...@potomacfusion.com> wrote:

> I am trying to get the Jetty plugin to work with Hibernate's c3p0
> connection pool. The server seems to start just fine with run-war, but when
> I navigate to any URL at localhost:8080, I see nothing but a blank page. And
> I mean ANY. If it is just literally localhost:8080, I see a blank page. If I
> navigate to a "good" URL, I see a blank page. If I navigate to a "bad" URL,
> I a blank page rather than a 404 or a 500 error.
>
> Here is my configuration:
>
> 
>org.mortbay.jetty
>maven-jetty-plugin
>6.1.11
>
>target/services.war
>
>/services
>
>
>  src/test/resources/jetty/jetty.xml
> implementation="org.mortbay.jetty.NCSARequestLog">
>target/_mm_dd.request.log
>90
>true
>false
>GMT
>
>
> implementation="org.mortbay.jetty.nio.SelectChannelConnector">
>8080
>6
>
>
>
>
>
>start-jetty
>pre-integration-test
>
>run
>
>
>0
>true
>
>
>
>stop-jetty
>post-integration-test
>
>stop
>
>
>
>
>
>c3p0
>c3p0
>0.9.1.2
>
>
>com.oracle.jdbc
>ojdbc6
>${oracle.driver.version}
>
>
>
>
> Incidentally, the jetty.xml file in the jettyConfig element contains
> nothing but c3p0 stuff being bound to a JNDI datasource. Also, the request
> log file is created but blank as well.
>
> As you can imagine, failure with no feedback is frustrating. Any insight is
> appreciated.
>
> Thanks.
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>


Blank Page with Jetty Plugin

2009-09-09 Thread Neil Chaudhuri
I am trying to get the Jetty plugin to work with Hibernate's c3p0 connection 
pool. The server seems to start just fine with run-war, but when I navigate to 
any URL at localhost:8080, I see nothing but a blank page. And I mean ANY. If 
it is just literally localhost:8080, I see a blank page. If I navigate to a 
"good" URL, I see a blank page. If I navigate to a "bad" URL, I a blank page 
rather than a 404 or a 500 error.

Here is my configuration:

 
org.mortbay.jetty
maven-jetty-plugin
6.1.11

target/services.war

/services


src/test/resources/jetty/jetty.xml

target/_mm_dd.request.log
90
true
false
GMT



8080
6





start-jetty
pre-integration-test

run


0
true



stop-jetty
post-integration-test

stop





c3p0
c3p0
0.9.1.2


com.oracle.jdbc
ojdbc6
${oracle.driver.version}




Incidentally, the jetty.xml file in the jettyConfig element contains nothing 
but c3p0 stuff being bound to a JNDI datasource. Also, the request log file is 
created but blank as well. 

As you can imagine, failure with no feedback is frustrating. Any insight is 
appreciated.

Thanks.


-
To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org