-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 David Sean Taylor wrote:
>> Thanks for your reply. Yes I have put those jars in the jonas commons >> library. Beside that, I have created a Jetspeed data source and linked >> the jndi name of this to the database resource in jetspeed >> (jonas-web.xml). I have also created a context.xml and put it in >> META-INF of jetspeed. When I then start jonas, the jetspeed engine is >> correctly initialized, and I cant see any exceptions in the logs for >> either jonas or jetspeed. But I have just copied the context file for >> tomcat 5.5, and dont fully understand the realm thing here.. >> >> I can also see the portal layout in my browser window, when I try to >> load localhost:9000/demoportal. But when I deploy the jetspeed portlets >> in the jetspeed deploy directory, they seems to be deployed correctly >> (no errors in the log files and debug info is equal to that when run in >> tomcat!), but the portlets *are not* registered in the database. Since >> the jetspeed engine is correctly initialized the db connection must be >> ok, right? > > > sounds like you are very close > no idea why the portlets are not in your db > which database are you using? can you look at the tables.... Yes, I hope so. Im using mysql. I have looked at the tables, and only portlet-layouts are registered there after deployment (In PORTLET_DEFINITION / PORTLET_APPLICATION). I dont understand the difference between deploying portlet-layouts.war and some other war...But I can see the jetspeed-layouts files are placed in jetspeed/WEB-INF/apps. The other portlet apps I have tried to deploy *are not* in the work directory of jonas. Still, the logs are fine. Any clue here? >> One more question: I have commented out the default >> AuthorizationProvider in security-providers.xml. This because I got a >> stackOverflow where RdbmsPolicy.getPermissions were called all the time. >> If you have some comment to this, and how this works.. >> > > I think it happens when you already have a security policy in place. > We need to investigate how to get our policy working with others Yes, I think I am using the default security policy in jonas. Have not looked very close at this yet. - -- Rohnny -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFDIYfRJQxWxLw8G9QRAj88AJ99Q6qQFIn5Ke/KEAGMzq8pOla2YgCfZrSU x3yg9KdgWaCK2zYB0oFDDQM= =zl+R -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
