You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Dmitriy <di...@yahoo.com> on 2007/03/19 19:30:19 UTC

roller on plesk controlled site

Hi, 

Is there any issues with roller on plesk controlled
sites?
I am trying to deploy roller.war to my linux based
site that already has a main application at the root.
I have added a new context roller.xml to the root -
/usr/share/tomcat5/conf/PSA/mydomain directory and
pointed it to the new war. 
<Context
docBase="/usr/share/tomcat5/psa-wars/mydomain/roller.war"
path="/roller">. The war and the new DB is created as
well and it all works on my home computer. 

When I try to access it I see error: The requested
resource (/roller/) is not available. 
Please let me know if I did something wrong. Thanks


 
____________________________________________________________________________________
Never miss an email again!
Yahoo! Toolbar alerts you the instant new Mail arrives.
http://tools.search.yahoo.com/toolbar/features/mail/

Re: roller on plesk controlled site

Posted by Anil Gangolli <an...@busybuddha.org>.
Check all of the things here

http://rollerweblogger.org/wiki/Wiki.jsp?page=TomcatJDBCEmptyNull

[This page apparently hasn't been ported yet to the new wiki.  I'm going to 
do that shortly.]

--a.

----- Original Message ----- 
From: "Dmitriy" <di...@yahoo.com>
To: <ro...@incubator.apache.org>
Sent: Saturday, March 24, 2007 11:58 PM
Subject: Re: roller on plesk controlled site


> That's how I have it:
>
> jdbc:mysql:///roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8
>
> I tried to get rid of domainname as db and tomcat are
> on the same server.
>
> --- Sutra Zhou <zh...@gmail.com> wrote:
>
>> <value>
>> jdbc:mysql://mydomain/roller
>>
> ?autoReconnect=true&useUnicode=true&characterEncoding
>> =utf-8&mysqlEncoding=utf8
>> </value>
>>
>> & -> &amp;
>>
>>
>> 2007/3/25, Dmitriy <di...@yahoo.com>:
>> >
>> > it's 5.0.x
>> >
>> > --- Sutra Zhou <zh...@gmail.com> wrote:
>> >
>> > > "Cannot
>> > > create JDBC driver of class '' for connect URL '
>> > > null'"
>> > > It looks dirver class and url are all null.
>> > > Is the setting file  roller.xml is not
>> compatible
>> > > with your tomcat.
>> > >
>> > > What's the version of your tomcat? 5.0.x or
>> 5.5.x?
>> > >
>> > > 2007/3/25, Dmitriy <di...@yahoo.com>:
>> > > >
>> > > > Yes, I deploy it on linux server using the
>> same
>> > > > roller.xml context that I used on my pc, only
>> > > location
>> > > > has changed:
>> > > >
>> > > >
>> > > > <Resource name="jdbc/rollerdb"
>> auth="Container"
>> > > > type="javax.sql.DataSource" />
>> > > > <ResourceParams name="jdbc/rollerdb">
>> > > > <parameter>
>> > > > <name>factory</name>
>> > > >
>> > >
>> >
>>
> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
>> > > > </parameter>
>> > > > <parameter>
>> > > > <name>driverClassName</name>
>> > > > <value>com.mysql.jdbc.Driver</value>
>> > > > </parameter>
>> > > > <parameter>
>> > > > <name>url</name>
>> > > > <value>
>> > > >
>> > > >
>> > >
>> >
>> >
>>
> jdbc:mysql://mydomain/roller?autoReconnect=true&useUnicode=true&characterEncoding
>> > > > =utf-8&mysqlEncoding=utf8
>> > > > </value>
>> > > > </parameter>
>> > > >
>> > >
>> >
>>
> <parameter><name>username</name><value>user</value></parameter>
>> > > >
>> > >
>> >
>>
> <parameter><name>password</name><value>password</value></parameter>
>> > > >
>> > >
>> >
>>
> <parameter><name>maxActive</name><value>20</value></parameter>
>> > > >
>> > >
>> >
>>
> <parameter><name>maxIdle</name><value>3</value></parameter>
>> > > >
>> > >
>> >
>>
> <parameter><name>removeAbandoned</name><value>true</value></parameter>
>> > > >
>> > >
>> >
>>
> <parameter><name>maxWait</name><value>3000</value></parameter>
>> > > > </ResourceParams>
>> > > >
>> > > > --- Sutra Zhou <zh...@gmail.com> wrote:
>> > > >
>> > > > > Have you setted the jndi?
>> > > > >
>> > > > > 2007/3/24, Dmitriy <di...@yahoo.com>:
>> > > > > >
>> > > > > > I am doing war. My ISP asked to use war. I
>> > > have
>> > > > > > redeployed and now get this error:
>> > > > > >
>> > > > > > INFO  2007-03-23 03:39:16,240
>> > > > > > NamingHelper:getInitialContext - JNDI
>> > > > > InitialContext
>> > > > > > properties:{}
>> > > > > > INFO  2007-03-23 03:39:16,242
>> > > > > > DatasourceConnectionProvider:configure -
>> Using
>> > > > > > datasource: java:comp/
>> > > > > > env/jdbc/rollerdb
>> > > > > > WARN  2007-03-23 03:39:16,247
>> > > > > > SettingsFactory:buildSettings - Could not
>> > > obtain
>> > > > > > connection metadata
>> > > > > >
>> org.apache.commons.dbcp.SQLNestedException:
>> > > Cannot
>> > > > > > create JDBC driver of class '' for connect
>> URL
>> > > '
>> > > > > > null'
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.apache.commons.dbcp.BasicDataSource.createDataSource(
>> > > > > > BasicDataSource.java:780)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
>> > > > > > :540)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.hibernate.connection.DatasourceConnectionProvider.getConnection
>> > > > > > (DatasourceConnection
>> > > > > > Provider.java:69)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
>> > > > > > :1289)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.apache.roller.business.hibernate.HibernatePersistenceStrategy
>> > > > > > .<init>(HibernatePersis
>> > > > > > tenceStrategy.java:65)
>> > > > > >         at
>> > > > > >
>> > > > >
>> > > >
>> > >
>> >
>>
> org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
>> > > > > > HibernateRollerImpl.java
>> > > > > > :70)
>> > > > > >
>> > > > > > Again, that same war and config file
>> pointing
>> > > to
>> > > > > the
>> > > > > > same db works on my pc.
>> > > > > >
>> > > > > > Please let me know if this rings any bell.
>> > > > > > Thanks
>> > > > > >
>> > > > > > --- Anil Gangolli <an...@busybuddha.org>
>> wrote:
>> > > > > >
>> > > > > > >
>> > > > > > > This might happen if the you're trying
>> to
>> > > run
>> > > > > Roller
>>
> === message truncated ===
>
>
>
>
> ____________________________________________________________________________________
> Bored stiff? Loosen up...
> Download and play hundreds of games for free on Yahoo! Games.
> http://games.yahoo.com/games/front
> 


Re: roller on plesk controlled site

Posted by Dmitriy <di...@yahoo.com>.
That's how I have it:

jdbc:mysql:///roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding=utf-8&amp;mysqlEncoding=utf8

I tried to get rid of domainname as db and tomcat are
on the same server. 

--- Sutra Zhou <zh...@gmail.com> wrote:

> <value>
> jdbc:mysql://mydomain/roller
>
?autoReconnect=true&useUnicode=true&characterEncoding
> =utf-8&mysqlEncoding=utf8
> </value>
> 
> & -> &amp;
> 
> 
> 2007/3/25, Dmitriy <di...@yahoo.com>:
> >
> > it's 5.0.x
> >
> > --- Sutra Zhou <zh...@gmail.com> wrote:
> >
> > > "Cannot
> > > create JDBC driver of class '' for connect URL '
> > > null'"
> > > It looks dirver class and url are all null.
> > > Is the setting file  roller.xml is not
> compatible
> > > with your tomcat.
> > >
> > > What's the version of your tomcat? 5.0.x or
> 5.5.x?
> > >
> > > 2007/3/25, Dmitriy <di...@yahoo.com>:
> > > >
> > > > Yes, I deploy it on linux server using the
> same
> > > > roller.xml context that I used on my pc, only
> > > location
> > > > has changed:
> > > >
> > > >
> > > > <Resource name="jdbc/rollerdb"
> auth="Container"
> > > > type="javax.sql.DataSource" />
> > > > <ResourceParams name="jdbc/rollerdb">
> > > > <parameter>
> > > > <name>factory</name>
> > > >
> > >
> >
>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> > > > </parameter>
> > > > <parameter>
> > > > <name>driverClassName</name>
> > > > <value>com.mysql.jdbc.Driver</value>
> > > > </parameter>
> > > > <parameter>
> > > > <name>url</name>
> > > > <value>
> > > >
> > > >
> > >
> >
> >
>
jdbc:mysql://mydomain/roller?autoReconnect=true&useUnicode=true&characterEncoding
> > > > =utf-8&mysqlEncoding=utf8
> > > > </value>
> > > > </parameter>
> > > >
> > >
> >
>
<parameter><name>username</name><value>user</value></parameter>
> > > >
> > >
> >
>
<parameter><name>password</name><value>password</value></parameter>
> > > >
> > >
> >
>
<parameter><name>maxActive</name><value>20</value></parameter>
> > > >
> > >
> >
>
<parameter><name>maxIdle</name><value>3</value></parameter>
> > > >
> > >
> >
>
<parameter><name>removeAbandoned</name><value>true</value></parameter>
> > > >
> > >
> >
>
<parameter><name>maxWait</name><value>3000</value></parameter>
> > > > </ResourceParams>
> > > >
> > > > --- Sutra Zhou <zh...@gmail.com> wrote:
> > > >
> > > > > Have you setted the jndi?
> > > > >
> > > > > 2007/3/24, Dmitriy <di...@yahoo.com>:
> > > > > >
> > > > > > I am doing war. My ISP asked to use war. I
> > > have
> > > > > > redeployed and now get this error:
> > > > > >
> > > > > > INFO  2007-03-23 03:39:16,240
> > > > > > NamingHelper:getInitialContext - JNDI
> > > > > InitialContext
> > > > > > properties:{}
> > > > > > INFO  2007-03-23 03:39:16,242
> > > > > > DatasourceConnectionProvider:configure -
> Using
> > > > > > datasource: java:comp/
> > > > > > env/jdbc/rollerdb
> > > > > > WARN  2007-03-23 03:39:16,247
> > > > > > SettingsFactory:buildSettings - Could not
> > > obtain
> > > > > > connection metadata
> > > > > >
> org.apache.commons.dbcp.SQLNestedException:
> > > Cannot
> > > > > > create JDBC driver of class '' for connect
> URL
> > > '
> > > > > > null'
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.apache.commons.dbcp.BasicDataSource.createDataSource(
> > > > > > BasicDataSource.java:780)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
> > > > > > :540)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.hibernate.connection.DatasourceConnectionProvider.getConnection
> > > > > > (DatasourceConnection
> > > > > > Provider.java:69)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
> > > > > > :1289)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.apache.roller.business.hibernate.HibernatePersistenceStrategy
> > > > > > .<init>(HibernatePersis
> > > > > > tenceStrategy.java:65)
> > > > > >         at
> > > > > >
> > > > >
> > > >
> > >
> >
>
org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
> > > > > > HibernateRollerImpl.java
> > > > > > :70)
> > > > > >
> > > > > > Again, that same war and config file
> pointing
> > > to
> > > > > the
> > > > > > same db works on my pc.
> > > > > >
> > > > > > Please let me know if this rings any bell.
> > > > > > Thanks
> > > > > >
> > > > > > --- Anil Gangolli <an...@busybuddha.org>
> wrote:
> > > > > >
> > > > > > >
> > > > > > > This might happen if the you're trying
> to
> > > run
> > > > > Roller
> 
=== message truncated ===



 
____________________________________________________________________________________
Bored stiff? Loosen up... 
Download and play hundreds of games for free on Yahoo! Games.
http://games.yahoo.com/games/front

Re: roller on plesk controlled site

Posted by Sutra Zhou <zh...@gmail.com>.
<value>
jdbc:mysql://mydomain/roller
?autoReconnect=true&useUnicode=true&characterEncoding
=utf-8&mysqlEncoding=utf8
</value>

& -> &amp;


2007/3/25, Dmitriy <di...@yahoo.com>:
>
> it's 5.0.x
>
> --- Sutra Zhou <zh...@gmail.com> wrote:
>
> > "Cannot
> > create JDBC driver of class '' for connect URL '
> > null'"
> > It looks dirver class and url are all null.
> > Is the setting file  roller.xml is not compatible
> > with your tomcat.
> >
> > What's the version of your tomcat? 5.0.x or 5.5.x?
> >
> > 2007/3/25, Dmitriy <di...@yahoo.com>:
> > >
> > > Yes, I deploy it on linux server using the same
> > > roller.xml context that I used on my pc, only
> > location
> > > has changed:
> > >
> > >
> > > <Resource name="jdbc/rollerdb" auth="Container"
> > > type="javax.sql.DataSource" />
> > > <ResourceParams name="jdbc/rollerdb">
> > > <parameter>
> > > <name>factory</name>
> > >
> >
> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> > > </parameter>
> > > <parameter>
> > > <name>driverClassName</name>
> > > <value>com.mysql.jdbc.Driver</value>
> > > </parameter>
> > > <parameter>
> > > <name>url</name>
> > > <value>
> > >
> > >
> >
>
> jdbc:mysql://mydomain/roller?autoReconnect=true&useUnicode=true&characterEncoding
> > > =utf-8&mysqlEncoding=utf8
> > > </value>
> > > </parameter>
> > >
> >
> <parameter><name>username</name><value>user</value></parameter>
> > >
> >
> <parameter><name>password</name><value>password</value></parameter>
> > >
> >
> <parameter><name>maxActive</name><value>20</value></parameter>
> > >
> >
> <parameter><name>maxIdle</name><value>3</value></parameter>
> > >
> >
> <parameter><name>removeAbandoned</name><value>true</value></parameter>
> > >
> >
> <parameter><name>maxWait</name><value>3000</value></parameter>
> > > </ResourceParams>
> > >
> > > --- Sutra Zhou <zh...@gmail.com> wrote:
> > >
> > > > Have you setted the jndi?
> > > >
> > > > 2007/3/24, Dmitriy <di...@yahoo.com>:
> > > > >
> > > > > I am doing war. My ISP asked to use war. I
> > have
> > > > > redeployed and now get this error:
> > > > >
> > > > > INFO  2007-03-23 03:39:16,240
> > > > > NamingHelper:getInitialContext - JNDI
> > > > InitialContext
> > > > > properties:{}
> > > > > INFO  2007-03-23 03:39:16,242
> > > > > DatasourceConnectionProvider:configure - Using
> > > > > datasource: java:comp/
> > > > > env/jdbc/rollerdb
> > > > > WARN  2007-03-23 03:39:16,247
> > > > > SettingsFactory:buildSettings - Could not
> > obtain
> > > > > connection metadata
> > > > > org.apache.commons.dbcp.SQLNestedException:
> > Cannot
> > > > > create JDBC driver of class '' for connect URL
> > '
> > > > > null'
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.commons.dbcp.BasicDataSource.createDataSource(
> > > > > BasicDataSource.java:780)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
> > > > > :540)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.hibernate.connection.DatasourceConnectionProvider.getConnection
> > > > > (DatasourceConnection
> > > > > Provider.java:69)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
> > > > > :1289)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.roller.business.hibernate.HibernatePersistenceStrategy
> > > > > .<init>(HibernatePersis
> > > > > tenceStrategy.java:65)
> > > > >         at
> > > > >
> > > >
> > >
> >
> org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
> > > > > HibernateRollerImpl.java
> > > > > :70)
> > > > >
> > > > > Again, that same war and config file pointing
> > to
> > > > the
> > > > > same db works on my pc.
> > > > >
> > > > > Please let me know if this rings any bell.
> > > > > Thanks
> > > > >
> > > > > --- Anil Gangolli <an...@busybuddha.org> wrote:
> > > > >
> > > > > >
> > > > > > This might happen if the you're trying to
> > run
> > > > Roller
> > > > > > in unexploded form as a
> > > > > > packed .war.
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: "Dave" <sn...@gmail.com>
> > > > > > To: <ro...@incubator.apache.org>
> > > > > > Sent: Thursday, March 22, 2007 8:18 PM
> > > > > > Subject: Re: roller on plesk controlled site
> > > > > >
> > > > > >
> > > > > > > On 3/22/07, Dmitriy <di...@yahoo.com>
> > > > wrote:
> > > > > > >> I don't it is related to plesk. It's just
> > > > > > migration
> > > > > > >> from windows to linux.
> > > > > > >>
> > > > > > >>  have enabled Logger for the application.
> > The
> > > > log
> > > > > > file
> > > > > > >> shows the following:
> > > > > > >> 2007-03-22 05:02:26
> > > > > > StandardContext[/roller]Exception
> > > > > > >> sending context initialized event to
> > listener
> > > > > > instance
> > > > > > >> of class
> > > > org.apache.roller.ui.core.RollerContext
> > > > > > >> java.lang.NullPointerException
> > > > > > >>         at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.roller.ui.core.RollerContext.contextInitialized(
> > > > > RollerContext.java:143)
> > > > > > >>         at
> > > > > > >>
> > > > > >
> > > > >
> > > >
> > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(
> > > > > StandardContext.java:3831)
> > > > > > >>         at
> > > > > > >
> > > > > > > That null pointer exception is occuring in
> > > > > > RollerContext.java at line 143.
> > > > > > >
> > > > > > > 141        // get the *real* path to
> > > > > > <context>/resources
> > > > > > > 142        String ctxPath =
> > > > > > mContext.getRealPath("/");
> > > > > > > 143
> > > > if(!ctxPath.endsWith(File.separator))
> > > > > > > 144            ctxPath += File.separator +
> >
> === message truncated ===
>
>
>
>
>
> ____________________________________________________________________________________
> It's here! Your new message!
> Get new email alerts with the free Yahoo! Toolbar.
> http://tools.search.yahoo.com/toolbar/features/mail/
>

Re: roller on plesk controlled site

Posted by ch...@gsa.gov.
Please remove me from this list. Thanlks





"Sutra Zhou" <zh...@gmail.com> 
03/25/2007 12:19 AM
Please respond to
roller-user@incubator.apache.org


To
roller-user@incubator.apache.org
cc

Subject
Re: roller on plesk controlled site






"Cannot
create JDBC driver of class '' for connect URL '
null'"
It looks dirver class and url are all null.
Is the setting file  roller.xml is not compatible with your tomcat.

What's the version of your tomcat? 5.0.x or 5.5.x?

2007/3/25, Dmitriy <di...@yahoo.com>:
>
> Yes, I deploy it on linux server using the same
> roller.xml context that I used on my pc, only location
> has changed:
>
>
> <Resource name="jdbc/rollerdb" auth="Container"
> type="javax.sql.DataSource" />
> <ResourceParams name="jdbc/rollerdb">
> <parameter>
> <name>factory</name>
> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> </parameter>
> <parameter>
> <name>driverClassName</name>
> <value>com.mysql.jdbc.Driver</value>
> </parameter>
> <parameter>
> <name>url</name>
> <value>
>
> 
jdbc:mysql://mydomain/roller?autoReconnect=true&useUnicode=true&characterEncoding
> =utf-8&mysqlEncoding=utf8
> </value>
> </parameter>
> <parameter><name>username</name><value>user</value></parameter>
> <parameter><name>password</name><value>password</value></parameter>
> <parameter><name>maxActive</name><value>20</value></parameter>
> <parameter><name>maxIdle</name><value>3</value></parameter>
> <parameter><name>removeAbandoned</name><value>true</value></parameter>
> <parameter><name>maxWait</name><value>3000</value></parameter>
> </ResourceParams>
>
> --- Sutra Zhou <zh...@gmail.com> wrote:
>
> > Have you setted the jndi?
> >
> > 2007/3/24, Dmitriy <di...@yahoo.com>:
> > >
> > > I am doing war. My ISP asked to use war. I have
> > > redeployed and now get this error:
> > >
> > > INFO  2007-03-23 03:39:16,240
> > > NamingHelper:getInitialContext - JNDI
> > InitialContext
> > > properties:{}
> > > INFO  2007-03-23 03:39:16,242
> > > DatasourceConnectionProvider:configure - Using
> > > datasource: java:comp/
> > > env/jdbc/rollerdb
> > > WARN  2007-03-23 03:39:16,247
> > > SettingsFactory:buildSettings - Could not obtain
> > > connection metadata
> > > org.apache.commons.dbcp.SQLNestedException: Cannot
> > > create JDBC driver of class '' for connect URL '
> > > null'
> > >         at
> > >
> >
> org.apache.commons.dbcp.BasicDataSource.createDataSource(
> > > BasicDataSource.java:780)
> > >         at
> > >
> >
> 
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
> > > :540)
> > >         at
> > >
> >
> org.hibernate.connection.DatasourceConnectionProvider.getConnection
> > > (DatasourceConnection
> > > Provider.java:69)
> > >         at
> > >
> >
> org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
> > >         at
> > >
> >
> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
> > >         at
> > >
> >
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
> > > :1289)
> > >         at
> > >
> >
> org.apache.roller.business.hibernate.HibernatePersistenceStrategy
> > > .<init>(HibernatePersis
> > > tenceStrategy.java:65)
> > >         at
> > >
> >
> org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
> > > HibernateRollerImpl.java
> > > :70)
> > >
> > > Again, that same war and config file pointing to
> > the
> > > same db works on my pc.
> > >
> > > Please let me know if this rings any bell.
> > > Thanks
> > >
> > > --- Anil Gangolli <an...@busybuddha.org> wrote:
> > >
> > > >
> > > > This might happen if the you're trying to run
> > Roller
> > > > in unexploded form as a
> > > > packed .war.
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Dave" <sn...@gmail.com>
> > > > To: <ro...@incubator.apache.org>
> > > > Sent: Thursday, March 22, 2007 8:18 PM
> > > > Subject: Re: roller on plesk controlled site
> > > >
> > > >
> > > > > On 3/22/07, Dmitriy <di...@yahoo.com>
> > wrote:
> > > > >> I don't it is related to plesk. It's just
> > > > migration
> > > > >> from windows to linux.
> > > > >>
> > > > >>  have enabled Logger for the application. The
> > log
> > > > file
> > > > >> shows the following:
> > > > >> 2007-03-22 05:02:26
> > > > StandardContext[/roller]Exception
> > > > >> sending context initialized event to listener
> > > > instance
> > > > >> of class
> > org.apache.roller.ui.core.RollerContext
> > > > >> java.lang.NullPointerException
> > > > >>         at
> > > > >>
> > > >
> > >
> >
> org.apache.roller.ui.core.RollerContext.contextInitialized(
> > > RollerContext.java:143)
> > > > >>         at
> > > > >>
> > > >
> > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(
> > > StandardContext.java:3831)
> > > > >>         at
> > > > >
> > > > > That null pointer exception is occuring in
> > > > RollerContext.java at line 143.
> > > > >
> > > > > 141        // get the *real* path to
> > > > <context>/resources
> > > > > 142        String ctxPath =
> > > > mContext.getRealPath("/");
> > > > > 143
> > if(!ctxPath.endsWith(File.separator))
> > > > > 144            ctxPath += File.separator +
> > > > "resources";
> > > > > 145        else
> > > > > 146            ctxPath += "resources";
> > > > >
> > > > > It appears that the call to
> > > > ServletContext.getRealPath() on 142 is
> > > > > failing and returning null, which leads to a
> > null
> > > > pointer exception on
> > > > > line 143.
> > > > >
> > > > > It's possible that your ISP has configured
> > Tomcat
> > > > so that it is not
> > > > > possible to get the real path where the Roller
> > > > application lives.  I'm
> > > > > not sure why an ISP would do that. You might
> > want
> > > > to ask your ISP what
> > > > > restrictions they (or Plesk) place on Java web
> > > > applications.
> > > > >
> > > > > - Dave
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
> 
____________________________________________________________________________________
> > > The fish are biting.
> > > Get more visitors on your site using Yahoo! Search
> > Marketing.
> > >
> >
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> > >
> >
>
>
>
>
>
> 
____________________________________________________________________________________
> Don't get soaked.  Take a quick peek at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
>


Re: roller on plesk controlled site

Posted by Dmitriy <di...@yahoo.com>.
it's 5.0.x

--- Sutra Zhou <zh...@gmail.com> wrote:

> "Cannot
> create JDBC driver of class '' for connect URL '
> null'"
> It looks dirver class and url are all null.
> Is the setting file  roller.xml is not compatible
> with your tomcat.
> 
> What's the version of your tomcat? 5.0.x or 5.5.x?
> 
> 2007/3/25, Dmitriy <di...@yahoo.com>:
> >
> > Yes, I deploy it on linux server using the same
> > roller.xml context that I used on my pc, only
> location
> > has changed:
> >
> >
> > <Resource name="jdbc/rollerdb" auth="Container"
> > type="javax.sql.DataSource" />
> > <ResourceParams name="jdbc/rollerdb">
> > <parameter>
> > <name>factory</name>
> >
>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> > </parameter>
> > <parameter>
> > <name>driverClassName</name>
> > <value>com.mysql.jdbc.Driver</value>
> > </parameter>
> > <parameter>
> > <name>url</name>
> > <value>
> >
> >
>
jdbc:mysql://mydomain/roller?autoReconnect=true&useUnicode=true&characterEncoding
> > =utf-8&mysqlEncoding=utf8
> > </value>
> > </parameter>
> >
>
<parameter><name>username</name><value>user</value></parameter>
> >
>
<parameter><name>password</name><value>password</value></parameter>
> >
>
<parameter><name>maxActive</name><value>20</value></parameter>
> >
>
<parameter><name>maxIdle</name><value>3</value></parameter>
> >
>
<parameter><name>removeAbandoned</name><value>true</value></parameter>
> >
>
<parameter><name>maxWait</name><value>3000</value></parameter>
> > </ResourceParams>
> >
> > --- Sutra Zhou <zh...@gmail.com> wrote:
> >
> > > Have you setted the jndi?
> > >
> > > 2007/3/24, Dmitriy <di...@yahoo.com>:
> > > >
> > > > I am doing war. My ISP asked to use war. I
> have
> > > > redeployed and now get this error:
> > > >
> > > > INFO  2007-03-23 03:39:16,240
> > > > NamingHelper:getInitialContext - JNDI
> > > InitialContext
> > > > properties:{}
> > > > INFO  2007-03-23 03:39:16,242
> > > > DatasourceConnectionProvider:configure - Using
> > > > datasource: java:comp/
> > > > env/jdbc/rollerdb
> > > > WARN  2007-03-23 03:39:16,247
> > > > SettingsFactory:buildSettings - Could not
> obtain
> > > > connection metadata
> > > > org.apache.commons.dbcp.SQLNestedException:
> Cannot
> > > > create JDBC driver of class '' for connect URL
> '
> > > > null'
> > > >         at
> > > >
> > >
> >
>
org.apache.commons.dbcp.BasicDataSource.createDataSource(
> > > > BasicDataSource.java:780)
> > > >         at
> > > >
> > >
> >
>
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
> > > > :540)
> > > >         at
> > > >
> > >
> >
>
org.hibernate.connection.DatasourceConnectionProvider.getConnection
> > > > (DatasourceConnection
> > > > Provider.java:69)
> > > >         at
> > > >
> > >
> >
>
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
> > > >         at
> > > >
> > >
> >
>
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
> > > >         at
> > > >
> > >
> >
>
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
> > > > :1289)
> > > >         at
> > > >
> > >
> >
>
org.apache.roller.business.hibernate.HibernatePersistenceStrategy
> > > > .<init>(HibernatePersis
> > > > tenceStrategy.java:65)
> > > >         at
> > > >
> > >
> >
>
org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
> > > > HibernateRollerImpl.java
> > > > :70)
> > > >
> > > > Again, that same war and config file pointing
> to
> > > the
> > > > same db works on my pc.
> > > >
> > > > Please let me know if this rings any bell.
> > > > Thanks
> > > >
> > > > --- Anil Gangolli <an...@busybuddha.org> wrote:
> > > >
> > > > >
> > > > > This might happen if the you're trying to
> run
> > > Roller
> > > > > in unexploded form as a
> > > > > packed .war.
> > > > >
> > > > >
> > > > > ----- Original Message -----
> > > > > From: "Dave" <sn...@gmail.com>
> > > > > To: <ro...@incubator.apache.org>
> > > > > Sent: Thursday, March 22, 2007 8:18 PM
> > > > > Subject: Re: roller on plesk controlled site
> > > > >
> > > > >
> > > > > > On 3/22/07, Dmitriy <di...@yahoo.com>
> > > wrote:
> > > > > >> I don't it is related to plesk. It's just
> > > > > migration
> > > > > >> from windows to linux.
> > > > > >>
> > > > > >>  have enabled Logger for the application.
> The
> > > log
> > > > > file
> > > > > >> shows the following:
> > > > > >> 2007-03-22 05:02:26
> > > > > StandardContext[/roller]Exception
> > > > > >> sending context initialized event to
> listener
> > > > > instance
> > > > > >> of class
> > > org.apache.roller.ui.core.RollerContext
> > > > > >> java.lang.NullPointerException
> > > > > >>         at
> > > > > >>
> > > > >
> > > >
> > >
> >
>
org.apache.roller.ui.core.RollerContext.contextInitialized(
> > > > RollerContext.java:143)
> > > > > >>         at
> > > > > >>
> > > > >
> > > >
> > >
> >
>
org.apache.catalina.core.StandardContext.listenerStart(
> > > > StandardContext.java:3831)
> > > > > >>         at
> > > > > >
> > > > > > That null pointer exception is occuring in
> > > > > RollerContext.java at line 143.
> > > > > >
> > > > > > 141        // get the *real* path to
> > > > > <context>/resources
> > > > > > 142        String ctxPath =
> > > > > mContext.getRealPath("/");
> > > > > > 143
> > > if(!ctxPath.endsWith(File.separator))
> > > > > > 144            ctxPath += File.separator +
> 
=== message truncated ===



 
____________________________________________________________________________________
It's here! Your new message!  
Get new email alerts with the free Yahoo! Toolbar.
http://tools.search.yahoo.com/toolbar/features/mail/

Re: roller on plesk controlled site

Posted by Sutra Zhou <zh...@gmail.com>.
"Cannot
create JDBC driver of class '' for connect URL '
null'"
It looks dirver class and url are all null.
Is the setting file  roller.xml is not compatible with your tomcat.

What's the version of your tomcat? 5.0.x or 5.5.x?

2007/3/25, Dmitriy <di...@yahoo.com>:
>
> Yes, I deploy it on linux server using the same
> roller.xml context that I used on my pc, only location
> has changed:
>
>
> <Resource name="jdbc/rollerdb" auth="Container"
> type="javax.sql.DataSource" />
> <ResourceParams name="jdbc/rollerdb">
> <parameter>
> <name>factory</name>
> <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
> </parameter>
> <parameter>
> <name>driverClassName</name>
> <value>com.mysql.jdbc.Driver</value>
> </parameter>
> <parameter>
> <name>url</name>
> <value>
>
> jdbc:mysql://mydomain/roller?autoReconnect=true&useUnicode=true&characterEncoding
> =utf-8&mysqlEncoding=utf8
> </value>
> </parameter>
> <parameter><name>username</name><value>user</value></parameter>
> <parameter><name>password</name><value>password</value></parameter>
> <parameter><name>maxActive</name><value>20</value></parameter>
> <parameter><name>maxIdle</name><value>3</value></parameter>
> <parameter><name>removeAbandoned</name><value>true</value></parameter>
> <parameter><name>maxWait</name><value>3000</value></parameter>
> </ResourceParams>
>
> --- Sutra Zhou <zh...@gmail.com> wrote:
>
> > Have you setted the jndi?
> >
> > 2007/3/24, Dmitriy <di...@yahoo.com>:
> > >
> > > I am doing war. My ISP asked to use war. I have
> > > redeployed and now get this error:
> > >
> > > INFO  2007-03-23 03:39:16,240
> > > NamingHelper:getInitialContext - JNDI
> > InitialContext
> > > properties:{}
> > > INFO  2007-03-23 03:39:16,242
> > > DatasourceConnectionProvider:configure - Using
> > > datasource: java:comp/
> > > env/jdbc/rollerdb
> > > WARN  2007-03-23 03:39:16,247
> > > SettingsFactory:buildSettings - Could not obtain
> > > connection metadata
> > > org.apache.commons.dbcp.SQLNestedException: Cannot
> > > create JDBC driver of class '' for connect URL '
> > > null'
> > >         at
> > >
> >
> org.apache.commons.dbcp.BasicDataSource.createDataSource(
> > > BasicDataSource.java:780)
> > >         at
> > >
> >
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
> > > :540)
> > >         at
> > >
> >
> org.hibernate.connection.DatasourceConnectionProvider.getConnection
> > > (DatasourceConnection
> > > Provider.java:69)
> > >         at
> > >
> >
> org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
> > >         at
> > >
> >
> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
> > >         at
> > >
> >
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
> > > :1289)
> > >         at
> > >
> >
> org.apache.roller.business.hibernate.HibernatePersistenceStrategy
> > > .<init>(HibernatePersis
> > > tenceStrategy.java:65)
> > >         at
> > >
> >
> org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
> > > HibernateRollerImpl.java
> > > :70)
> > >
> > > Again, that same war and config file pointing to
> > the
> > > same db works on my pc.
> > >
> > > Please let me know if this rings any bell.
> > > Thanks
> > >
> > > --- Anil Gangolli <an...@busybuddha.org> wrote:
> > >
> > > >
> > > > This might happen if the you're trying to run
> > Roller
> > > > in unexploded form as a
> > > > packed .war.
> > > >
> > > >
> > > > ----- Original Message -----
> > > > From: "Dave" <sn...@gmail.com>
> > > > To: <ro...@incubator.apache.org>
> > > > Sent: Thursday, March 22, 2007 8:18 PM
> > > > Subject: Re: roller on plesk controlled site
> > > >
> > > >
> > > > > On 3/22/07, Dmitriy <di...@yahoo.com>
> > wrote:
> > > > >> I don't it is related to plesk. It's just
> > > > migration
> > > > >> from windows to linux.
> > > > >>
> > > > >>  have enabled Logger for the application. The
> > log
> > > > file
> > > > >> shows the following:
> > > > >> 2007-03-22 05:02:26
> > > > StandardContext[/roller]Exception
> > > > >> sending context initialized event to listener
> > > > instance
> > > > >> of class
> > org.apache.roller.ui.core.RollerContext
> > > > >> java.lang.NullPointerException
> > > > >>         at
> > > > >>
> > > >
> > >
> >
> org.apache.roller.ui.core.RollerContext.contextInitialized(
> > > RollerContext.java:143)
> > > > >>         at
> > > > >>
> > > >
> > >
> >
> org.apache.catalina.core.StandardContext.listenerStart(
> > > StandardContext.java:3831)
> > > > >>         at
> > > > >
> > > > > That null pointer exception is occuring in
> > > > RollerContext.java at line 143.
> > > > >
> > > > > 141        // get the *real* path to
> > > > <context>/resources
> > > > > 142        String ctxPath =
> > > > mContext.getRealPath("/");
> > > > > 143
> > if(!ctxPath.endsWith(File.separator))
> > > > > 144            ctxPath += File.separator +
> > > > "resources";
> > > > > 145        else
> > > > > 146            ctxPath += "resources";
> > > > >
> > > > > It appears that the call to
> > > > ServletContext.getRealPath() on 142 is
> > > > > failing and returning null, which leads to a
> > null
> > > > pointer exception on
> > > > > line 143.
> > > > >
> > > > > It's possible that your ISP has configured
> > Tomcat
> > > > so that it is not
> > > > > possible to get the real path where the Roller
> > > > application lives.  I'm
> > > > > not sure why an ISP would do that. You might
> > want
> > > > to ask your ISP what
> > > > > restrictions they (or Plesk) place on Java web
> > > > applications.
> > > > >
> > > > > - Dave
> > > > >
> > > >
> > > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
>
> ____________________________________________________________________________________
> > > The fish are biting.
> > > Get more visitors on your site using Yahoo! Search
> > Marketing.
> > >
> >
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> > >
> >
>
>
>
>
>
> ____________________________________________________________________________________
> Don't get soaked.  Take a quick peek at the forecast
> with the Yahoo! Search weather shortcut.
> http://tools.search.yahoo.com/shortcuts/#loc_weather
>

Re: roller on plesk controlled site

Posted by Dmitriy <di...@yahoo.com>.
Yes, I deploy it on linux server using the same
roller.xml context that I used on my pc, only location
has changed:


<Resource name="jdbc/rollerdb" auth="Container"
type="javax.sql.DataSource" />
<ResourceParams name="jdbc/rollerdb">
<parameter>
<name>factory</name>
<value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>com.mysql.jdbc.Driver</value>
</parameter>
<parameter>
<name>url</name>
<value>
jdbc:mysql://mydomain/roller?autoReconnect=true&amp;useUnicode=true&amp;characterEncoding
=utf-8&amp;mysqlEncoding=utf8
</value>
</parameter>
<parameter><name>username</name><value>user</value></parameter>
<parameter><name>password</name><value>password</value></parameter>
<parameter><name>maxActive</name><value>20</value></parameter>
<parameter><name>maxIdle</name><value>3</value></parameter>
<parameter><name>removeAbandoned</name><value>true</value></parameter>
<parameter><name>maxWait</name><value>3000</value></parameter>
</ResourceParams>

--- Sutra Zhou <zh...@gmail.com> wrote:

> Have you setted the jndi?
> 
> 2007/3/24, Dmitriy <di...@yahoo.com>:
> >
> > I am doing war. My ISP asked to use war. I have
> > redeployed and now get this error:
> >
> > INFO  2007-03-23 03:39:16,240
> > NamingHelper:getInitialContext - JNDI
> InitialContext
> > properties:{}
> > INFO  2007-03-23 03:39:16,242
> > DatasourceConnectionProvider:configure - Using
> > datasource: java:comp/
> > env/jdbc/rollerdb
> > WARN  2007-03-23 03:39:16,247
> > SettingsFactory:buildSettings - Could not obtain
> > connection metadata
> > org.apache.commons.dbcp.SQLNestedException: Cannot
> > create JDBC driver of class '' for connect URL '
> > null'
> >         at
> >
>
org.apache.commons.dbcp.BasicDataSource.createDataSource(
> > BasicDataSource.java:780)
> >         at
> >
>
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
> > :540)
> >         at
> >
>
org.hibernate.connection.DatasourceConnectionProvider.getConnection
> > (DatasourceConnection
> > Provider.java:69)
> >         at
> >
>
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
> >         at
> >
>
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
> >         at
> >
>
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
> > :1289)
> >         at
> >
>
org.apache.roller.business.hibernate.HibernatePersistenceStrategy
> > .<init>(HibernatePersis
> > tenceStrategy.java:65)
> >         at
> >
>
org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
> > HibernateRollerImpl.java
> > :70)
> >
> > Again, that same war and config file pointing to
> the
> > same db works on my pc.
> >
> > Please let me know if this rings any bell.
> > Thanks
> >
> > --- Anil Gangolli <an...@busybuddha.org> wrote:
> >
> > >
> > > This might happen if the you're trying to run
> Roller
> > > in unexploded form as a
> > > packed .war.
> > >
> > >
> > > ----- Original Message -----
> > > From: "Dave" <sn...@gmail.com>
> > > To: <ro...@incubator.apache.org>
> > > Sent: Thursday, March 22, 2007 8:18 PM
> > > Subject: Re: roller on plesk controlled site
> > >
> > >
> > > > On 3/22/07, Dmitriy <di...@yahoo.com>
> wrote:
> > > >> I don't it is related to plesk. It's just
> > > migration
> > > >> from windows to linux.
> > > >>
> > > >>  have enabled Logger for the application. The
> log
> > > file
> > > >> shows the following:
> > > >> 2007-03-22 05:02:26
> > > StandardContext[/roller]Exception
> > > >> sending context initialized event to listener
> > > instance
> > > >> of class
> org.apache.roller.ui.core.RollerContext
> > > >> java.lang.NullPointerException
> > > >>         at
> > > >>
> > >
> >
>
org.apache.roller.ui.core.RollerContext.contextInitialized(
> > RollerContext.java:143)
> > > >>         at
> > > >>
> > >
> >
>
org.apache.catalina.core.StandardContext.listenerStart(
> > StandardContext.java:3831)
> > > >>         at
> > > >
> > > > That null pointer exception is occuring in
> > > RollerContext.java at line 143.
> > > >
> > > > 141        // get the *real* path to
> > > <context>/resources
> > > > 142        String ctxPath =
> > > mContext.getRealPath("/");
> > > > 143       
> if(!ctxPath.endsWith(File.separator))
> > > > 144            ctxPath += File.separator +
> > > "resources";
> > > > 145        else
> > > > 146            ctxPath += "resources";
> > > >
> > > > It appears that the call to
> > > ServletContext.getRealPath() on 142 is
> > > > failing and returning null, which leads to a
> null
> > > pointer exception on
> > > > line 143.
> > > >
> > > > It's possible that your ISP has configured
> Tomcat
> > > so that it is not
> > > > possible to get the real path where the Roller
> > > application lives.  I'm
> > > > not sure why an ISP would do that. You might
> want
> > > to ask your ISP what
> > > > restrictions they (or Plesk) place on Java web
> > > applications.
> > > >
> > > > - Dave
> > > >
> > >
> > >
> >
> >
> >
> >
> >
> >
>
____________________________________________________________________________________
> > The fish are biting.
> > Get more visitors on your site using Yahoo! Search
> Marketing.
> >
>
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
> >
> 



 
____________________________________________________________________________________
Don't get soaked.  Take a quick peek at the forecast
with the Yahoo! Search weather shortcut.
http://tools.search.yahoo.com/shortcuts/#loc_weather

Re: roller on plesk controlled site

Posted by Sutra Zhou <zh...@gmail.com>.
Have you setted the jndi?

2007/3/24, Dmitriy <di...@yahoo.com>:
>
> I am doing war. My ISP asked to use war. I have
> redeployed and now get this error:
>
> INFO  2007-03-23 03:39:16,240
> NamingHelper:getInitialContext - JNDI InitialContext
> properties:{}
> INFO  2007-03-23 03:39:16,242
> DatasourceConnectionProvider:configure - Using
> datasource: java:comp/
> env/jdbc/rollerdb
> WARN  2007-03-23 03:39:16,247
> SettingsFactory:buildSettings - Could not obtain
> connection metadata
> org.apache.commons.dbcp.SQLNestedException: Cannot
> create JDBC driver of class '' for connect URL '
> null'
>         at
> org.apache.commons.dbcp.BasicDataSource.createDataSource(
> BasicDataSource.java:780)
>         at
> org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java
> :540)
>         at
> org.hibernate.connection.DatasourceConnectionProvider.getConnection
> (DatasourceConnection
> Provider.java:69)
>         at
> org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
>         at
> org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
>         at
> org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java
> :1289)
>         at
> org.apache.roller.business.hibernate.HibernatePersistenceStrategy
> .<init>(HibernatePersis
> tenceStrategy.java:65)
>         at
> org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(
> HibernateRollerImpl.java
> :70)
>
> Again, that same war and config file pointing to the
> same db works on my pc.
>
> Please let me know if this rings any bell.
> Thanks
>
> --- Anil Gangolli <an...@busybuddha.org> wrote:
>
> >
> > This might happen if the you're trying to run Roller
> > in unexploded form as a
> > packed .war.
> >
> >
> > ----- Original Message -----
> > From: "Dave" <sn...@gmail.com>
> > To: <ro...@incubator.apache.org>
> > Sent: Thursday, March 22, 2007 8:18 PM
> > Subject: Re: roller on plesk controlled site
> >
> >
> > > On 3/22/07, Dmitriy <di...@yahoo.com> wrote:
> > >> I don't it is related to plesk. It's just
> > migration
> > >> from windows to linux.
> > >>
> > >>  have enabled Logger for the application. The log
> > file
> > >> shows the following:
> > >> 2007-03-22 05:02:26
> > StandardContext[/roller]Exception
> > >> sending context initialized event to listener
> > instance
> > >> of class org.apache.roller.ui.core.RollerContext
> > >> java.lang.NullPointerException
> > >>         at
> > >>
> >
> org.apache.roller.ui.core.RollerContext.contextInitialized(
> RollerContext.java:143)
> > >>         at
> > >>
> >
> org.apache.catalina.core.StandardContext.listenerStart(
> StandardContext.java:3831)
> > >>         at
> > >
> > > That null pointer exception is occuring in
> > RollerContext.java at line 143.
> > >
> > > 141        // get the *real* path to
> > <context>/resources
> > > 142        String ctxPath =
> > mContext.getRealPath("/");
> > > 143        if(!ctxPath.endsWith(File.separator))
> > > 144            ctxPath += File.separator +
> > "resources";
> > > 145        else
> > > 146            ctxPath += "resources";
> > >
> > > It appears that the call to
> > ServletContext.getRealPath() on 142 is
> > > failing and returning null, which leads to a null
> > pointer exception on
> > > line 143.
> > >
> > > It's possible that your ISP has configured Tomcat
> > so that it is not
> > > possible to get the real path where the Roller
> > application lives.  I'm
> > > not sure why an ISP would do that. You might want
> > to ask your ISP what
> > > restrictions they (or Plesk) place on Java web
> > applications.
> > >
> > > - Dave
> > >
> >
> >
>
>
>
>
>
> ____________________________________________________________________________________
> The fish are biting.
> Get more visitors on your site using Yahoo! Search Marketing.
> http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php
>

Re: roller on plesk controlled site

Posted by Dmitriy <di...@yahoo.com>.
I am doing war. My ISP asked to use war. I have
redeployed and now get this error:

INFO  2007-03-23 03:39:16,240
NamingHelper:getInitialContext - JNDI InitialContext
properties:{}
INFO  2007-03-23 03:39:16,242
DatasourceConnectionProvider:configure - Using
datasource: java:comp/
env/jdbc/rollerdb
WARN  2007-03-23 03:39:16,247
SettingsFactory:buildSettings - Could not obtain
connection metadata
org.apache.commons.dbcp.SQLNestedException: Cannot
create JDBC driver of class '' for connect URL '
null'
        at
org.apache.commons.dbcp.BasicDataSource.createDataSource(BasicDataSource.java:780)
        at
org.apache.commons.dbcp.BasicDataSource.getConnection(BasicDataSource.java:540)
        at
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnection
Provider.java:69)
        at
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:76)
        at
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
        at
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289)
        at
org.apache.roller.business.hibernate.HibernatePersistenceStrategy.<init>(HibernatePersis
tenceStrategy.java:65)
        at
org.apache.roller.business.hibernate.HibernateRollerImpl.<init>(HibernateRollerImpl.java
:70)

Again, that same war and config file pointing to the
same db works on my pc.

Please let me know if this rings any bell.
Thanks

--- Anil Gangolli <an...@busybuddha.org> wrote:

> 
> This might happen if the you're trying to run Roller
> in unexploded form as a 
> packed .war.
> 
> 
> ----- Original Message ----- 
> From: "Dave" <sn...@gmail.com>
> To: <ro...@incubator.apache.org>
> Sent: Thursday, March 22, 2007 8:18 PM
> Subject: Re: roller on plesk controlled site
> 
> 
> > On 3/22/07, Dmitriy <di...@yahoo.com> wrote:
> >> I don't it is related to plesk. It's just
> migration
> >> from windows to linux.
> >>
> >>  have enabled Logger for the application. The log
> file
> >> shows the following:
> >> 2007-03-22 05:02:26
> StandardContext[/roller]Exception
> >> sending context initialized event to listener
> instance
> >> of class org.apache.roller.ui.core.RollerContext
> >> java.lang.NullPointerException
> >>         at
> >>
>
org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:143)
> >>         at
> >>
>
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831)
> >>         at
> >
> > That null pointer exception is occuring in
> RollerContext.java at line 143.
> >
> > 141        // get the *real* path to
> <context>/resources
> > 142        String ctxPath =
> mContext.getRealPath("/");
> > 143        if(!ctxPath.endsWith(File.separator))
> > 144            ctxPath += File.separator +
> "resources";
> > 145        else
> > 146            ctxPath += "resources";
> >
> > It appears that the call to
> ServletContext.getRealPath() on 142 is
> > failing and returning null, which leads to a null
> pointer exception on
> > line 143.
> >
> > It's possible that your ISP has configured Tomcat
> so that it is not
> > possible to get the real path where the Roller
> application lives.  I'm
> > not sure why an ISP would do that. You might want
> to ask your ISP what
> > restrictions they (or Plesk) place on Java web
> applications.
> >
> > - Dave
> > 
> 
> 



 
____________________________________________________________________________________
The fish are biting. 
Get more visitors on your site using Yahoo! Search Marketing.
http://searchmarketing.yahoo.com/arp/sponsoredsearch_v2.php

Re: roller on plesk controlled site

Posted by Anil Gangolli <an...@busybuddha.org>.
This might happen if the you're trying to run Roller in unexploded form as a 
packed .war.


----- Original Message ----- 
From: "Dave" <sn...@gmail.com>
To: <ro...@incubator.apache.org>
Sent: Thursday, March 22, 2007 8:18 PM
Subject: Re: roller on plesk controlled site


> On 3/22/07, Dmitriy <di...@yahoo.com> wrote:
>> I don't it is related to plesk. It's just migration
>> from windows to linux.
>>
>>  have enabled Logger for the application. The log file
>> shows the following:
>> 2007-03-22 05:02:26 StandardContext[/roller]Exception
>> sending context initialized event to listener instance
>> of class org.apache.roller.ui.core.RollerContext
>> java.lang.NullPointerException
>>         at
>> org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:143)
>>         at
>> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831)
>>         at
>
> That null pointer exception is occuring in RollerContext.java at line 143.
>
> 141        // get the *real* path to <context>/resources
> 142        String ctxPath = mContext.getRealPath("/");
> 143        if(!ctxPath.endsWith(File.separator))
> 144            ctxPath += File.separator + "resources";
> 145        else
> 146            ctxPath += "resources";
>
> It appears that the call to ServletContext.getRealPath() on 142 is
> failing and returning null, which leads to a null pointer exception on
> line 143.
>
> It's possible that your ISP has configured Tomcat so that it is not
> possible to get the real path where the Roller application lives.  I'm
> not sure why an ISP would do that. You might want to ask your ISP what
> restrictions they (or Plesk) place on Java web applications.
>
> - Dave
> 


Re: roller on plesk controlled site

Posted by Dave <sn...@gmail.com>.
On 3/22/07, Dmitriy <di...@yahoo.com> wrote:
> I don't it is related to plesk. It's just migration
> from windows to linux.
>
>  have enabled Logger for the application. The log file
> shows the following:
> 2007-03-22 05:02:26 StandardContext[/roller]Exception
> sending context initialized event to listener instance
> of class org.apache.roller.ui.core.RollerContext
> java.lang.NullPointerException
>         at
> org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:143)
>         at
> org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831)
>         at

That null pointer exception is occuring in RollerContext.java at line 143.

141        // get the *real* path to <context>/resources
142        String ctxPath = mContext.getRealPath("/");
143        if(!ctxPath.endsWith(File.separator))
144            ctxPath += File.separator + "resources";
145        else
146            ctxPath += "resources";

It appears that the call to ServletContext.getRealPath() on 142 is
failing and returning null, which leads to a null pointer exception on
line 143.

It's possible that your ISP has configured Tomcat so that it is not
possible to get the real path where the Roller application lives.  I'm
not sure why an ISP would do that. You might want to ask your ISP what
restrictions they (or Plesk) place on Java web applications.

- Dave

Connections Theme for apache-roller-3.0-incubating

Posted by ch...@gsa.gov.
I am looking for Connections theme to use in apache-roller-3.0-incubating. 
I saw one already ported in Jroller blog
but could not find a down load.

Thanks 



apache-roller-3.0-incubating Errors

Posted by ch...@gsa.gov.
I installed roller 3.0 and have been having this problems. I would 
appreciate your help, See below:
 
My roller version is apache-roller-3.0-incubating down loaded from apache
Application server is BEA WLS 9.2
Database: Oracle 9i  version 9.2.0.1.0
JDK version:    1.5.0_06
OS:     Solaris 5.9 (9)
Does not matter which browser using Firefox , IE same result.

When I go to my blog site and click on Preference Themes or  Settings 
themes I do get the same error or any time I want to select a new theme.
See error below.
Unexpected Exception
Roller has encountered and logged an unexpected exception.

The roller log and application server log contains the following:
Appserver log:

Subsystem:      HTTP
Severity:       Error

Message ID:     BEA-101107

Meessage:
[weblogic.servlet.internal.WebAppServletContext@1c7378f - appName: 
'roller', name: 'roller', context-path: '/roller'] Problem occurred while 
serving the error page. javax.servlet.jsp.JspException: ServletException 
in '/WEB-INF/jsps/tiles/tiles-simplepage.jsp': Can't insert page 
'/WEB-INF/jsps/tiles/bannerStatus.jsp' : Broken pipe at 
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:921) 
at org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460) 
at jsp_servlet._web_45_inf._jsps.__404._jsp__tag3(__404.java:309) at 
jsp_servlet._web_45_inf._jsps.__404._jspService(__404.java:162) at 
weblogic.servlet.jsp.JspBase.service(JspBase.java:34) at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223) 
at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) 
at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) 
at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175) 
at 
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500) 
at 
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245) 
at 
weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:706) 
at 
weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:555) 
at weblogic.servlet.FileServlet.findSource(FileServlet.java:265) at 
weblogic.servlet.FileServlet.doGetHeadPost(FileServlet.java:188) at 
weblogic.servlet.FileServlet.service(FileServlet.java:170) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223) 
at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125) 
at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283) 
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26) at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) 
at 
org.apache.roller.ui.rendering.filters.RequestMappingFilter.doFilter(RequestMappingFilter.java:140) 
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) 
at 
org.apache.roller.ui.core.filters.InitFilter.doFilter(InitFilter.java:71) 
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) 
at 
org.apache.roller.ui.core.filters.PersistenceSessionFilter.doFilter(PersistenceSessionFilter.java:60) 
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264) 
at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107) 
at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:138) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:135) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191) 
at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274) 
at 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148) 
at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90) 
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) 
at 
org.apache.roller.ui.core.filters.SchemeEnforcementFilter.doFilter(SchemeEnforcementFilter.java:121) 
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) 
at 
org.apache.roller.ui.core.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:104) 
at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42) 
at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243) 
at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) 
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121) 
at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003) 
at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909) 
at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359) 
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209) at 
weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

####<Mar 21, 2007 12:11:30 PM EDT> <Error> <HTTP> <xcoh2wash4> 
<usgovblogServer-0> <[ACTIVE] ExecuteThread: '1' for queue: 
'weblogic.kernel.Default (self-tuning)'> <<WLS Kernel>> <> <> 
<1174493490673> <BEA-101020> 
<[weblogic.servlet.internal.WebAppServletContext@1dc6592 - appName: 
'roller', name: 'roller', context-path: '/roller'] Servlet failed with 
Exception
java.lang.NullPointerException
        at 
weblogic.servlet.internal.WebAppConfigManager.getMimeType(WebAppConfigManager.java:562)
        at 
weblogic.servlet.internal.WebAppServletContext.getMimeType(WebAppServletContext.java:566)
        at 
org.apache.roller.ui.rendering.servlets.PreviewServlet.doGet(PreviewServlet.java:138)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
        at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at 
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.rendering.filters.RequestMappingFilter.doFilter(RequestMappingFilter.java:140)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.InitFilter.doFilter(InitFilter.java:71)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.PersistenceSessionFilter.doFilter(PersistenceSessionFilter.java:60)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
        at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:138)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
        at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.SchemeEnforcementFilter.doFilter(SchemeEnforcementFilter.java:121)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:104)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
        at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
        at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)

Roller Log:

ERROR 2007-03-22 09:59:20,684 InsertTag$InsertHandler:doEndTag - 
ServletException in '/WEB-INF/jsps/tiles/tiles-simplepage.jsp': Can't 
insert page '/WEB-INF/jsps/tiles/head.jsp' : Broken pipe
javax.servlet.ServletException: Can't insert page 
'/WEB-INF/jsps/tiles/head.jsp' : Broken pipe
        at 
weblogic.servlet.jsp.PageContextImpl.handlePageException(PageContextImpl.java:409)
        at 
jsp_servlet._web_45_inf._jsps._tiles.__tiles_45_simplepage._jspService(__tiles_45_simplepage.java:233)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
        at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at 
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
        at 
weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:431)
        at 
weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:152)
        at 
org.apache.struts.tiles.TilesUtilImpl.doInclude(TilesUtilImpl.java:101)
        at org.apache.struts.tiles.TilesUtil.doInclude(TilesUtil.java:137)
        at 
org.apache.struts.taglib.tiles.InsertTag.doInclude(InsertTag.java:758)
        at 
org.apache.struts.taglib.tiles.InsertTag$InsertHandler.doEndTag(InsertTag.java:890)
        at 
org.apache.struts.taglib.tiles.InsertTag.doEndTag(InsertTag.java:460)
        at jsp_servlet._web_45_inf._jsps.__404._jsp__tag3(__404.java:309)
        at jsp_servlet._web_45_inf._jsps.__404._jspService(__404.java:162)
        at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
        at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
        at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
        at 
weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:500)
        at 
weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:245)
        at 
weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:706)
        at 
weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:555)
        at weblogic.servlet.FileServlet.findSource(FileServlet.java:265)
        at 
weblogic.servlet.FileServlet.doGetHeadPost(FileServlet.java:188)
        at weblogic.servlet.FileServlet.service(FileServlet.java:170)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
        at 
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:223)
        at 
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
        at 
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:283)
        at 
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.rendering.filters.RequestMappingFilter.doFilter(RequestMappingFilter.java:140)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.InitFilter.doFilter(InitFilter.java:71)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.PersistenceSessionFilter.doFilter(PersistenceSessionFilter.java:60)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:264)
        at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.invoke(FilterSecurityInterceptor.java:107)
        at 
org.acegisecurity.intercept.web.FilterSecurityInterceptor.doFilter(FilterSecurityInterceptor.java:72)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.ExceptionTranslationFilter.doFilter(ExceptionTranslationFilter.java:110)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.providers.anonymous.AnonymousProcessingFilter.doFilter(AnonymousProcessingFilter.java:125)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.wrapper.SecurityContextHolderAwareRequestFilter.doFilter(SecurityContextHolderAwareRequestFilter.java:81)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.securechannel.ChannelProcessingFilter.doFilter(ChannelProcessingFilter.java:138)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.rememberme.RememberMeProcessingFilter.doFilter(RememberMeProcessingFilter.java:142)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.ui.AbstractProcessingFilter.doFilter(AbstractProcessingFilter.java:217)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.context.HttpSessionContextIntegrationFilter.doFilter(HttpSessionContextIntegrationFilter.java:191)
        at 
org.acegisecurity.util.FilterChainProxy$VirtualFilterChain.doFilter(FilterChainProxy.java:274)
        at 
org.acegisecurity.util.FilterChainProxy.doFilter(FilterChainProxy.java:148)
        at 
org.acegisecurity.util.FilterToBeanProxy.doFilter(FilterToBeanProxy.java:90)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.SchemeEnforcementFilter.doFilter(SchemeEnforcementFilter.java:121)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
org.apache.roller.ui.core.filters.CharEncodingFilter.doFilter(CharEncodingFilter.java:104)
        at 
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:42)
        at 
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3243)
        at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
        at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
        at 
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2003)
        at 
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:1909)
        at 
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1359)
        at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
        at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)





Re: roller on plesk controlled site

Posted by Dmitriy <di...@yahoo.com>.
I don't it is related to plesk. It's just migration
from windows to linux.

 have enabled Logger for the application. The log file
shows the following:
2007-03-22 05:02:26 StandardContext[/roller]Exception
sending context initialized event to listener instance
of class org.apache.roller.ui.core.RollerContext
java.lang.NullPointerException
        at
org.apache.roller.ui.core.RollerContext.contextInitialized(RollerContext.java:143)
        at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3831)
        at
org.apache.catalina.core.StandardContext.start(StandardContext.java:4323)
        at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:823)
        at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:807)
        at
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:595)
        at
org.apache.catalina.core.StandardHostDeployer.addChild(StandardHostDeployer.java:903)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216)
        at
org.apache.commons.digester.SetNextRule.end(SetNextRule.java:208)
        at
org.apache.commons.digester.Rule.end(Rule.java:228)
        at
org.apache.commons.digester.Digester.endElement(Digester.java:1067)
        at
org.apache.catalina.util.CatalinaDigester.endElement(CatalinaDigester.java:76)
        at
org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown
Source)
        at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.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.XML11Configuration.parse(Unknown
Source)
        at
org.apache.xerces.parsers.XMLParser.parse(Unknown
Source)
        at
org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown
Source)
        at
org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown
Source)
        at
org.apache.commons.digester.Digester.parse(Digester.java:1591)
        at
org.apache.catalina.core.StandardHostDeployer.install(StandardHostDeployer.java:488)
        at
org.apache.catalina.core.StandardHost.install(StandardHost.java:863)
        at
org.apache.catalina.startup.HostConfig.deployDescriptors(HostConfig.java:483)
        at
org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:427)
        at
org.apache.catalina.startup.HostConfig.start(HostConfig.java:983)
        at
org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:349)
        at
org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:119)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1091)
        at
org.apache.catalina.core.StandardHost.start(StandardHost.java:789)
        at
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1083)
        at
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:478)
        at
org.apache.catalina.core.StandardService.start(StandardService.java:480)
        at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2313)
        at
org.apache.catalina.startup.Catalina.start(Catalina.java:556)
        at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at
java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:287)
        at
org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:425)




It seems that some required libs for this application
are not installed on the server. But I did test the
same war with all libs required inside, on my own box.

Please let me know what you think.
Thanks


--- Dave <sn...@gmail.com> wrote:

> I've never heard of any problems with Roller on
> Plesk, but then again
> I've never heard of Plesk before today either.
> 
> From your description of the problem it appears that
> Tomcat failed to
> load the Roller context due to a configuration
> problem or an exception
> during Roller startup. You can probably find some
> clues in the Tomcat
> catalina.out file or possibly roller.log.
> 
> - Dave
> 
> 
> 
> On 3/19/07, Dmitriy <di...@yahoo.com> wrote:
> > Hi,
> >
> > Is there any issues with roller on plesk
> controlled
> > sites?
> > I am trying to deploy roller.war to my linux based
> > site that already has a main application at the
> root.
> > I have added a new context roller.xml to the root
> -
> > /usr/share/tomcat5/conf/PSA/mydomain directory and
> > pointed it to the new war.
> > <Context
> >
>
docBase="/usr/share/tomcat5/psa-wars/mydomain/roller.war"
> > path="/roller">. The war and the new DB is created
> as
> > well and it all works on my home computer.
> >
> > When I try to access it I see error: The requested
> > resource (/roller/) is not available.
> > Please let me know if I did something wrong.
> Thanks
> >
> >
> >
> >
>
____________________________________________________________________________________
> > Never miss an email again!
> > Yahoo! Toolbar alerts you the instant new Mail
> arrives.
> >
> http://tools.search.yahoo.com/toolbar/features/mail/
> >
> 




 
____________________________________________________________________________________
Need Mail bonding?
Go to the Yahoo! Mail Q&A for great tips from Yahoo! Answers users.
http://answers.yahoo.com/dir/?link=list&sid=396546091

Re: roller on plesk controlled site

Posted by Dave <sn...@gmail.com>.
I've never heard of any problems with Roller on Plesk, but then again
I've never heard of Plesk before today either.

>From your description of the problem it appears that Tomcat failed to
load the Roller context due to a configuration problem or an exception
during Roller startup. You can probably find some clues in the Tomcat
catalina.out file or possibly roller.log.

- Dave



On 3/19/07, Dmitriy <di...@yahoo.com> wrote:
> Hi,
>
> Is there any issues with roller on plesk controlled
> sites?
> I am trying to deploy roller.war to my linux based
> site that already has a main application at the root.
> I have added a new context roller.xml to the root -
> /usr/share/tomcat5/conf/PSA/mydomain directory and
> pointed it to the new war.
> <Context
> docBase="/usr/share/tomcat5/psa-wars/mydomain/roller.war"
> path="/roller">. The war and the new DB is created as
> well and it all works on my home computer.
>
> When I try to access it I see error: The requested
> resource (/roller/) is not available.
> Please let me know if I did something wrong. Thanks
>
>
>
> ____________________________________________________________________________________
> Never miss an email again!
> Yahoo! Toolbar alerts you the instant new Mail arrives.
> http://tools.search.yahoo.com/toolbar/features/mail/
>