You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@roller.apache.org by Dave <sn...@gmail.com> on 2007/05/01 13:32:36 UTC

Re: Help in debugging config/install problem

You could be missing some jars or have a configuration problem. I'd
have to see your log files to tell. Please stop Tomcat, delete all of
the Tomcat log files, restart Tomcat, access the registerUser page and
then send us the catalina.out and roller.log files -- there should be
some useful clues in there.

- Dave



On 4/30/07, Scott Dunbar <sc...@xigole.com> wrote:
> Hello,
> I've been running 2.3-incubating for quite some time with no issues.
> I'm attempting to get 3.1 setup and working.  I attempted an upgrade and
> have now moved to a totally fresh install but continue to have the same
> issue.  I'm confident that it is something easy but am missing where it is.
>
> Basically it looks like Struts isn't configured correctly.  I can load
> index.jsp with no problems but everything else 404's on me.  For
> example, going to /roller-ui/user.do?method=registerUser results in a 404.
>
> My configuration is a little different than the default in that I have
> am using a virtual host for the entire blog site.  I had the same
> configuration in 2.3 and it worked fine.  The configuration looks like:
>
> <Host name="blog.myhostname.tld"
> appBase="/path/to/apache-roller-3.1/webapp/roller"
>               unpackWARs="true" autoDeploy="true">
>
>     <Context path="" docBase="">
>         <Resource name="jdbc/rollerdb"
>                   auth="Container"
>                   type="javax.sql.DataSource"
>                   username="user"
>                   password="passwd"
>                   driverClassName="org.postgresql.Driver"
>                   url="jdbc:postgresql://localhost:5432/rollerdb"
>                   maxActive="16"
>                   maxIdle="4"/>
>     </Context>
> </Host>
>
>
> I'm on CentOS 4.4, Tomcat 5.5.20, Sun Java 1.5.0_11 with a PostgreSQL
> 8.1 database.  It appears as if I have database connectivity.
>
> An additional wierdness - selecting "Login"
> (/roller-ui/login-redirect.jsp) gives a JSP compilation error that it
> can't find a variety of types.  When I've seen this error before it is
> usually because there is a class missing in WEB-INF/lib or
> WEB-INF/classes but everything seems to be there.  Going to this page
> gives me:
>
> org.apache.jasper.JasperException: Unable to compile class for JSP
>
> Generated servlet error:
> Only a type can be imported. org.apache.roller.ui.core.RollerSession resolves to a package
>
> An error occurred at line: 23 in the jsp file: /login-redirect.jsp
> Generated servlet error:
> UserData cannot be resolved to a type
>
> An error occurred at line: 23 in the jsp file: /login-redirect.jsp
> Generated servlet error:
> RollerSession cannot be resolved
>
> ...
>
>
> I've set the logging level for struts to DEBUG but don't seem to be able
> to track down what is going on.  I'm looking for some additional ideas
> on how to debug what is different in my setup from what apparently works
> for other installs or at least how to track down where I went wrong in
> my configuration.
>
> Any help would be greatly appreciated.
>

Re: Help in debugging config/install problem

Posted by Enrique Rodríguez Lasterra <la...@javahispano.org>.
yes, i going bak to tomcat 5.5.7 and now i can log into administration. Now
i have other problems... but is early to ask.

2007/5/9, Scott Dunbar <sc...@xigole.com>:
>
> What version of Tomcat are you using?  I've been having a related
> discussion on the Tomcat users mailing list and what it boils down to is
> sometime between 5.5.15 and 5.5.23 the behavior of Tomcat changed to not
> allow the root of a virtual host to be a Context.  The solution I had
> before is actually still not correct as it won't work in Tomcat 5.5.23.
> I have not figured out the "correct" way to have this work in Tomcat
> 5.5.23.
>
> The beginning of my thread is at
> http://marc.info/?l=tomcat-user&m=117857181213876&w=2 if you're
> interested.
>
>
>
> Enrique Rodríguez Lasterra wrote:
> > I've the same behaviour.
> >
> > This is my roller.log (there is no errors also on catalina.out)
> >
> > INFO  2007-05-09 02:23:05,035 RollerConfig:<clinit> - successfully
> loaded
> > default properties.
> > INFO  2007-05-09 02:23:05,038 RollerConfig:<clinit> - no custom
> > properties
> > file found in classpath
>
> [snip]
>



-- 
_______________________________
Enrique Rodriguez Lasterra
lasterra AT javahispano DOT org
http://www.javahispano.org
Asociación sin ánimo de lucro sobre java
Spanish non profit association about java

Re: Help in debugging config/install problem

Posted by Scott Dunbar <sc...@xigole.com>.
What version of Tomcat are you using?  I've been having a related 
discussion on the Tomcat users mailing list and what it boils down to is 
sometime between 5.5.15 and 5.5.23 the behavior of Tomcat changed to not 
allow the root of a virtual host to be a Context.  The solution I had 
before is actually still not correct as it won't work in Tomcat 5.5.23.  
I have not figured out the "correct" way to have this work in Tomcat 5.5.23.

The beginning of my thread is at 
http://marc.info/?l=tomcat-user&m=117857181213876&w=2 if you're interested.



Enrique Rodríguez Lasterra wrote:
> I've the same behaviour.
>
> This is my roller.log (there is no errors also on catalina.out)
>
> INFO  2007-05-09 02:23:05,035 RollerConfig:<clinit> - successfully loaded
> default properties.
> INFO  2007-05-09 02:23:05,038 RollerConfig:<clinit> - no custom 
> properties
> file found in classpath

[snip]

Re: Help in debugging config/install problem

Posted by Enrique Rodríguez Lasterra <la...@javahispano.org>.
I've the same behaviour.

This is my roller.log (there is no errors also on catalina.out)

INFO  2007-05-09 02:23:05,035 RollerConfig:<clinit> - successfully loaded
default properties.
INFO  2007-05-09 02:23:05,038 RollerConfig:<clinit> - no custom properties
file found in classpath
INFO  2007-05-09 02:23:05,039 RollerConfig:<clinit> - no custom properties
file specified via jvm option
INFO  2007-05-09 02:23:05,451 UpgradeDatabase:upgradeDatabase - Database is
current, no upgrade needed
INFO  2007-05-09 02:23:05,494 HibernatePersistenceStrategy:<init> -
configResource: /hibernate.cfg.xml
INFO  2007-05-09 02:23:05,495 HibernatePersistenceStrategy:<init> -
dialect:        org.hibernate.dialect.MySQLDialect
INFO  2007-05-09 02:23:05,682 Environment:<clinit> - Hibernate 3.1.2
INFO  2007-05-09 02:23:05,687 Environment:<clinit> -
hibernate.propertiesnot found
INFO  2007-05-09 02:23:05,689 Environment:<clinit> - using CGLIB reflection
optimizer
INFO  2007-05-09 02:23:05,690 Environment:<clinit> - using JDK 1.4
java.sql.Timestamp handling
INFO  2007-05-09 02:23:05,766 Configuration:configure - configuring from XML
document
INFO  2007-05-09 02:23:05,822 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/RollerPropertyData.hbm.xml
INFO  2007-05-09 02:23:06,017 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.RollerPropertyData ->
roller_properties
INFO  2007-05-09 02:23:06,034 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/UserData.hbm.xml
INFO  2007-05-09 02:23:06,153 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.UserData -> rolleruser
INFO  2007-05-09 02:23:06,162 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/RoleData.hbm.xml
INFO  2007-05-09 02:23:06,191 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.RoleData -> userrole
INFO  2007-05-09 02:23:06,262 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/RollerConfigData.hbm.xml
INFO  2007-05-09 02:23:06,290 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.RollerConfigData -> rollerconfig
INFO  2007-05-09 02:23:06,292 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/WebsiteData.hbm.xml
INFO  2007-05-09 02:23:06,391 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.WebsiteData -> website
INFO  2007-05-09 02:23:06,394 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/PermissionsData.hbm.xml
INFO  2007-05-09 02:23:06,405 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.PermissionsData ->
roller_user_permissions
INFO  2007-05-09 02:23:06,406 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/BookmarkData.hbm.xml
INFO  2007-05-09 02:23:06,417 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.BookmarkData -> bookmark
INFO  2007-05-09 02:23:06,418 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/CommentData.hbm.xml
INFO  2007-05-09 02:23:06,432 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.CommentData -> roller_comment
INFO  2007-05-09 02:23:06,434 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/FolderAssoc.hbm.xml
INFO  2007-05-09 02:23:06,447 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.FolderAssoc -> folderassoc
INFO  2007-05-09 02:23:06,450 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/FolderData.hbm.xml
INFO  2007-05-09 02:23:06,462 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.FolderData -> folder
INFO  2007-05-09 02:23:06,464 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/WeblogTemplate.hbm.xml
INFO  2007-05-09 02:23:06,474 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.WeblogTemplate -> webpage
INFO  2007-05-09 02:23:06,475 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/PingCategoryRestrictionData.hbm.xml
INFO  2007-05-09 02:23:06,485 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.PingCategoryRestrictionData ->
pingcategory
INFO  2007-05-09 02:23:06,490 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/AutoPingData.hbm.xml
INFO  2007-05-09 02:23:06,502 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.AutoPingData -> autoping
INFO  2007-05-09 02:23:06,503 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/PingQueueEntryData.hbm.xml
INFO  2007-05-09 02:23:06,512 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.PingQueueEntryData ->
pingqueueentry
INFO  2007-05-09 02:23:06,513 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/PingTargetData.hbm.xml
INFO  2007-05-09 02:23:06,526 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.PingTargetData -> pingtarget
INFO  2007-05-09 02:23:06,527 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/RefererData.hbm.xml
INFO  2007-05-09 02:23:06,538 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.RefererData -> referer
INFO  2007-05-09 02:23:06,539 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/TaskLockData.hbm.xml
INFO  2007-05-09 02:23:06,636 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.TaskLockData -> roller_tasklock
INFO  2007-05-09 02:23:06,637 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/HitCountData.hbm.xml
INFO  2007-05-09 02:23:06,646 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.HitCountData -> roller_hitcounts
INFO  2007-05-09 02:23:06,647 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/WeblogEntryData.hbm.xml
INFO  2007-05-09 02:23:06,676 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.WeblogEntryData -> weblogentry
INFO  2007-05-09 02:23:06,678 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/WeblogEntryTagData.hbm.xml
INFO  2007-05-09 02:23:06,703 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.WeblogEntryTagData ->
roller_weblogentrytag
INFO  2007-05-09 02:23:06,704 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/WeblogEntryTagAggregateData.hbm.xml
INFO  2007-05-09 02:23:06,711 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.WeblogEntryTagAggregateData ->
roller_weblogentrytagagg
INFO  2007-05-09 02:23:06,711 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/EntryAttributeData.hbm.xml
INFO  2007-05-09 02:23:06,718 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.EntryAttributeData ->
entryattribute
INFO  2007-05-09 02:23:06,719 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/WeblogCategoryData.hbm.xml
INFO  2007-05-09 02:23:06,726 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.WeblogCategoryData ->
weblogcategory
INFO  2007-05-09 02:23:06,726 Configuration:addResource - Reading mappings
from resource: org/apache/roller/pojos/WeblogCategoryAssoc.hbm.xml
INFO  2007-05-09 02:23:06,735 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.pojos.WeblogCategoryAssoc ->
weblogcategoryassoc
INFO  2007-05-09 02:23:06,736 Configuration:addResource - Reading mappings
from resource: org/apache/roller/planet/pojos/PlanetConfigData.hbm.xml
INFO  2007-05-09 02:23:06,747 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.planet.pojos.PlanetConfigData ->
rag_config
INFO  2007-05-09 02:23:06,748 Configuration:addResource - Reading mappings
from resource: org/apache/roller/planet/pojos/PlanetGroupData.hbm.xml
INFO  2007-05-09 02:23:06,757 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.planet.pojos.PlanetGroupData -> rag_group
INFO  2007-05-09 02:23:06,758 HbmBinder:bindCollection - Mapping collection:
org.apache.roller.planet.pojos.PlanetGroupData.subscriptions ->
rag_group_subscription
INFO  2007-05-09 02:23:06,759 Configuration:addResource - Reading mappings
from resource: org/apache/roller/planet/pojos/PlanetEntryData.hbm.xml
INFO  2007-05-09 02:23:06,765 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.planet.pojos.PlanetEntryData -> rag_entry
INFO  2007-05-09 02:23:06,766 Configuration:addResource - Reading mappings
from resource: org/apache/roller/planet/pojos/PlanetSubscriptionData.hbm.xml
INFO  2007-05-09 02:23:06,774 HbmBinder:bindRootPersistentClassCommonValues
- Mapping class: org.apache.roller.planet.pojos.PlanetSubscriptionData ->
rag_subscription
INFO  2007-05-09 02:23:06,774 HbmBinder:bindCollection - Mapping collection:
org.apache.roller.planet.pojos.PlanetSubscriptionData.groups ->
rag_group_subscription
INFO  2007-05-09 02:23:06,775 Configuration:doConfigure - Configured
SessionFactory: null
INFO  2007-05-09 02:23:06,777 HbmBinder:bindCollectionSecondPass - Mapping
collection: org.apache.roller.pojos.UserData.permissions ->
roller_user_permissions
INFO  2007-05-09 02:23:06,778 HbmBinder:bindCollectionSecondPass - Mapping
collection: org.apache.roller.pojos.UserData.roles -> userrole
INFO  2007-05-09 02:23:06,778 HbmBinder:bindCollectionSecondPass - Mapping
collection: org.apache.roller.pojos.WebsiteData.permissions ->
roller_user_permissions
INFO  2007-05-09 02:23:06,779 HbmBinder:bindCollectionSecondPass - Mapping
collection: org.apache.roller.pojos.FolderData.bookmarks -> bookmark
INFO  2007-05-09 02:23:06,779 HbmBinder:bindCollectionSecondPass - Mapping
collection: org.apache.roller.pojos.WeblogEntryData.entryAttributes ->
entryattribute
INFO  2007-05-09 02:23:06,779 HbmBinder:bindCollectionSecondPass - Mapping
collection: org.apache.roller.pojos.WeblogEntryData.tags ->
roller_weblogentrytag
INFO  2007-05-09 02:23:06,780 HbmBinder:bindCollectionSecondPass - Mapping
collection: org.apache.roller.planet.pojos.PlanetSubscriptionData.entries ->
rag_entry
INFO  2007-05-09 02:23:06,872 NamingHelper:getInitialContext - JNDI
InitialContext properties:{}
INFO  2007-05-09 02:23:06,873 DatasourceConnectionProvider:configure - Using
datasource: java:comp/env/jdbc/rollerdb
INFO  2007-05-09 02:23:06,875 SettingsFactory:buildSettings - RDBMS: MySQL,
version: 5.0.38-Ubuntu_0ubuntu1-log
INFO  2007-05-09 02:23:06,875 SettingsFactory:buildSettings - JDBC driver:
MySQL-AB JDBC Driver, version: mysql-connector-java-5.0.5 ( $Date:
2007-03-01 00:01:06 +0100 (Thu, 01 Mar 2007) $, $Revision: 6329 $ )
INFO  2007-05-09 02:23:06,900 Dialect:<init> - Using dialect:
org.hibernate.dialect.MySQLDialect
INFO  2007-05-09 02:23:06,905
TransactionFactoryFactory:buildTransactionFactory - Using default
transaction strategy (direct JDBC transactions)
INFO  2007-05-09 02:23:06,907
TransactionManagerLookupFactory:getTransactionManagerLookup - No
TransactionManagerLookup configured (in JTA environment, use of read-write
or transactional second-level cache is not recommended)
INFO  2007-05-09 02:23:06,908 SettingsFactory:buildSettings - Automatic
flush during beforeCompletion(): disabled
INFO  2007-05-09 02:23:06,908 SettingsFactory:buildSettings - Automatic
session close at end of transaction: disabled
INFO  2007-05-09 02:23:06,909 SettingsFactory:buildSettings - JDBC batch
size: 15
INFO  2007-05-09 02:23:06,909 SettingsFactory:buildSettings - JDBC batch
updates for versioned data: disabled
INFO  2007-05-09 02:23:06,911 SettingsFactory:buildSettings - Scrollable
result sets: enabled
INFO  2007-05-09 02:23:06,911 SettingsFactory:buildSettings - JDBC3
getGeneratedKeys(): enabled
INFO  2007-05-09 02:23:06,912 SettingsFactory:buildSettings - Connection
release mode: auto
INFO  2007-05-09 02:23:06,913 SettingsFactory:buildSettings - Maximum outer
join fetch depth: 2
INFO  2007-05-09 02:23:06,913 SettingsFactory:buildSettings - Default batch
fetch size: 1
INFO  2007-05-09 02:23:06,914 SettingsFactory:buildSettings - Generate SQL
with comments: disabled
INFO  2007-05-09 02:23:06,915 SettingsFactory:buildSettings - Order SQL
updates by primary key: disabled
INFO  2007-05-09 02:23:06,915 SettingsFactory:createQueryTranslatorFactory -
Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
INFO  2007-05-09 02:23:06,918 ASTQueryTranslatorFactory:<init> - Using
ASTQueryTranslatorFactory
INFO  2007-05-09 02:23:06,919 SettingsFactory:buildSettings - Query language
substitutions: {}
INFO  2007-05-09 02:23:06,919 SettingsFactory:buildSettings - Second-level
cache: enabled
INFO  2007-05-09 02:23:06,920 SettingsFactory:buildSettings - Query cache:
disabled
INFO  2007-05-09 02:23:06,920 SettingsFactory:createCacheProvider - Cache
provider: org.hibernate.cache.EhCacheProvider
INFO  2007-05-09 02:23:06,923 SettingsFactory:buildSettings - Optimize cache
for minimal puts: disabled
INFO  2007-05-09 02:23:06,924 SettingsFactory:buildSettings - Structured
second-level cache entries: enabled
INFO  2007-05-09 02:23:06,930 SettingsFactory:buildSettings - Statistics:
enabled
INFO  2007-05-09 02:23:06,930 SettingsFactory:buildSettings - Deleted entity
synthetic identifier rollback: disabled
INFO  2007-05-09 02:23:06,931 SettingsFactory:buildSettings - Default
entity-mode: pojo
INFO  2007-05-09 02:23:06,963 SessionFactoryImpl:<init> - building session
factory
WARN  2007-05-09 02:23:07,012 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.BookmarkData]; using defaults.
WARN  2007-05-09 02:23:07,476 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.CommentData]; using defaults.
WARN  2007-05-09 02:23:07,495 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.FolderData]; using defaults.
WARN  2007-05-09 02:23:07,686 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogEntryTagData]; using defaults.
WARN  2007-05-09 02:23:07,713 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PermissionsData]; using defaults.
WARN  2007-05-09 02:23:07,726 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.RoleData]; using defaults.
WARN  2007-05-09 02:23:07,811 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.HitCountData]; using defaults.
WARN  2007-05-09 02:23:07,939 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogCategoryData]; using defaults.
WARN  2007-05-09 02:23:08,073 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.RefererData]; using defaults.
WARN  2007-05-09 02:23:08,175 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.AutoPingData]; using defaults.
WARN  2007-05-09 02:23:08,182 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogCategoryAssoc]; using defaults.
WARN  2007-05-09 02:23:08,458 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.TaskLockData]; using defaults.
WARN  2007-05-09 02:23:08,465 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogEntryData]; using defaults.
WARN  2007-05-09 02:23:08,482 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogTemplate]; using defaults.
WARN  2007-05-09 02:23:08,498 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingQueueEntryData]; using defaults.
WARN  2007-05-09 02:23:08,505 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingCategoryRestrictionData]; using
defaults.
WARN  2007-05-09 02:23:08,513 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.PingTargetData]; using defaults.
WARN  2007-05-09 02:23:08,528 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.WeblogEntryTagAggregateData]; using
defaults.
WARN  2007-05-09 02:23:08,718 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.EntryAttributeData]; using defaults.
WARN  2007-05-09 02:23:08,747 EhCacheProvider:buildCache - Could not find
configuration [org.apache.roller.pojos.FolderAssoc]; using defaults.
INFO  2007-05-09 02:23:08,967 SessionFactoryObjectFactory:addInstance - Not
binding factory to JNDI, no JNDI name configured
INFO  2007-05-09 02:23:08,974 RollerFactory:getRoller - Using Roller Impl:
org.apache.roller.business.hibernate.HibernateRollerImpl
INFO  2007-05-09 02:23:09,242 ApplicationContext:log - Loading Spring root
WebApplicationContext
INFO  2007-05-09 02:23:09,740 RollerContext:initializeSecurityFeatures -
Remember Me enabled: true
INFO  2007-05-09 02:23:09,740 RollerContext:setupVelocity - Initializing
Velocity
INFO  2007-05-09 02:23:10,054 ThemeManagerImpl:loadThemeFromDisk - Loading
theme basic
INFO  2007-05-09 02:23:10,058 ThemeManagerImpl:loadThemeFromDisk - Loading
theme brushedmetal
INFO  2007-05-09 02:23:10,059 ThemeManagerImpl:loadThemeFromDisk - Loading
theme frontpage
INFO  2007-05-09 02:23:10,062 ThemeManagerImpl:loadThemeFromDisk - Loading
theme sotto
INFO  2007-05-09 02:23:10,063 ThemeManagerImpl:<init> - Loaded 4 themes from
disk.
INFO  2007-05-09 02:23:10,091 IndexManagerImpl:<init> - search enabled: true
INFO  2007-05-09 02:23:10,092 IndexManagerImpl:<init> - index dir:
/home/tomcat3/roller_data/search-index
INFO  2007-05-09 02:23:10,119 IndexManagerImpl:<init> - Index was
inconsistent. Rebuilding index in the background...
INFO  2007-05-09 02:23:10,127 ThreadManagerImpl:<init> - Intializing Thread
Manager
INFO  2007-05-09 02:23:10,170 RollerContext:setupTasks - Initializing task:
ResetHitCountsTask
INFO  2007-05-09 02:23:10,176 RollerContext:setupTasks - Initializing task:
TurnoverReferersTask
INFO  2007-05-09 02:23:10,176 RollerContext:setupTasks - Initializing task:
PingQueueTask
INFO  2007-05-09 02:23:10,191 IPBanFilter:init - INIT IPBanFilter
INFO  2007-05-09 02:23:10,193 CompressionFilter:init - Compressed Output
ENABLED
INFO  2007-05-09 02:23:10,200 RequestMappingFilter:init - Request mapping
filter initialized, 1 mappers configured.
INFO  2007-05-09 02:23:11,072 PageServlet:init - Initializing PageServlet
INFO  2007-05-09 02:23:11,074 WeblogPageCache:<init> - {timeout=3600,
enabled=true, size=400, id=cache.weblogpage}
INFO  2007-05-09 02:23:11,079 CacheManager:<clinit> - Cache Manager
Initialized.
INFO  2007-05-09 02:23:11,079 CacheManager:<clinit> - Cache Factory =
org.apache.roller.util.cache.ExpiringLRUCacheFactoryImpl
INFO  2007-05-09 02:23:11,082 FuturePostingsInvalidationJob:input - Peeking
3 minutes into the future each pass
INFO  2007-05-09 02:23:11,088 SiteWideCache:<init> - {timeout=1800,
enabled=true, size=50, id=cache.sitewide}
INFO  2007-05-09 02:23:11,089 PageServlet:init - Referrer processing enabled
= true
INFO  2007-05-09 02:23:11,092 FeedServlet:init - Initializing FeedServlet
INFO  2007-05-09 02:23:11,094 WeblogFeedCache:<init> - {timeout=3600,
enabled=true, size=200, id=cache.weblogfeed}
INFO  2007-05-09 02:23:11,097 ResourceServlet:init - Initializing
ResourceServlet
INFO  2007-05-09 02:23:11,099 SearchServlet:init - Initializing
SearchServlet
INFO  2007-05-09 02:23:11,102 ContinuousWorkerThread:run - future
invalidations thread Started.
INFO  2007-05-09 02:23:11,207 CommentServlet:init - Initializing
CommentServlet
INFO  2007-05-09 02:23:11,209 CommentServlet:init - Comment Throttling
DISABLED
INFO  2007-05-09 02:23:11,211 RSDServlet:init - Initializing RSDServlet
INFO  2007-05-09 02:23:11,214 PlanetFeedServlet:init - Initializing
PlanetRssServlet
INFO  2007-05-09 02:23:11,216 PlanetCache:<init> - Planet cache =
{timeout=1800, enabled=true, size=10, id=cache.planet}
INFO  2007-05-09 02:23:11,219 PreviewResourceServlet:init - Initializing
PreviewResourceServlet
INFO  2007-05-09 02:23:11,226 PreviewServlet:init - Initializing
PreviewServlet
INFO  2007-05-09 02:23:15,507 ReferrerQueueManagerImpl:<init> - Initializing
Referrer Queue Manager
INFO  2007-05-09 02:23:15,508 ReferrerQueueManagerImpl:<init> - Asynchronous
referrer processing = false
INFO  2007-05-09 02:23:15,588 ContinuousWorkerThread:run -
HitCountQueueProcessor Started.
INFO  2007-05-09 02:23:15,688 RendererManager:<clinit> - Renderer Manager
Initialized.
INFO  2007-05-09 02:23:15,692 RollerVelocity:<clinit> - Initializing
Velocity Rendering Engine


2007/5/1, Dave <sn...@gmail.com>:
>
> You could be missing some jars or have a configuration problem. I'd
> have to see your log files to tell. Please stop Tomcat, delete all of
> the Tomcat log files, restart Tomcat, access the registerUser page and
> then send us the catalina.out and roller.log files -- there should be
> some useful clues in there.
>
> - Dave
>
>
>
> On 4/30/07, Scott Dunbar <sc...@xigole.com> wrote:
> > Hello,
> > I've been running 2.3-incubating for quite some time with no issues.
> > I'm attempting to get 3.1 setup and working.  I attempted an upgrade and
> > have now moved to a totally fresh install but continue to have the same
> > issue.  I'm confident that it is something easy but am missing where it
> is.
> >
> > Basically it looks like Struts isn't configured correctly.  I can load
> > index.jsp with no problems but everything else 404's on me.  For
> > example, going to /roller-ui/user.do?method=registerUser results in a
> 404.
> >
> > My configuration is a little different than the default in that I have
> > am using a virtual host for the entire blog site.  I had the same
> > configuration in 2.3 and it worked fine.  The configuration looks like:
> >
> > <Host name="blog.myhostname.tld"
> > appBase="/path/to/apache-roller-3.1/webapp/roller"
> >               unpackWARs="true" autoDeploy="true">
> >
> >     <Context path="" docBase="">
> >         <Resource name="jdbc/rollerdb"
> >                   auth="Container"
> >                   type="javax.sql.DataSource"
> >                   username="user"
> >                   password="passwd"
> >                   driverClassName="org.postgresql.Driver"
> >                   url="jdbc:postgresql://localhost:5432/rollerdb"
> >                   maxActive="16"
> >                   maxIdle="4"/>
> >     </Context>
> > </Host>
> >
> >
> > I'm on CentOS 4.4, Tomcat 5.5.20, Sun Java 1.5.0_11 with a PostgreSQL
> > 8.1 database.  It appears as if I have database connectivity.
> >
> > An additional wierdness - selecting "Login"
> > (/roller-ui/login-redirect.jsp) gives a JSP compilation error that it
> > can't find a variety of types.  When I've seen this error before it is
> > usually because there is a class missing in WEB-INF/lib or
> > WEB-INF/classes but everything seems to be there.  Going to this page
> > gives me:
> >
> > org.apache.jasper.JasperException: Unable to compile class for JSP
> >
> > Generated servlet error:
> > Only a type can be imported. org.apache.roller.ui.core.RollerSessionresolves to a package
> >
> > An error occurred at line: 23 in the jsp file: /login-redirect.jsp
> > Generated servlet error:
> > UserData cannot be resolved to a type
> >
> > An error occurred at line: 23 in the jsp file: /login-redirect.jsp
> > Generated servlet error:
> > RollerSession cannot be resolved
> >
> > ...
> >
> >
> > I've set the logging level for struts to DEBUG but don't seem to be able
> > to track down what is going on.  I'm looking for some additional ideas
> > on how to debug what is different in my setup from what apparently works
> > for other installs or at least how to track down where I went wrong in
> > my configuration.
> >
> > Any help would be greatly appreciated.
> >
>



-- 
_______________________________
Enrique Rodriguez Lasterra
lasterra AT javahispano DOT org
http://www.javahispano.org
Asociación sin ánimo de lucro sobre java
Spanish non profit association about java