Discussion Channel Databases

I have some new questions regarding Discussion Channels on the portal version 6.2. We want to know if there is a way we can configure 2 things:
1. Can we limit the size of a post? This is the keep the user from entering the Encyclopedia Britannica in a post for fun but taking up a lot of space.
2. Can we move the flat file databases to a different location, even off server on a virtual mapped drive? This is so we don't fill up the portal directory with post data
We are of course looking for procedures, if any exist, to do these tasks. If it is an easy configuration fix, that would be great. If not, and this involves extensive rewriting of the Discussion channel portlets, could you give a best guess as to what it would take. If it is something that is private and cannot be easily done, such as Discussion channel flat file location being tied to too many other subsystems in the portal server causing the implementation of that change to be extremely difficult, please let us know so that we can accurately decide our next steps.

2. Can we move the flat file databases to a different
location, even off server on a virtual mapped drive?
This is so we don't fill up the portal directory with
post dataAs I recall, there are some limitations placing the DB on NFS mounted storage. I have successfully used directly mounted (ufs) storage. This was accomplished by mounting additional storage and creating a link (ln -s) to the new storage. Essentially, /var/SUNWps and /var/SUNWam were linked to a larger disk area.
- Jim

Similar Messages

  • Discussion Channel Configuration Problem

    I have configured my discussion channel in MyFrontPageTabPanelContainer.
    But when ever i am trying to login as portal user to see the channel i am getting the following error in
    errors log file:-
    "CORE3282: stdout: Error: java.io.IOException: Server returned HTTP response code: 500 for URL: http://ongcportal.ongc.com:80/portal/search?type=rd-request&ql=search&scope=rd-reference-id+%3Ccontains%3E+ROOT&view-attributes=url%2Ctitle%2Cdescription%2Crd-rating%2Cauthor%2Clast-modified%2Crd-last-changed%2Crd-reference-id%2C+rd-num-rating%2Crd-sum-rating%2Crd-peak-rating%2Crd-reference-url&view-order=-last-modified&view-hits=1..8&database=discussions&stoken=AQIC5wM2LY4SfcxLZ9vOYo3i%2FsKqAVmExnRb8%2BgjwfX41Go%3D"
    Suggest me something how can i make discussion channel working on my portal?
    Thanks
    jenni

    and if i look in the desktop.debug file i get the following error message:-
    04/17/2004 12:34:56:728 AM GMT+05:00: Thread[Thread-125,5,main]
    ERROR: Discussions: java.lang.Exception: Search server error. Unable to execute search
    what should i check for this?

  • Changing Header and Footer in Discussion Channel

    Hello,
    I need to change the header and footer graphics and links for the page that displays when you search for Discussion Channel topics and displaying Ciscussion Channel posts. I have been looking in the DiscussionProvider directory and I am now looking through the SearchProvider directory. Does anybody have an idea of the locations of the Header and Footer files?

    I am sure someone in this forum has had the desire to change the headers from the default of SUN ONE Portal Server and has accomplished this throughout their implementation. Please help! I have succeeded in some containers like the JSPEditContainer so when someone edits bookmarks from a BookmarkProvider channel they see a header that I define, but not in the SearchProvider nor the DiscussionProvider directories. I have seen no mention or <include header.jsp> tags in the jsp files for either of these providers, and I have copied header.jsp and menubar.jsp to both of those directories but it is not picking up the files. Do these containers find the header and menubar.jsp file contents from another location?

  • Malformed URL Exception causing discussion channels to fail.

    Hello,
    I created several new discussion channels in role level DisplayProfileXML files using DiscussionsProvider. The channels are not displaying proper content but are displaying error messages: ERROR: Content is not available
    This function worked previously using the defalt discussions channel that was already created with the install of the sample portal
    I have tried restarting the server, doing the redeploy command.
    Here is the error text. Any help would be appreciated!
    11/17/2005 12:56:49:836 AM EST: Thread[Thread-98,5,main]
    ERROR: JspServletEnvironment.getRealPath():
    java.net.MalformedURLException: JspServletEnvironment.getResource(): not found for channelName=LDTLaunchDiscussionChannel, path=discussionContent.jsp
    at com.sun.portal.providers.jsp.JspServletEnvironment.getResource(JspServletEnvironment.java:206)
    at com.sun.portal.providers.jsp.JspServletEnvironment.getRealPath(JspServletEnvironment.java:133)
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:706)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:56:49:886 AM EST: Thread[Thread-98,5,main]
    ERROR: ProviderCaller.run(): exception thrown from LDTLaunchDiscussionChannel
    com.sun.portal.providers.ProviderException: JSPProvider.getJspWrapper(): jsp=discussionContent.jsp, com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:763)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:710)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:57:26:769 AM EST: Thread[Thread-103,5,main]
    ERROR: JspServletEnvironment.getRealPath():
    java.net.MalformedURLException: JspServletEnvironment.getResource(): not found for channelName=MLTDiscussionChannel, path=discussionContent.jsp
    at com.sun.portal.providers.jsp.JspServletEnvironment.getResource(JspServletEnvironment.java:206)
    at com.sun.portal.providers.jsp.JspServletEnvironment.getRealPath(JspServletEnvironment.java:133)
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:706)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    11/17/2005 12:57:26:769 AM EST: Thread[Thread-103,5,main]
    ERROR: ProviderCaller.run(): exception thrown from MLTDiscussionChannel
    com.sun.portal.providers.ProviderException: JSPProvider.getJspWrapper(): jsp=discussionContent.jsp, com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:763)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)
    com.sun.portal.providers.ProviderException: JSP file not found: discussionContent.jsp
    at com.sun.portal.providers.jsp.JSPProvider.getJspWrapper(JSPProvider.java:710)
    at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:544)
    at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:158)

    Found it - stepping into the remoteObject.execute() call in debug mode, I eventually got to the class that throws the error (com.sap.tc.webdynpro.model.webservice.model.WSGenericModelClassExecutable).  In the catch block of the operation invoke call, the actual error object is visible in the NWDS variables list - it was an XmlMarshallException:
    "com.sap.engine.services.webservices.jaxrpc.exceptions.XmlMarshalException: XML Serialization Error. Property [LOVLanguageMode] of class [com.bp.models.siebel.servicerequest.ServiceRequestQueryPage_Input] must exist and can not be null. This is required by schema description."
    So I hadn't populated a mandatory field in the xml!
    Russell.

  • Discussion Channel search functionality

    Hello,
    I have added discussion provider in portal.
    However when I go for search which comes with discussion provider it redirects me to a Search Provider Web Page. Can anyone tell me how to configure the search for discussion so that I can see results of Search queries on the same page.
    regards,
    Sanjeev

    Can you tell us what "not working" means? Can you give us some more detail to try and narrow down the problem? Also you say the search works on your local machine. Have you tried running the help from the generated / published location yourself?

  • Using databases and container events?

    I'm having trouble finding documents show how one should use databases and listen for container events? I'm using Berkley Java DB. I'll need all my remote object to have access to the database. How do I pass that in? Custom adapters? Also, when Tomcat shuts down I need to close the database, how would this be down? Custom adapters? So I may be answering my own question, but I'm asking cause I really don't see anything in the documentation that points this out. It really looks like I'd be using singletons and factories for this. I could register a Servlet or Servlet Context to listen for Tomcat events, but I figured it couldn't hurt to ask others using Blaze, as I'm very new to it. Thanks.

    So how would you tell Blaze to use this? Is there something you put into the config file? My thoughts on all this is to use PicoContainer to manage all services then create an adapter to inject all resources when creating remote objects. But this seems a little heavy if Blaze can do all this for me. The adapter seems like the injection point to me. Is that not what it's used for? Or is using it like that bad practice under Blaze? I've read all I can find on Blaze, so either it's missing docs, or I'm not finding them all. If I'm missing them, by all means let me know where to go. I don't want to ask questions that are already answered in documents else where.
    On Tue, May 20, 2008 at 10:51 AM, Mete Atamel <
    [email protected]> wrote:
    A new message was posted by Mete Atamel in
    General Discussion --
      Using databases and container events?
    I think it's mainly in JavaDocs but here's a sample I have where I check to make sure the HSQLDB is running as the BlazeDS starts up:
    import java.sql.Connection;
    import java.sql.SQLException;
    import flex.messaging.config.ConfigMap;
    import flex.messaging.services.AbstractBootstrapService;
    public class DatabaseCheckService extends AbstractBootstrapService
        // This is called right before server starts up.
        public void initialize(String id, ConfigMap properties)
            Connection c = null;
            try
                // Check that the database is running...
                c = ConnectionHelper.getConnection();
                // ... if yes return
                return;
            catch (SQLException e)
                System.out.println("DB is not running!");
            finally
                ConnectionHelper.close(c);
    // This is called as server is starting.
        public void start()
            // No-op
    // This is called as server is stopping.
        public void stop()
            // No-op
    View/reply at
    Using databases and container events?
    Replies by email are OK.
    Use the
    unsubscribe form to cancel your email subscription.
    "All that is necessary for the triumph of evil is that good men do nothing." - Edmund Burke

  • Configuring Database Server to Shared Server Architecture

    Hello! Sir/Madam,
    Presently Our server configuration is Dedicated Server Architecture, due to number of connections opening in the dedicated server, we are shifting our server configuration to the Shared Server Archiecture.
    Will any One send me what are the parameters as to be set to Configure to the Shared Server Archiecture.
    Thanking U with Regards,
    Sravan
    Hyderabad.

    I would suggest also reviewing the DBA Administration manual Ch 4 Managing Oracle Database Processes using the Oracle® Database Administrator's Guide 10g Release 2 (10.2) Part Number B14231-01 since it discusses the database parameter settings in some detail.
    Remember to increase the size of the SGA to handle the UGA areas moved from the PGA into the Shared Pool.
    I would consider continuing to use dedicated sessions for batch and any process that uses dbms_alert or other features that do not work well with shared server.
    HTH -- Mark D Powell --

  • Oracle Database Authentication against Microsoft Active Directory

    Hello
    Does anyone know if it is possible or can point me in the right direction of some documentation that discuss Oracle database user authentication against and Enterprise Directory Service, in my cases MS AD?
    My environment consists of Oracle RDBMS 10.2.0.3 on Linux Red Hat AS 4. Our users connect in from Window clients. I would like to know if there is a way to autheticate users from Windows to the database using LDAP based (AD) authentication. In oters words how do I configure authentication to be done for "identified globally accounts"? I know that the identified by globally accounts require the use of the CN which I have done, but it seems like there is some piece missing. Perhaps an Oracle schema or modification to Active Directory??
    So my questions are
    1. Is it possible to authenticate users against AD without the implementation of OID?
    2. Is there documentation someone has or can point me to that outlines the required steps?
    3. Anything I should know?
    I appreciate any help. The documentation I have found so far doesn't seem to be what I need... So I am looking for some advice.
    Thanks.

    Sure, two methods to auth from Oracle DB to MSAD:
    OID and OVD
    I am working on our own proof of concept configuring EUS connect to OVD with an MSAD as auth at the moment. OVD basically is presenting the database with OracleSchema and OracleContext info. And when you connect via netca (ldap.ora), you assign it as OID directory authentication type.
    Here's an OVD manual on Integrating with EUS (chapter 7 is for MSAD)http://www.oracle.com/technology/products/id_mgmt/ovds/pdf/e10286.pdf
    And this would be what the EUS config should look like:
    http://www.oracle.com/technology/deploy/security/database-security/howtos/eus-how-to.html
    If you've done everything in the first doc...
    Hope this answers your questions.

  • Oracle Database Time

    Hi Oracle Gurus,
    OS: RHEL4
    Oracle DB: 10g
    Client: 10g
    I have 2 different timezone where by i want the DB time in EST while the OS time is in UTC.
    Currently what i have done is that i have set TZ=EST and startup the db and listener.
    When i select sysdate from the client, it shows EST which is correct (thats what i want).
    However, when i run the apps via the oracle jdbc, it returns the date in UTC. (something unexpected).
    These a few of my questions?
    i) Is there any difference from running client and jdbc driver?
    ii) How to make/ensure my apps return the date as EST without modifying the OS time into EST?
    iii) How to make the oracle DB into EST while sitting in a OS running in UTC and ensuring the apps always return dates in EST?
    The main reason having the above as because i have several database and so far only 1 DB requires to be in the EST timezone. So instead of allocating a new server, planning to put all the DBs in 1 box and running UTS on the OS but different timezone on the DB level.
    Thanks.

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Oracle Discussion Forums » Database Connectivity » Java Database Connectivity (JDBC) which you can get more quick response
    Regard
    Helios

  • SQL Database is corrupted....... plz help.

    Respected Sir,
    unfortunately hard disk of my system is damaged, now i recovered my database. but it cannot be attached again to SQL management
    studio 2005.
    the error is myfile.mdf is not a primary database file. (SQL server , error 5171)
    plz sir help me...

    Corruption in SQL server database can happen due to any uncertain like virus attack, power
    failure, hardware issue, OS malfunction, sudden system shutdown, so on. When a SQL server data file (.mdf) is corrupt then DBAs can try several methods to repair and recover data from it. 
    Run DBCC CHECKDB: It checks & reports all the error message
    in errorlog, if there is any problem with the database. Try to analyze & understand the error message logged in the errorlog. Re-run DBCC CHECKDB with the recommended minimum repair option to repair the file. 
    Detailed information about DBCC CHECKDB is available here: http://www.techrepublic.com/forums/discussions/sql-database-recovery-from-corrupt-database-file/
    Restore from backup: If above command fails to fix the error
    message the try to restore the database from clean backup. 
    3rd party tool: Try 3rd party
    Recovery Toolbox for SQL Server to recover data from corrupt mdf file. Most of the software have demo version that shows the preview of corrupt SQL server data file. 
    http://www.sql.recoverytoolbox.com/

  • Data frames in Channel API

    Hi, in my project we need to send messages(PGNs) of J1939 format onto the microcontroller device and receive the response from the same. I have tested the microcontroller with the NI CAN software using MAX and it is working fine. Now I have to develop a LabVIEW application to send and receive the commands. I have used the "CAN write.vi" (Channel API) to send the CAN message. By using the "CAN Create message.vi" I am able to configure the PORT, Arbitration ID, Data length (8 bytes in my case) etc. But I dont find the field where I can fill in my data (8 bytes) in hex format.  Presently I have put my data in the "Single-chan Signle-samp dbl" input field of the "CAN Write.vi". Please let me know where I need to fill in the data values.
    I have attached the vi I have developed.
    Regards,
    Krishna.   
    Attachments:
    CAN_Test.vi ‏92 KB

    Hi Kittamma,
    You wrote, that it worked with the Max and now you are using the create channel function. Is there a reason not to take the channel database? To have control about every databyte, the only solution is to create or have one channel for every databyte and to write all channels together in one task.  The data has to be wired allways to the write VI.
    But keep in mind, if you have allready a databasefile or configuration in MAX, you can take the Init or InitStart VI and this VI takes the configuration automatically from MAX or your file.
    DirkW

  • @SequenceGenerator generating wrong sequence numbers on an Oracle database

    Hello,
    I have a JPA entity with the following annotation:
    @SequenceGenerator(name = "PERS_GEN", sequenceName = "PERS_SEQ", initialValue = 1, allocationSize = 1)
    But the ids created by this sequence are not incrementing one by one;they increment 20 by 20. What is the cause of this?And how can it be sold?

    Hello,
    You will need to reference the database docs on what the database cache setting means or how it behaves, or post on the JDBC forums as I don't really know. My testing by calling SELECT seq.NEXTVAL FROM dual repeatedly caused it to return numbers sequentially based on the increment by value. I suspect this was because I was using the same session/connect etc and might be different if using different connections, timing etc. Have you tried creating the sequence with the nocache option? The cache 20 is not something that would be set by EclipseLink and is likely a database default, and I do not see why START WITH 21 would be used if the annotation specified initialValue = 1 - how are you checking the sequence that gets created? You can turn on EclipseLink logging to Finest to see the SQL it generates, but I would suggest you create the sequence object yourself - or have JPA create a DDL file and use it to create the tables. See http://wiki.eclipse.org/Using_EclipseLink_JPA_Extensions_(ELUG)#Using_EclipseLink_JPA_Extensions_for_Schema_Generation for ddl generation options.
    I found this http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:369390500346406705 discussion on database sequence cache sizes that might help.
    Regards,
    Chris

  • Database-level error

    Hi All,
    I am facing the below issue with my JDBC channel:
    Database-level error reported by JDBC driver during committ or rollback of database transaction. The JDBC driver returned the following error message: 'java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unhandled token type: Unknown token: 0x01'. For details, contact your database server vendor.
    Can some one please provide the input of how to resolve the above issue.
    Regards,
    Eswar

    >
    eswar7667 wrote:
    > Hi All,
    >
    > I am facing the below issue with my JDBC channel:
    >
    > Database-level error reported by JDBC driver during committ or rollback of database transaction. The JDBC driver returned the following error message: 'java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Unhandled token type: Unknown token: 0x01'. For details, contact your database server vendor.
    >
    > Can some one please provide the input of how to resolve the above issue.
    >
    > Regards,
    > Eswar
    When you trying to execute a Transact-SQL that contain a clause COMPUTE or COMPUTE BY, and you use Microsoft SQL Server 2000 Driver JDBC SP1 for connecting to server Microsoft SQL Server 2000, the query can raise the exception:
    [Microsoft][SQLServer 2000 Driver for JDBC]Unhandled token type: Unknown token: 0x01
    To solve the problem, try to upload the DRIVER DataDirect Release 3.x for SQL Server JDBC.
    For information regarding DataDirect Driver for SQL Server JDBC, take a look here:
    http://www.datadirect-technologies.com/
    ps. You can also try to upgrade MS driver to SP2
    Edited by: spantaleoni on Feb 15, 2011 10:31 AM

  • MDS9513 Add ISL to Port Channel problem.

    Hi Experts,
    I have a problem when add a new ISL to an existing Port Channel config.
    The ISL port is up state and correctly configured like another ports in port channel.
    Looks bellow the error:
    MDS1300M6A# show port-channel summary
    Interface                 Total Ports        Oper Ports        First Oper Port
    port-channel 1                 4                 4                  fc12/48
    port-channel 2                 2                 2                  fc6/47
    MDS1300M6A# show port-channel database
    port-channel 1
        Administrative channel mode is active
        Operational channel mode is active
        Last membership update failed: port not compatible [Resources Unavailable]
        First operational port is fc12/48
        4 ports in total, 4 ports up
        Ports:   fc12/48  [up] *
                 fc10/48  [up]
                 fc11/48  [up]
                 fc9/48   [up]
    Anyone seen this?
    Tks
    Wellington

    That did the trick - specifically setting the port channel to rate-mode shared.  Certainly solved the problem as far as getting all the deisred ports up in the channel, but where I still have a knowledge gap is the operational difference between dedicated and shared.  Are there any Cisco docs (beyond the command reference guide to toggle the feature) that explains why you'd choose one versus the other, and what it means from a design perspective?
    On a different note, while I'm no expert, here's some background to consider for others who may encounter the same issue (whether on UCS or a Nexus 5K).  I  (and our network team) come from an IOS background, so while the IOS "parts" of NX-OS are pretty familiar, the SAN "parts" of NX-OS are a little new.  We're also more CLI oriented, and while not impossible to configure via CLI, in our environment, the GUI for UCS seems to be more popular across the board - and we're still learning that piece as well.
    Our storage team is very familiar with SAN-OS, so they're very comfortable with the SAN "parts" of NX-OS.  But, they're very used to configuring the MDS switches via the GUI, which is what got us off track a bit.  In our scenario, creating a SAN port channel on the MDS via the GUI didn't give us the option for setting "switchport rate-mode shared"  Not saying it's not there in the GUI, but we certainly couldn't find it.
    Long story short, if the configuration of the SAN port channel on the MDS is in question, check it via the CLI and make any necessary changes there as a quick workaroud.

  • Text Format problem in Online Discussion Forum app

    Hello,
    I want to use the Online Discussion Forum app to host forums for DBAs to post information and discussion of database problems. I would like to be able to cut and paste material from log files, config files and other sources into the posted messages along with original text. When I paste a block of text from a terminal window into the message window of ODF the text appears okay. However when I click Preview (or Post the message and later view it), the text appears to run together and the line breaks appear as the string "br" embedded in angle brackets in the run on text rather than being honored as actual line breaks.
    I am using Firefox 2 on a Sun Solaris workstation as my browser. The text is being cut from xterm type terminal windows on Solaris. Anyone know why this is happening and whether there is anything I can do about it.?

    I forgot to mention that I am using Online Discussion Forum v0.92 using Apex v3.0.1 on Oracle 10.2.0.3 running on a Sun Solaris 8 server.
    Don
    Message was edited by:
    g8rdba

Maybe you are looking for