Pebble on OC4J

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

Pebble on OC4J

by Paul Harrup :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Pebble Users,

I am trying to get Pebble to run on oc4j 10.1.3.4.0 but am running into
problems, the first was getting pebble to even run which I eventually
found out was due to a scope problem in the pebble.tld I solved this
following the info at
https://sourceforge.net/tracker/index.php?func=detail&aid=1594379&group_id=121225&atid=689673.

Now pebble load and seems to be working, however, none of the images or
css are loading. I think this may be due to a problem with the way
HttpServletRequest are handled by oc4j but am stumped as to how to fix
this problem.

Would be much appreciated if anyone could offer some advice as to how to
get pebble running on oc4j.

Paul


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: Pebble on OC4J

by Chris Carrier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There is a Pebble application context file located in the WAR.  One of the configs in there is something like <url> (sorry don't have my server up currently so don't have specific names).  Make sure that is configured to the URL that you are accessing your site from.  That field is used to populate relative URL's like stylesheets and images.  I've seen what you're describing many times.

Chris

On Wed, Jul 29, 2009 at 4:58 AM, Paul Harrup <paul.harrup@...> wrote:
Hi Pebble Users,

I am trying to get Pebble to run on oc4j 10.1.3.4.0 but am running into
problems, the first was getting pebble to even run which I eventually
found out was due to a scope problem in the pebble.tld I solved this
following the info at
https://sourceforge.net/tracker/index.php?func=detail&aid=1594379&group_id=121225&atid=689673.

Now pebble load and seems to be working, however, none of the images or
css are loading. I think this may be due to a problem with the way
HttpServletRequest are handled by oc4j but am stumped as to how to fix
this problem.

Would be much appreciated if anyone could offer some advice as to how to
get pebble running on oc4j.

Paul


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Parent Message unknown Re: Pebble on OC4J

by geezenslaw :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello, Chris means the: WEB-INF/pebble.properties file. This should do the trick. Regards.


Chris Carrier <ctcarrier@...> wrote ..

> There is a Pebble application context file located in the WAR.  One of the
> configs in there is something like <url> (sorry don't have my server up
> currently so don't have specific names).  Make sure that is configured to
> the URL that you are accessing your site from.  That field is used to
> populate relative URL's like stylesheets and images.  I've seen what you're
> describing many times.
>
> Chris
>
> On Wed, Jul 29, 2009 at 4:58 AM, Paul Harrup <paul.harrup@...> wrote:
>
> > Hi Pebble Users,
> >
> > I am trying to get Pebble to run on oc4j 10.1.3.4.0 but am running into
> > problems, the first was getting pebble to even run which I eventually
> > found out was due to a scope problem in the pebble.tld I solved this
> > following the info at
> >
> > https://sourceforge.net/tracker/index.php?func=detail&aid=1594379&group_id=121225&atid=689673
> > .
> >
> > Now pebble load and seems to be working, however, none of the images or
> > css are loading. I think this may be due to a problem with the way
> > HttpServletRequest are handled by oc4j but am stumped as to how to fix
> > this problem.
> >
> > Would be much appreciated if anyone could offer some advice as to how to
> > get pebble running on oc4j.
> >
> > Paul
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> > trial. Simplify your report design, integration and deployment - and focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Pebble-user mailing list
> > Pebble-user@...
> > https://lists.sourceforge.net/lists/listinfo/pebble-user
> >

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: Pebble on OC4J

by Chris Carrier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Actually I was talking about the 'applicationContext-pebble.xml' file in the WEB-INF folder.  In mine i have a line that looks like:

<property name="url" value="http://www.yourUrl.com/pebble"/>

But you could create the same property in a properties file.

Chris

On Wed, Jul 29, 2009 at 4:37 PM, <david@...> wrote:
Hello, Chris means the: WEB-INF/pebble.properties file. This should do the trick. Regards.


Chris Carrier <ctcarrier@...> wrote ..
> There is a Pebble application context file located in the WAR.  One of the
> configs in there is something like <url> (sorry don't have my server up
> currently so don't have specific names).  Make sure that is configured to
> the URL that you are accessing your site from.  That field is used to
> populate relative URL's like stylesheets and images.  I've seen what you're
> describing many times.
>
> Chris
>
> On Wed, Jul 29, 2009 at 4:58 AM, Paul Harrup <paul.harrup@...> wrote:
>
> > Hi Pebble Users,
> >
> > I am trying to get Pebble to run on oc4j 10.1.3.4.0 but am running into
> > problems, the first was getting pebble to even run which I eventually
> > found out was due to a scope problem in the pebble.tld I solved this
> > following the info at
> >
> > https://sourceforge.net/tracker/index.php?func=detail&aid=1594379&group_id=121225&atid=689673
> > .
> >
> > Now pebble load and seems to be working, however, none of the images or
> > css are loading. I think this may be due to a problem with the way
> > HttpServletRequest are handled by oc4j but am stumped as to how to fix
> > this problem.
> >
> > Would be much appreciated if anyone could offer some advice as to how to
> > get pebble running on oc4j.
> >
> > Paul
> >
> >
> >
> > ------------------------------------------------------------------------------
> > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> > trial. Simplify your report design, integration and deployment - and focus
> > on
> > what you do best, core application coding. Discover what's new with
> > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> > _______________________________________________
> > Pebble-user mailing list
> > Pebble-user@...
> > https://lists.sourceforge.net/lists/listinfo/pebble-user
> >

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user

Re: Pebble on OC4J

by Paul Harrup :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi thanks for the reply I just tried changing the url in
pebble.properties but I am still getting the same problem. The change I
made was "url=http://localhost:8888/pebble/".

I also tested it on a tomcat 6 with "url=http://localhost:8080/pebble/"
which works fine.

When looking at the url of the rss feed image on tomcat it is
"http://localhost:8080/pebble/common/images/feed-icon-10x10.png" which I
can access and it displays the image, however, with oc4j the link is the
same except the port
"http://localhost:8888/pebble/common/images/feed-icon-10x10.png" but
when I try to access this url I am presented with the Pebble "Error
Sorry, there has been a problem with your request." page.

I am getting lots of warning messages also
[HTTPThreadGroup-6] WARN  
net.sourceforge.pebble.web.controller.HttpController  - An action called
12489429951 could not be found
if that helps.

Has anyone got pebble running on Oracle OC4J? Am really keen to get this
working as Pebble looks a great blogging application.

Paul


Chris Carrier wrote:

> Actually I was talking about the 'applicationContext-pebble.xml' file
> in the WEB-INF folder.  In mine i have a line that looks like:
>
> <property name="url" value="http://www.yourUrl.com/pebble"/>
>
> But you could create the same property in a properties file.
>
> Chris
>
> On Wed, Jul 29, 2009 at 4:37 PM, <david@...
> <mailto:david@...>> wrote:
>
>     Hello, Chris means the: WEB-INF/pebble.properties file. This
>     should do the trick. Regards.
>
>
>     Chris Carrier <ctcarrier@... <mailto:ctcarrier@...>>
>     wrote ..
>     > There is a Pebble application context file located in the WAR.
>      One of the
>     > configs in there is something like <url> (sorry don't have my
>     server up
>     > currently so don't have specific names).  Make sure that is
>     configured to
>     > the URL that you are accessing your site from.  That field is
>     used to
>     > populate relative URL's like stylesheets and images.  I've seen
>     what you're
>     > describing many times.
>     >
>     > Chris
>     >
>     > On Wed, Jul 29, 2009 at 4:58 AM, Paul Harrup
>     <paul.harrup@... <mailto:paul.harrup@...>> wrote:
>     >
>     > > Hi Pebble Users,
>     > >
>     > > I am trying to get Pebble to run on oc4j 10.1.3.4.0 but am
>     running into
>     > > problems, the first was getting pebble to even run which I
>     eventually
>     > > found out was due to a scope problem in the pebble.tld I
>     solved this
>     > > following the info at
>     > >
>     > >
>     https://sourceforge.net/tracker/index.php?func=detail&aid=1594379&group_id=121225&atid=689673
>     <https://sourceforge.net/tracker/index.php?func=detail&aid=1594379&group_id=121225&atid=689673>
>     > > .
>     > >
>     > > Now pebble load and seems to be working, however, none of the
>     images or
>     > > css are loading. I think this may be due to a problem with the way
>     > > HttpServletRequest are handled by oc4j but am stumped as to
>     how to fix
>     > > this problem.
>     > >
>     > > Would be much appreciated if anyone could offer some advice as
>     to how to
>     > > get pebble running on oc4j.
>     > >
>     > > Paul
>     > >
>     > >
>     > >
>     > >
>     ------------------------------------------------------------------------------
>     > > Let Crystal Reports handle the reporting - Free Crystal
>     Reports 2008 30-Day
>     > > trial. Simplify your report design, integration and deployment
>     - and focus
>     > > on
>     > > what you do best, core application coding. Discover what's new
>     with
>     > > Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>     > > _______________________________________________
>     > > Pebble-user mailing list
>     > > Pebble-user@...
>     <mailto:Pebble-user@...>
>     > > https://lists.sourceforge.net/lists/listinfo/pebble-user
>     > >
>
>     ------------------------------------------------------------------------------
>     Let Crystal Reports handle the reporting - Free Crystal Reports
>     2008 30-Day
>     trial. Simplify your report design, integration and deployment -
>     and focus on
>     what you do best, core application coding. Discover what's new with
>     Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>     _______________________________________________
>     Pebble-user mailing list
>     Pebble-user@...
>     <mailto:Pebble-user@...>
>     https://lists.sourceforge.net/lists/listinfo/pebble-user
>
>
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ------------------------------------------------------------------------
>
> _______________________________________________
> Pebble-user mailing list
> Pebble-user@...
> https://lists.sourceforge.net/lists/listinfo/pebble-user
>  

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Pebble-user mailing list
Pebble-user@...
https://lists.sourceforge.net/lists/listinfo/pebble-user