installation issues

View: New views
7 Messages — Rating Filter:   Alert me  

installation issues

by nimret :: Rate this Message:

| View Threaded | Show Only this Message

hello,

I am trying to setup the application and I get the following stack trace  when I run it within the container:

HTTP ERROR: 500

/WEB-INF/fragments/prelude.jspf(4,70) PWC6188: The absolute uri: http://pebble.sourceforge.net/pebble cannot be resolved in either web.xml or the jar files deployed with this application
RequestURI=/new_nimret/

Caused by:

org.apache.jasper.JasperException: /WEB-INF/fragments/prelude.jspf(4,70) PWC6188: The absolute uri: http://pebble.sourceforge.net/pebble cannot be resolved in either web.xml or the jar files deployed with this application
at org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:73)
at org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:359)
at org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:153)
at org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:417)
at org.apache.jasper.compiler.TagLibraryInfoImpl.(TagLibraryInfoImpl.java:222)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:482)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:562)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1626)


It appears that the WEB-INF/url.tld contains references to 'http://pebble.sourceforge.net/tags/url.tld' which appears to contain an HTML page which shows a 404 error and not what the TLD expects.

ideas to get around this? Thanks!
--
Nimret Sandhu
http://www.nimret.org

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: installation issues

by Olaf Kock-3 :: Rate this Message:

| View Threaded | Show Only this Message


Did you build for yourself from trunk or did you choose one of the
downloadable versions? The taglibs usually should live in a directory
called "WEB-INF/tags", but as this has the same name as "tags" in svn,
this is an unfortunate name clash: svn can be preconfigured to interpret
"tags" by version control semantics and typically is just ignored -
might be this issue...?

Best
Olaf

On 11.11.2011 21:53, Nimret Sandhu wrote:

> hello,
>
> I am trying to setup the application and I get the following stack trace
>   when I run it within the container:
>
> HTTP ERROR: 500
>
> /WEB-INF/fragments/prelude.jspf(4,70) PWC6188: The absolute uri:
> http://pebble.sourceforge.net/pebble cannot be resolved in either
> web.xml or the jar files deployed with this application
> RequestURI=/new_nimret/
[...]


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: installation issues

by nimret :: Rate this Message:

| View Threaded | Show Only this Message

Hi Olaf,

Thanks for the prompt response!
I downloaded the zipfile from sourceforge and extracted pebble-2.6.2.war into a folder. 
$ unzip pebble-2.6.2.zip
$ unzip pebble-2.6.2.war /my/webapps/folder/

I do see tags in the WEB-INF/tags folder and I don't see any SVN folders that start with '.' in there.

I am trying to run the app under Jetty. I assumed I should be able to just extract the war in a folder within the deployment folder and it should just work. Right?

Thx!
Nimret

On Fri, Nov 11, 2011 at 1:12 PM, Olaf Kock <pebble@...> wrote:

Did you build for yourself from trunk or did you choose one of the
downloadable versions? The taglibs usually should live in a directory
called "WEB-INF/tags", but as this has the same name as "tags" in svn,
this is an unfortunate name clash: svn can be preconfigured to interpret
"tags" by version control semantics and typically is just ignored -
might be this issue...?

Best
Olaf

On 11.11.2011 21:53, Nimret Sandhu wrote:
> hello,
>
> I am trying to setup the application and I get the following stack trace
>   when I run it within the container:
>
> HTTP ERROR: 500
>
> /WEB-INF/fragments/prelude.jspf(4,70) PWC6188: The absolute uri:
> http://pebble.sourceforge.net/pebble cannot be resolved in either
> web.xml or the jar files deployed with this application
> RequestURI=/new_nimret/
[...]


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user



------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: installation issues

by James Roper-6 :: Rate this Message:

| View Threaded | Show Only this Message

What version of Jetty?  Later this weekend I should have some time to
attempt to run it in Jetty myself to see if I can reproduce the
problem.  I've done all my development in Tomcat and I think that's
what most pebble users use, so it's quite possible that at some point
I broke it in jetty.  If I find the issue I'll cut a new pebble
release for you.

On 11 November 2011 22:45, Nimret Sandhu <nimret@...> wrote:

> Hi Olaf,
> Thanks for the prompt response!
> I downloaded the zipfile from sourceforge and extracted pebble-2.6.2.war
> into a folder.
> $ wget
> http://iweb.dl.sourceforge.net/project/pebble/pebble/2.6.2/pebble-2.6.2.zip
> $ unzip pebble-2.6.2.zip
> $ unzip pebble-2.6.2.war /my/webapps/folder/
> I do see tags in the WEB-INF/tags folder and I don't see any SVN folders
> that start with '.' in there.
> I am trying to run the app under Jetty. I assumed I should be able to just
> extract the war in a folder within the deployment folder and it should just
> work. Right?
> Thx!
> Nimret
> On Fri, Nov 11, 2011 at 1:12 PM, Olaf Kock <pebble@...> wrote:
>>
>> Did you build for yourself from trunk or did you choose one of the
>> downloadable versions? The taglibs usually should live in a directory
>> called "WEB-INF/tags", but as this has the same name as "tags" in svn,
>> this is an unfortunate name clash: svn can be preconfigured to interpret
>> "tags" by version control semantics and typically is just ignored -
>> might be this issue...?
>>
>> Best
>> Olaf
>>
>> On 11.11.2011 21:53, Nimret Sandhu wrote:
>> > hello,
>> >
>> > I am trying to setup the application and I get the following stack trace
>> >   when I run it within the container:
>> >
>> > HTTP ERROR: 500
>> >
>> > /WEB-INF/fragments/prelude.jspf(4,70) PWC6188: The absolute uri:
>> > http://pebble.sourceforge.net/pebble cannot be resolved in either
>> > web.xml or the jar files deployed with this application
>> > RequestURI=/new_nimret/
>> [...]
>>
>>
>>
>> ------------------------------------------------------------------------------
>> RSA(R) Conference 2012
>> Save $700 by Nov 18
>> Register now
>> http://p.sf.net/sfu/rsa-sfdev2dev1
>> _______________________________________________
>> Pebble-user mailing list
>> Pebble-user@...
>> https://lists.sourceforge.net/lists/listinfo/pebble-user
>
>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Pebble-user mailing list
> Pebble-user@...
> https://lists.sourceforge.net/lists/listinfo/pebble-user
>
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: installation issues

by nimret :: Rate this Message:

| View Threaded | Show Only this Message

jetty 6.1.11.

I'll try to run it in the latest version of tomcat & try the latest version of jetty also.

thanks!
nimret

On Sat, Nov 12, 2011 at 12:09 AM, James Roper <james@...> wrote:
What version of Jetty?  Later this weekend I should have some time to
attempt to run it in Jetty myself to see if I can reproduce the
problem.  I've done all my development in Tomcat and I think that's
what most pebble users use, so it's quite possible that at some point
I broke it in jetty.  If I find the issue I'll cut a new pebble
release for you.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: installation issues

by James Roper-6 :: Rate this Message:

| View Threaded | Show Only this Message

Hi Nimret,

I've tested this with Jetty 7, and it works fine for me.  The URL that
it's looking for is just a namespace, the way taglibs work is that any
files ending in *.tld found in WEB-INF or the META-INF directory of
any jar are loaded by the servlet container, and the definitions they
contain are stored under that URLs namespace.  Then when the JSPs get
compiled, it uses that namespace to know which definiton the tag goes
with.  So it doesn't matter that the actual URL itself 404s (in fact,
this is quite normal).

Could you try with Jetty 7?  Is there any particular reason why you're
using Jetty 6?

Regards,

James

On 13 November 2011 06:34, Nimret Sandhu <nimret@...> wrote:

> jetty 6.1.11.
> I'll try to run it in the latest version of tomcat & try the latest version
> of jetty also.
> thanks!
> nimret
>
> On Sat, Nov 12, 2011 at 12:09 AM, James Roper <james@...> wrote:
>>
>> What version of Jetty?  Later this weekend I should have some time to
>> attempt to run it in Jetty myself to see if I can reproduce the
>> problem.  I've done all my development in Tomcat and I think that's
>> what most pebble users use, so it's quite possible that at some point
>> I broke it in jetty.  If I find the issue I'll cut a new pebble
>> release for you.
>>
>
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Pebble-user mailing list
> Pebble-user@...
> https://lists.sourceforge.net/lists/listinfo/pebble-user
>
>

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: installation issues

by nimret :: Rate this Message:

| View Threaded | Show Only this Message

Hi James,

Thanks for the explanation - that makes sense.

It appears that pebble doesn't work in jetty 6 or in jetty 8 ( which looks like it just came out). Probably due to changes in the servlet/jsp specs or something like that.

anyways, I ought to upgrade jetty anyways since version 6 is quite old now. So I am happy running it in 7 for now.

thanks for the validation & help. Now I can finally replace snipsnap for my main site with pebble, which looks really neat I might add!

cheers,
nimret

On Sun, Nov 13, 2011 at 6:37 AM, James Roper <james@...> wrote:
Hi Nimret,

I've tested this with Jetty 7, and it works fine for me.  The URL that
it's looking for is just a namespace, the way taglibs work is that any
files ending in *.tld found in WEB-INF or the META-INF directory of
any jar are loaded by the servlet container, and the definitions they
contain are stored under that URLs namespace.  Then when the JSPs get
compiled, it uses that namespace to know which definiton the tag goes
with.  So it doesn't matter that the actual URL itself 404s (in fact,
this is quite normal).

Could you try with Jetty 7?  Is there any particular reason why you're
using Jetty 6?

Regards,

James


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user