[JBoss Portal] - Re: Saving user specific preferences
by jkoek
I have tried it with admin/admin and that works.
I have tried it with user/user and that don't work.
I have set the security for the user 'user' to personalize.
Underneath the logging of the database;
As you can see. the test-admin works but the test-user doesn't show up.
In your reply I saw that you tried it with admin. Can you try it with user?
Thanks,
Jeroen.
NSERT INTO JBP_PORTLET_STATE VALUES(3,'samples.NewsPortlet',NULL,'2006-07-24 13:48:04.715000000',NULL,NULL)
INSERT INTO JBP_PORTLET_STATE_ENTRY VALUES(6,'RssXml',1,NULL)
DELETE FROM JBP_PORTLET_STATE_ENTRY WHERE PK=6
INSERT INTO JBP_PORTLET_STATE_ENTRY VALUES(6,'RssXml',1,3)
INSERT INTO JBP_PORTLET_STATE_ENTRY_VALUE VALUES(6,'http://test-admin',0)
INSERT INTO JBP_INSTANCE_PER_USER VALUES(2,NULL,'admin','local._3',NULL)
DELETE FROM JBP_INSTANCE_PER_USER WHERE PK=2
INSERT INTO JBP_INSTANCE_PER_USER VALUES(2,2,'admin','local._3',NULL)
COMMIT
/*C4*/SET AUTOCOMMIT TRUE
/*C3*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=1 AND JBP_NAME='portal.user.last-login-date'
INSERT INTO JBP_USER_PROP VALUES(1,'1153741696149','portal.user.last-login-date')
COMMIT
/*C4*/SET AUTOCOMMIT FALSE
/*C3*/SET AUTOCOMMIT TRUE
SET AUTOCOMMIT FALSE
SET AUTOCOMMIT TRUE
/*C4*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=2 AND JBP_NAME='portal.user.last-login-date'
INSERT INTO JBP_USER_PROP VALUES(2,'1153742092493','portal.user.last-login-date')
COMMIT
/*C3*/SET AUTOCOMMIT FALSE
SET AUTOCOMMIT TRUE
SET AUTOCOMMIT FALSE
SET AUTOCOMMIT TRUE
/*C4*/DELETE FROM JBP_USER_PROP WHERE JBP_UID=2 AND JBP_NAME='portal.user.last-login-date'
INSERT INTO JBP_USER_PROP VALUES(2,'1153742216816','portal.user.last-login-date')
COMMIT
/*C3*/SET AUTOCOMMIT FALSE
/*C4*/SET AUTOCOMMIT TRUE
SET AUTOCOMMIT FALSE
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960329#3960329
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960329
19 years, 9 months
[Remoting] - Re: rmi registry
by choozie
I foundt out that I actually do get an error before that. Calling
RMIServerInvoker rmiserver = new RMIServerInvoker(myLocator);
gives
ERROR [org.jboss.remoting.transport.rmi.RMIServerInvoker - 246] Error unbinding RMIServerInvoker from RMI registry.
java.rmi.NotBoundException: remoting/RMIServerInvoker/3455
at sun.rmi.registry.RegistryImpl.unbind(RegistryImpl.java:140)
at org.jboss.remoting.transport.rmi.RMIServerInvoker.destroy(RMIServerInvoker.java:242)
at org.jboss.remoting.transport.rmi.RMIServerInvoker.finalize(RMIServerInvoker.java:260)
at java.lang.ref.Finalizer.invokeFinalizeMethod(Native Method)
at java.lang.ref.Finalizer.runFinalizer(Finalizer.java:83)
at java.lang.ref.Finalizer.access$100(Finalizer.java:14)
at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:160)
I have no idea why that is...
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3960323#3960323
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3960323
19 years, 9 months