portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Irene Huang" <ihu...@acegain.com>
Subject RE: Security Problem: Can't "add user" after login as admin
Date Thu, 04 Apr 2002 23:28:42 GMT

Problem solved.
I replaced the files under WEB-INF/db which have been messed up.


-----Original Message-----
From: Irene Huang [mailto:ihuang@acegain.com]
Sent: Wednesday, April 03, 2002 3:42 PM
To: Jetspeed user
Subject: Security Problem: Can't "add user" after login as admin


I login as admin, and click "Add User" in  "Security"-> "User Browser"
After I filled in the user info, click "Add User", it gave me the Horrible
exception:

Where should I look to fix add user? JR.p?
I tried to add user ccd and in db/Jetspeed.scripts:

SET AUTOCOMMIT TRUE
/*C2*/INSERT INTO TURBINE_USER
VALUES(400,'ccd','beta','ccd','ccd','ccd@ccd.com','CONFIRMED',NULL,NULL,'200
2-04-03
15:03:02.114','aced0005737200136a6176612e7574696c2e486173687461626c6513bb0f2
5214ae4b803000246000a6c6f6164466163746f724900097468726573686f6c6478703f40000
0000000007708000000010000000078')
INSERT INTO TURBINE_USER_GROUP_ROLE VALUES(400,1,1)
DELETE FROM TURBINE_USER_GROUP_ROLE WHERE USER_ID=400 AND GROUP_ID=1 AND
ROLE_ID=1
DELETE FROM TURBINE_USER WHERE USER_ID=400



Horrible Exception: java.lang.reflect.InvocationTargetException:
org.apache.jetspeed.om.profile.ProfileException:
org.apache.turbine.util.security.UnknownEntityException: Unknown user
'turbine'
	at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.createProfile(
JetspeedProfilerService.java:704)
	at
org.apache.jetspeed.services.profiler.JetspeedProfilerService.createProfile(
JetspeedProfilerService.java:190)
	at org.apache.jetspeed.services.Profiler.createProfile(Profiler.java:162)
	at
org.apache.jetspeed.services.security.JetspeedDBSecurityService.addUser(Jets
peedDBSecurityService.java:225)
	at
org.apache.jetspeed.services.JetspeedSecurity.addUser(JetspeedSecurity.java:
127)
	at
org.apache.jetspeed.modules.actions.portlets.security.UserUpdateAction.doIns
ert(UserUpdateAction.java:247)
	at java.lang.reflect.Method.invoke(Native Method)
	at
org.apache.turbine.util.velocity.VelocityActionEvent.executeEvents(VelocityA
ctionEvent.java:166)
	at
org.apache.jetspeed.modules.actions.portlets.VelocityPortletAction.perform(V
elocityPortletAction.java:116)
	at org.apache.turbine.modules.ActionLoader.exec(ActionLoader.java:122)
	at
org.apache.turbine.modules.pages.DefaultPage.doBuild(DefaultPage.java:143)
	at org.apache.turbine.modules.Page.build(Page.java:90)
	at org.apache.turbine.modules.PageLoader.exec(PageLoader.java:123)
	at org.apache.turbine.Turbine.doGet(Turbine.java:565)
	at org.apache.turbine.Turbine.doPost(Turbine.java:655)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
	at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:488)
	at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:403)
	at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1046)
	at org.mortbay.http.HandlerContext.handle(HandlerContext.java:1001)
	at org.mortbay.http.HttpServer.service(HttpServer.java:697)
	at org.mortbay.http.HttpConnection.service(HttpConnection.java:745)
	at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:918)
	at org.mortbay.http.HttpConnection.handle(HttpConnection.java:760)
	at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:148)
	at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:287)
	at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:716)
	at java.lang.Thread.run(Unknown Source)

Regards,

Irene


--
To unsubscribe, e-mail:
<mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:jetspeed-user-help@jakarta.apache.org>




--
To unsubscribe, e-mail:   <mailto:jetspeed-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@jakarta.apache.org>


Mime
View raw message