Customer login  |   Contact us
Home Company Products Support Purchase
Forum Home » Survey software » Opinio

Topic: First-time admin login isn't working
Replies: 8   Pages: 1   Last Post: Apr 19, 2010 5:52 AM by: yinjie.ong


Back to Topic List Back to Topic List Topics: [ Previous | Next ]
Replies: 8   Pages: 1  
Adam

Posts: 4
From: Missouri, USA
Registered: Nov 29, 2007
First-time admin login isn't working
Posted: Nov 29, 2007 5:10 PM
  Reply

Installed for evaluation to Oracle's Orion-based application server. Running against an Oracle database. The oracle_create.sql file ran without any errors. As instructed, I modified the database.properties and restarted the application server.

There are no errors in the opinio.log file, and it shows a valid connection to the database:

29 Nov 2007 08:11:58 -- INFO -- Database: Oracle
29 Nov 2007 08:11:58 -- INFO -- Database: Oracle, Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
With the Partitioning, OLAP and Data Mining options
29 Nov 2007 08:11:58 -- INFO -- Automatic database upgrade: The database is up to date.

When I attempt to navigate to http://our.server.name/opinio/admin/login.do, I am presented with a basic authentication box labelled Opinio. Typing in admin/admin gives me a 401 Unauthorized - the username/password combo is not accepted.

I can see the admin login name in the OPS_USER table along with the hash loaded from the oracle_create script. Where do I go from here?

irina

Posts: 315
From: Norway, Oslo
Registered: Sep 4, 2003
Re: First-time admin login isn't working
Posted: Nov 29, 2007 8:08 PM
  Reply

This is strange. Check that you don't have any plugins in the WEB-INF/plugins folder, although, since it is a new installation there should not be anything there.

Can you attach the whole log file?

Adam

Posts: 4
From: Missouri, USA
Registered: Nov 29, 2007
Re: First-time admin login isn't working
Posted: Nov 29, 2007 8:25 PM
  Reply
opinio.log (20,8 K)

The WEB-INF/plugins directory is empty, and the log file is attached.

irina

Posts: 315
From: Norway, Oslo
Registered: Sep 4, 2003
Re: First-time admin login isn't working
Posted: Nov 30, 2007 12:44 PM
  Reply

From the log file it looks like the request never comes to Opinio. It is stopped by something else. Maybe you can ask your network administrator if he has any ideas about it? It really looks lie some kind of security issues outside Opinio.

Adam

Posts: 4
From: Missouri, USA
Registered: Nov 29, 2007
Re: First-time admin login isn't working
Posted: Dec 3, 2007 2:42 PM
  Reply

The Apache front end has access configured by IP address, not by basic authentication, so the login box is coming from your app. What leads you to the conclusion that something else is involved?

Is there a way to reset the admin password without access to the admin web interface?

Adam

Posts: 4
From: Missouri, USA
Registered: Nov 29, 2007
Re: First-time admin login isn't working
Posted: Dec 4, 2007 7:28 PM
  Reply

I found the following stack trace in the container's application log for Opinio:

07/12/04 12:22:28 Opinio: Servlet error

java.lang.SecurityException

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2889)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getLocalDispatcher(HttpApplication.java:4947)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpSite.getRequestDispatcher(HttpSite.java:357)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:1563)

at org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1056)

at org.apache.struts.tiles.TilesRequestProcessor.doForward(TilesRequestProcessor.java:263)

at org.apache.struts.tiles.TilesRequestProcessor.processTilesDefinition(TilesRequestProcessor.java:239)

at org.apache.struts.tiles.TilesRequestProcessor.processForwardConfig(TilesRequestProcessor.java:302)

at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)

at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:65)

at com.objectplanet.survey.view.CharsetFilter.doFilter(KFQA:94)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)

at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)

at java.lang.Thread.run(Thread.java:534)

If you could tell me what CharsetFilter is doing at that point, I can grant permissions and at least get past the SecurityException.

olivier_99

Posts: 1
Registered: Jul 1, 2009
Re: First-time admin login isn't working
Posted: Jul 1, 2009 7:19 PM
  Reply

I have the same problem with Oracle Application Server 10gR2 (same error message in the logs).
Did someone succeed to use Opinio with Oracle Application Server ?
Thank you.

yinjie.ong

Posts: 7
Registered: Apr 7, 2010
Re: First-time admin login isn't working
Posted: Apr 8, 2010 8:49 AM
  Reply

I have the exact same problem. Can anyone help? Thank you!

Cheers!~

yinjie.ong

Posts: 7
Registered: Apr 7, 2010
Re: First-time admin login isn't working
Posted: Apr 19, 2010 5:52 AM
  Reply

Managed to solve my problem.

Take a look at this thread: http://support.objectplanet.com/forum/thread.jspa?threadID=4421&tstart=0

Cheers!~



© 1998-2019 ObjectPlanet, Inc. Øvre Slottsgate 5, 0157 Oslo, Norway Tel (+47) 2233 3360 | Fax (+47) 2233 3361