You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Walter Hardy <wa...@whardy.com> on 2007/09/06 02:54:21 UTC

Roller install on Sun Web Server 7

Hi,

I'm trying to install Roller on Sun Java System Web Server 7 on Solaris 10.
The reason for this is that I'm trying to create a blog portlet with the Sun
Portal Server which deploys on Web Server 7. I've configured the databases
in Derby and added the JDBC resource. 

 

I get the following error during the web server startup for the Roller app:

 

WebModule[/blogs]PWC1270: Exception starting filter securityFilter

 

java.lang.IllegalStateException: No WebApplicationContext found: no
ContextLoaderListener registered? at
org.springframework.web.context.support.WebApplicationContextUtils.getRequir
edWebApplicationContext(WebApplicationContextUtils.java:84) at
org.acegisecurity.util.FilterToBeanProxy.getContext(FilterToBeanProxy.java:1
77) at
org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:119)
at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189)
at
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
Config.java:229) at
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
terConfig.java:318) at
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
fig.java:83) at
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:40
42) at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4702) at
com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170) at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
org.apache.catalina.core.StandardHost.start(StandardHost.java:838) at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514) at
org.apache.catalina.startup.Embedded.start(Embedded.java:917) at
com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47) at
com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)

 

This error also follows:

 

            Null component
com.sun.web-1:type=JspMonitor,name=jsp,WebModule=//portal.whardy.com/blogs,J
2EEApplication=none,J2EEServer=none

 

Are there any suggestions? Thanks.


Walter 


Re: Roller install on Sun Web Server 7

Posted by Thomas Wagner <Th...@sun.com>.
I run Roller 4 on Glassfish v2.

Maybe this step-guide gives usefull hints: (written for Roller 3.1)
http://number9.hellooperator.net/articles/2007/05/06/roller-on-glassfish

Tom

On Wed, Sep 05, 2007 at 05:54:21PM -0700, Walter Hardy wrote:
> Hi,
> 
> I'm trying to install Roller on Sun Java System Web Server 7 on Solaris 10.
> The reason for this is that I'm trying to create a blog portlet with the Sun
> Portal Server which deploys on Web Server 7. I've configured the databases
> in Derby and added the JDBC resource. 
> 
>  
> 
> I get the following error during the web server startup for the Roller app:
> 
>  
> 
> WebModule[/blogs]PWC1270: Exception starting filter securityFilter
> 
>  
> 
> java.lang.IllegalStateException: No WebApplicationContext found: no
> ContextLoaderListener registered? at
> org.springframework.web.context.support.WebApplicationContextUtils.getRequir
> edWebApplicationContext(WebApplicationContextUtils.java:84) at
> org.acegisecurity.util.FilterToBeanProxy.getContext(FilterToBeanProxy.java:1
> 77) at
> org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:119)
> at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
> Config.java:229) at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
> terConfig.java:318) at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
> fig.java:83) at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:40
> 42) at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4702) at
> com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:838) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514) at
> org.apache.catalina.startup.Embedded.start(Embedded.java:917) at
> com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47) at
> com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
> at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)
> 
>  
> 
> This error also follows:
> 
>  
> 
>             Null component
> com.sun.web-1:type=JspMonitor,name=jsp,WebModule=//portal.whardy.com/blogs,J
> 2EEApplication=none,J2EEServer=none
> 
>  
> 
> Are there any suggestions? Thanks.
> 
> 
> Walter 
> 

-- 
Mit freundlichen Gruessen,

Thomas Wagner

--

*********************************************************************
Thomas Wagner                Tel:    +49-(0)-711-720 98-131
Strategic Support Engineer   Fax:    +49-(0)-711-720 98-443
Global Customer Services     Cell:   +49-(0)-175-292 60 64
Sun Microsystems GmbH        E-Mail: Thomas.Wagner@Sun.com
Zettachring 10A, D-70567 Stuttgart       http://www.sun.de

Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1, D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering


RE: Roller install on Sun Web Server 7

Posted by Walter Hardy <wa...@whardy.com>.
I'm running Derby version 10.1.3.0. 

-----Original Message-----
From: Dave [mailto:snoopdave@gmail.com] 
Sent: Friday, September 07, 2007 9:38 AM
To: user@roller.apache.org
Subject: Re: Roller install on Sun Web Server 7

On 9/7/07, Walter Hardy <wa...@whardy.com> wrote:
> Dave, I installed the 3.1 release with Derby.
>
> Looks like I'm getting a CLOB/CHAR issue, here in roller.log. Do you know
> how to fix this?
>
>
> WARN  2007-09-07 00:00:00,132 JDBCExceptionReporter:logExceptions - SQL
> Error: -
> 1, SQLState: 42818
> ERROR 2007-09-07 00:00:00,135 JDBCExceptionReporter:logExceptions -
> Comparisons
> between 'CLOB' and 'CHAR' are not supported.
> ERROR 2007-09-07 00:00:00,135 HibernateRefererManagerImpl:clearReferrers -
> EXCEP
> TION resetting referers
> org.hibernate.exception.SQLGrammarException: could not execute update
query
>         at
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
> ava:65)
>

That is probably not the error that is causing the blank page on user
registration.

But it is an issue. Which version of Derby are you using?

- Dave


> Thanks.
> - Walter
>
> -----Original Message-----
> From: Dave [mailto:snoopdave@gmail.com]
> Sent: Friday, September 07, 2007 8:49 AM
> To: user@roller.apache.org
> Subject: Re: Roller install on Sun Web Server 7
>
> On 9/6/07, Walter Hardy <wa...@whardy.com> wrote:
> > I made some progress by fixing a jdbc reference in server.xml. It's
> running
> > at http://portal.whardy.com/blogs/
> >
> > However, if I go to create a new user, a blank message is returned in
the
> > status bar up top, and I don't see the user in the Derby DB. Trying to
log
> > in with that user gets me a 404 error page from the roller app. Am I
still
> > looking at DB connection issues? No logs are being generated by the app
> > server.
>
> What version of Roller are you using?
>
> Are you getting any errors in the Web Server logs or roller.log when
> that blank page appears?
>
> - Dave
>
>
>



Re: Roller install on Sun Web Server 7

Posted by Dave <sn...@gmail.com>.
On 9/7/07, Walter Hardy <wa...@whardy.com> wrote:
> Dave, I installed the 3.1 release with Derby.
>
> Looks like I'm getting a CLOB/CHAR issue, here in roller.log. Do you know
> how to fix this?
>
>
> WARN  2007-09-07 00:00:00,132 JDBCExceptionReporter:logExceptions - SQL
> Error: -
> 1, SQLState: 42818
> ERROR 2007-09-07 00:00:00,135 JDBCExceptionReporter:logExceptions -
> Comparisons
> between 'CLOB' and 'CHAR' are not supported.
> ERROR 2007-09-07 00:00:00,135 HibernateRefererManagerImpl:clearReferrers -
> EXCEP
> TION resetting referers
> org.hibernate.exception.SQLGrammarException: could not execute update query
>         at
> org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
> ava:65)
>

That is probably not the error that is causing the blank page on user
registration.

But it is an issue. Which version of Derby are you using?

- Dave


> Thanks.
> - Walter
>
> -----Original Message-----
> From: Dave [mailto:snoopdave@gmail.com]
> Sent: Friday, September 07, 2007 8:49 AM
> To: user@roller.apache.org
> Subject: Re: Roller install on Sun Web Server 7
>
> On 9/6/07, Walter Hardy <wa...@whardy.com> wrote:
> > I made some progress by fixing a jdbc reference in server.xml. It's
> running
> > at http://portal.whardy.com/blogs/
> >
> > However, if I go to create a new user, a blank message is returned in the
> > status bar up top, and I don't see the user in the Derby DB. Trying to log
> > in with that user gets me a 404 error page from the roller app. Am I still
> > looking at DB connection issues? No logs are being generated by the app
> > server.
>
> What version of Roller are you using?
>
> Are you getting any errors in the Web Server logs or roller.log when
> that blank page appears?
>
> - Dave
>
>
>

RE: Roller install on Sun Web Server 7

Posted by Walter Hardy <wa...@whardy.com>.
Dave, I installed the 3.1 release with Derby. 

Looks like I'm getting a CLOB/CHAR issue, here in roller.log. Do you know
how to fix this?


WARN  2007-09-07 00:00:00,132 JDBCExceptionReporter:logExceptions - SQL
Error: -
1, SQLState: 42818
ERROR 2007-09-07 00:00:00,135 JDBCExceptionReporter:logExceptions -
Comparisons
between 'CLOB' and 'CHAR' are not supported.
ERROR 2007-09-07 00:00:00,135 HibernateRefererManagerImpl:clearReferrers -
EXCEP
TION resetting referers
org.hibernate.exception.SQLGrammarException: could not execute update query
        at
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j
ava:65)

Thanks.
- Walter

-----Original Message-----
From: Dave [mailto:snoopdave@gmail.com] 
Sent: Friday, September 07, 2007 8:49 AM
To: user@roller.apache.org
Subject: Re: Roller install on Sun Web Server 7

On 9/6/07, Walter Hardy <wa...@whardy.com> wrote:
> I made some progress by fixing a jdbc reference in server.xml. It's
running
> at http://portal.whardy.com/blogs/
>
> However, if I go to create a new user, a blank message is returned in the
> status bar up top, and I don't see the user in the Derby DB. Trying to log
> in with that user gets me a 404 error page from the roller app. Am I still
> looking at DB connection issues? No logs are being generated by the app
> server.

What version of Roller are you using?

Are you getting any errors in the Web Server logs or roller.log when
that blank page appears?

- Dave



Re: Roller install on Sun Web Server 7

Posted by Dave <sn...@gmail.com>.
On 9/6/07, Walter Hardy <wa...@whardy.com> wrote:
> I made some progress by fixing a jdbc reference in server.xml. It's running
> at http://portal.whardy.com/blogs/
>
> However, if I go to create a new user, a blank message is returned in the
> status bar up top, and I don't see the user in the Derby DB. Trying to log
> in with that user gets me a 404 error page from the roller app. Am I still
> looking at DB connection issues? No logs are being generated by the app
> server.

What version of Roller are you using?

Are you getting any errors in the Web Server logs or roller.log when
that blank page appears?

- Dave

RE: Roller install on Sun Web Server 7

Posted by Walter Hardy <wa...@whardy.com>.
I made some progress by fixing a jdbc reference in server.xml. It's running
at http://portal.whardy.com/blogs/

However, if I go to create a new user, a blank message is returned in the
status bar up top, and I don't see the user in the Derby DB. Trying to log
in with that user gets me a 404 error page from the roller app. Am I still
looking at DB connection issues? No logs are being generated by the app
server.

Thanks.

-----Original Message-----
From: mraible@gmail.com [mailto:mraible@gmail.com] On Behalf Of Matt Raible
Sent: Wednesday, September 05, 2007 5:57 PM
To: user@roller.apache.org
Subject: Re: Roller install on Sun Web Server 7

Are there any issues with running Spring on Sun Java System Web Server
7 (that's a mouthful)?

Matt

On 9/5/07, Walter Hardy <wa...@whardy.com> wrote:
> Hi,
>
> I'm trying to install Roller on Sun Java System Web Server 7 on Solaris
10.
> The reason for this is that I'm trying to create a blog portlet with the
Sun
> Portal Server which deploys on Web Server 7. I've configured the databases
> in Derby and added the JDBC resource.
>
>
>
> I get the following error during the web server startup for the Roller
app:
>
>
>
> WebModule[/blogs]PWC1270: Exception starting filter securityFilter
>
>
>
> java.lang.IllegalStateException: No WebApplicationContext found: no
> ContextLoaderListener registered? at
>
org.springframework.web.context.support.WebApplicationContextUtils.getRequir
> edWebApplicationContext(WebApplicationContextUtils.java:84) at
>
org.acegisecurity.util.FilterToBeanProxy.getContext(FilterToBeanProxy.java:1
> 77) at
>
org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:119)
> at
org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189)
> at
>
org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
> Config.java:229) at
>
org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
> terConfig.java:318) at
>
org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
> fig.java:83) at
>
org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:40
> 42) at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4702)
at
> com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:838) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514) at
> org.apache.catalina.startup.Embedded.start(Embedded.java:917) at
> com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47)
at
>
com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
> at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)
>
>
>
> This error also follows:
>
>
>
>             Null component
>
com.sun.web-1:type=JspMonitor,name=jsp,WebModule=//portal.whardy.com/blogs,J
> 2EEApplication=none,J2EEServer=none
>
>
>
> Are there any suggestions? Thanks.
>
>
> Walter
>
>


-- 
http://raibledesigns.com



Re: Roller install on Sun Web Server 7

Posted by Matt Raible <ma...@raibledesigns.com>.
Are there any issues with running Spring on Sun Java System Web Server
7 (that's a mouthful)?

Matt

On 9/5/07, Walter Hardy <wa...@whardy.com> wrote:
> Hi,
>
> I'm trying to install Roller on Sun Java System Web Server 7 on Solaris 10.
> The reason for this is that I'm trying to create a blog portlet with the Sun
> Portal Server which deploys on Web Server 7. I've configured the databases
> in Derby and added the JDBC resource.
>
>
>
> I get the following error during the web server startup for the Roller app:
>
>
>
> WebModule[/blogs]PWC1270: Exception starting filter securityFilter
>
>
>
> java.lang.IllegalStateException: No WebApplicationContext found: no
> ContextLoaderListener registered? at
> org.springframework.web.context.support.WebApplicationContextUtils.getRequir
> edWebApplicationContext(WebApplicationContextUtils.java:84) at
> org.acegisecurity.util.FilterToBeanProxy.getContext(FilterToBeanProxy.java:1
> 77) at
> org.acegisecurity.util.FilterToBeanProxy.doInit(FilterToBeanProxy.java:119)
> at org.acegisecurity.util.FilterToBeanProxy.init(FilterToBeanProxy.java:189)
> at
> org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilter
> Config.java:229) at
> org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFil
> terConfig.java:318) at
> org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterCon
> fig.java:83) at
> org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:40
> 42) at
> org.apache.catalina.core.StandardContext.start(StandardContext.java:4702) at
> com.sun.webserver.connector.nsapi.WebModule.start(WebModule.java:170) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
> org.apache.catalina.core.StandardHost.start(StandardHost.java:838) at
> org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1089) at
> org.apache.catalina.core.StandardEngine.start(StandardEngine.java:514) at
> org.apache.catalina.startup.Embedded.start(Embedded.java:917) at
> com.sun.enterprise.web.PwcWebContainer.onStartup(PwcWebContainer.java:47) at
> com.sun.webserver.connector.nsapi.WebContainer.start(WebContainer.java:464)
> at com.sun.webserver.init.J2EERunner.confPostInit(J2EERunner.java:292)
>
>
>
> This error also follows:
>
>
>
>             Null component
> com.sun.web-1:type=JspMonitor,name=jsp,WebModule=//portal.whardy.com/blogs,J
> 2EEApplication=none,J2EEServer=none
>
>
>
> Are there any suggestions? Thanks.
>
>
> Walter
>
>


-- 
http://raibledesigns.com