On Tue, Aug 24, 2010 at 1:59 PM, Thomas Wagner <tom-roller-u...@tom.bn-ulm.de> wrote: > I can successfully deploy the roller-trunk version (5.0 RC1) > to a glassfish 3.0.1 server on OpenSolaris, but regardless > what DB I use (Derby, postgresql), the system works only > as long I restart the app/the server the very first time. > > After a restart, I constantly get wrong user/password. > Is there a possibility that the security keys get changed > and then the password compare failes?
Do you mean that the system works, but when you try to login to the web UI you a bad password error? Can you share more about your configuration? Are you using CMA? Encrypted passwords What did you set in your roller-custom.properties file? Thanks, Dave > Any Ideas what logs I should switch on/increase level to > debug that? > The logs show successfull connections to the postgres DB, but > for whatever reason there are still lines. > The user is looked up properly in the database with the > passphrase and the oder fields. > > > Thanks much! > > Tom > > PS: pinging the database works after the restart, I can see > data flow to the postgreql database (snoop -d lo0 port 5432). > > PS2: it also prints something aboute SerialContext which i can't > map to the login problem: > --- ROOT CAUSE --- > javax.naming.NamingException: Lookup failed for 'java:comp/env/jdbc/rollerdb' > in SerialContext [Root exception is javax.naming.NameNotFoundException: No > object bound to name java:comp/env/jdbc/rollerdb] > at > com.sun.enterprise.naming.impl.SerialContext.lookup(SerialContext.java:442) > at javax.naming.InitialContext.lookup(InitialContext.java:392) > at javax.naming.InitialContext.lookup(InitialContext.java:392) > at > org.apache.roller.planet.business.DatabaseProvider.<init>(DatabaseProvider.java:127) > at > org.apache.roller.planet.business.startup.PlanetStartup.prepare(PlanetStartup.java:86) > at > org.apache.roller.weblogger.ui.core.RollerContext.contextInitialized(RollerContext.java:175) > at > org.apache.catalina.core.StandardContext.contextListenerStart(StandardContext.java:4664) > at > com.sun.enterprise.web.WebModule.contextListenerStart(WebModule.java:535) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:5266) > at com.sun.enterprise.web.WebModule.start(WebModule.java:499) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:928) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:912) > at > org.apache.catalina.core.StandardHost.addChild(StandardHost.java:694) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1947) > at > com.sun.enterprise.web.WebContainer.loadWebModule(WebContainer.java:1619) > at com.sun.enterprise.web.WebApplication.start(WebApplication.java:90) > at org.glassfish.internal.data.EngineRef.start(EngineRef.java:126) > at org.glassfish.internal.data.ModuleInfo.start(ModuleInfo.java:241) > at > org.glassfish.internal.data.ApplicationInfo.start(ApplicationInfo.java:236) > at > com.sun.enterprise.v3.server.ApplicationLifecycle.deploy(ApplicationLifecycle.java:339) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.processApplication(ApplicationLoaderService.java:362) > at > com.sun.enterprise.v3.server.ApplicationLoaderService.postConstruct(ApplicationLoaderService.java:185) > at > com.sun.hk2.component.AbstractWombImpl.inject(AbstractWombImpl.java:174) > at com.sun.hk2.component.ConstructorWomb$1.run(ConstructorWomb.java:87) > at java.security.AccessController.doPrivileged(Native Method) > > > -- >