Currently have JBOSS portal pointing to an Oracle database.

When trying to set portletpreferences if the user is not logged then settings 
are stored in session cookie but if the user is logged in then I am unable to 
get the preferences to store.  I don't get any exceptions. The remoteuser is 
set the the correct username and the same user exists in JBP_User table and in 
the JBP_ROLE_MEMBERSHIP as a user role. 

Anything special I need to support ORACLE.

The portal-oracle-ds.xml looks like:

<?xml version="1.0" encoding="UTF-8"?>

  <local-tx-datasource>
    <jndi-name>PortalDS</jndi-name>
    <connection-url>jdbc:oracle:thin:jbossportal/[EMAIL 
PROTECTED]:1526:dev</connection-url>
    <driver-class>oracle.jdbc.driver.OracleDriver</driver-class>
    <user-name>jboss</user-name>
    jboss
  </local-tx-datasource>


In mySql the following is required for it to work 
?useServerPrepStmts=false&amp;jdbcCompliantTruncation=false

but not sure if this matters on Oracle or if it has similar settings.

Also is there any way to have the preferences saved in a persisted cookie for 
non-logged in users.

Thanks
Todd

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940282#3940282

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940282


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to