Losing portelt session after every request
Using bwa wl portal server 8.1 on wxp sp2
Hello all
We wrote some JSR 168 compliant portlets and deployed them accoring to the bea doc. Basically our portlets seem to work. However, there are some issues that could be tracked down to one problem:
Somehow the session gets lost on every request! One action request uses the same portlet session during action/render cycle, but two consecutive calls to the same portal page yield different sessions, so holding any session variables is next to useless.
The deployment szenario is this:
Using bea workshop i created an application and deployed our complete jsr168 portal application. Since bea does not enforce a login/does not impose any login restrictions, i created another application which imported a second portal project, which used the first application as a wsrp portlet provider.
The second application merily consists of a web.xml containing only security restrictions:
<web-app id="WebApp">
<display-name>Livelink Portal Integration Kit</display-name>
<security-constraint>
<web-resource-collection>
<web-resource-name>Portal</web-resource-name>
<description>Security constraint for the whole portal</description>
<url-pattern>/*</url-pattern>
<http-method>GET</http-method>
<http-method>POST</http-method>
</web-resource-collection>
<auth-constraint>
<description>all users</description>
<role-name>Users</role-name>
</auth-constraint>
</security-constraint>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>default</realm-name>
</login-config>
<security-role>
<role-name>Users</role-name>
</security-role>
</web-app>
At first i tried to add these security restrictions to the wsrp application but then the wsrp provider could not be reached so i split the applications.
So - how do i prevent bea from created a bunch of sessions? What am i doing wrong?
Hi
In server.xml, do you have cookies=true for both contexts (and the defaultContext)? I'm not sure how it would behave if one context was true and the other false.
Alternatively, could it have something to do with the crossContext attribute?
--Jon
Similar Messages
-
Friday 16 August, 2012
My internet service provider (https://my.gci.net/) blocks my entry to eMailGuard (a GCI spam and virus isolator) when I have third-party cookies disabled
When I allow third-party cookies I am able to access eMailGuard. I have used GCI eMailGuard and Firefox together for years and have had no such difficulty in the past.
This problem commenced 2-3 weeks ago.
I have followed all directions at http://support.mozilla.org/en-US/kb/websites-say-cookies-are-blocked-unblock-them to clear all cookies and cache, with no change. Also, my default setting (see below) is to “Clear history when Firefox closes.” If I understand correctly, clearing history will also clear cookies and cache, so I do it every time I close Firefox.
Has Firefox changed third-party cookies parameters recently? GCI of course claims this is a browser issue. Should I be concerned about third-party cookies if I delete them after every Firefox session? Any comments or thoughts are greatly appreciated.
My current version is Firefox v.14.0.1
My Privacy settings are:
• Tools\Options\Privacy
• Use custom settings for history
My selected (checked) custom settings are as follows:
• Remember my browsing history
• Remember download history
• Remember search and form history
• Accept cookies from sites (third-party cookies not selected)
• Keep until: I close Firefox
• Clear history when Firefox closes
Thanks,
James Lavery
Anchorage, Alaska
ISP my.GCI.net''Keep until: I close Firefox''
That's what I use for all cookies. If you start a new session every time you start Firefox, i.e., you don't resume the same session over and over, websites cannot track you 'across sessions' using cookies; you are a new person to them during each session (unless/until you log in).
Note that "Flash cookies" need to be managed separately.
As for this particular site, if you want to spend some time research it, you could install an add-on such as Firebug or the external Fiddler2 proxy. Both will show you each request made by the browser when you load a page. Then you can see which third party sites are involved and if you like make a specific entry to allow them in the Exceptions dialog.
* https://addons.mozilla.org/en-US/firefox/addon/firebug/
* http://www.fiddler2.com/fiddler2/ (more difficult to use for HTTPS sessions) -
Session is set for every request
Hi,
With WL Server 6.1SP1 we have some peculiar problem. Every request
is considered as a new request and a new session object is created. So
the information we stored in the session is no longer available for
subsequent requests. This behaviour is seen intermittently. Session is
not invalidated and session is not timed out.
Thanks,
PrasadTry:
- Reset the iOS device. Nothing will be lost
Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Reset all settings
Go to Settings > General > Reset and tap Reset All Settings.
All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
- Restore from backup. See:
iOS: How to back up
- Restore to factory settings/new iOS device.
If still problem, make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
Apple Retail Store - Genius Bar -
Session regeneration at every request
Hi All
i know that the getSessionId gives me the current client session, this session is the same for every browser windows i open without closing the application before open a new browser window.
i need to have a different session every time a client makes a login in the jsp page
how can i generate a different session for every client request without closing th browser?
thanks;hi,
ie once u did login and without logout, again u r trying to login in the same browser. Correct?
eg:
now u r in ( Logged in )
http://localhost:8080/mybank/transaction.jsp
and removing /transaction.jsp from addressbar
now addressbar contains http://localhost:8080/mybank and u r trying to access Again.
Correct ?
if this is the situation, at the Time of login invalidate the Existing session and create new session.
and set values to new session( that will be there in ur code)
AE -
Request Summary: Average Response time showing value 0 after every 5 minute
Greeting Experts,
We are facing a strange problem on our portal, we have been assigned with the task of monitoring system performance of portal every one hour. But at the end of every hour, the values it was giving is 0 in the request summary tab(System Administration> Monitoring> Request Summary). After monitoring we found out that the monitoring is resetting after every 5 minutes which means that every 5 minutes the values are showing 0. We need to increase the reset time in request summary so as to evaluate the real performance of the system.
Please advice whether it is a normal case in portal, and whether the threshold can be increased in the portal.
Thanks and Regards,
Sarthak syalIncrease "HungServerRecoverSecs"(default 300 seconds) in your iisproxy.ini.
Jong
"TejoKiran" <[email protected]> wrote:
>
Hi ,
Iam using an Applet (under JRE 1.3.0).
Iam trying to send a Http Request using URL Connection.
It is working fine . However, if the response time of the server is more
than
3 minutes ,
the Response is not coming back to the the Applet and it is in a loop
trying to
read from the Server.
I have observed that the request is sent to the server and it is processed
successfully.
Then , I tried to call this sample JSP from the Applet.
<CODE : delay.jsp>
<%@ page language="java" import="java.util.*"%>
<%
System.out.println("<START>");
out.println((new Date()).toString());
System.out.println((new Date()).toString());
long cTime;
cTime = System.currentTimeMillis();
long dTime = cTime;
while(true) {
long dif = System.currentTimeMillis() - cTime;
if(dif > (15*60*1000))
break;
if((System.currentTimeMillis() - dTime) > (2*60*1000)) {
out.println("2 Minutes");
out.flush();
System.out.println("2 Minutes");
dTime = System.currentTimeMillis();
System.out.println((new Date()).toString());
out.println((new Date()).toString());
System.out.println("<END>");
%>
</CODE>
Because , I was flushing the data after every 2 minutes , it worked fine
This one worked with WebLogic 5.1 when accessing the Weblogic server
directly
. Like
http://IP:7001/ccls/test/applet.jsp (This JSP downloads the Applet under
JRE1.3) -
Cannot create a session after the response has been committed (Tomcat 6)
I'm getting a rather annoying error when I try to open a pretty basic JSP page.
I'm rather new to the whole JSP scene, so I'm following the example found on pages 287 and onwards in "JSF in Action - Manning" in case anyone wanted to check my code against the source.
I've searched for about 4 hours now, coming back to this site a couple of times, once reading about writeouts and stuff. But I'm not really sure this is the issue in this case and if it is, where exactly the problem lies.
I've already fixed a number of errors I got (jtsl.jar and standard.jar missing etc...) but this particular problem is driving me (and my co-workers for that matter :-) ) up the wall.
Anyone willing to help me out here?
Error:
description The server encountered an internal error () that prevented it from fulfilling this request.
exception
javax.servlet.ServletException: Cannot create a session after the response has been committed
javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
root cause
java.lang.IllegalStateException: Cannot create a session after the response has been committed
org.apache.catalina.connector.Request.doGetSession(Request.java:2301)
org.apache.catalina.connector.Request.getSession(Request.java:2075)
org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833)
org.apache.myfaces.context.servlet.SessionMap.setAttribute(SessionMap.java:53)
org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:103)
org.apache.myfaces.util.AbstractAttributeMap.put(AbstractAttributeMap.java:35)
org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedViewInServletSession(JspStateManagerImpl.java:523)
org.apache.myfaces.application.jsp.JspStateManagerImpl.saveSerializedView(JspStateManagerImpl.java:358)
javax.faces.application.StateManager.saveView(StateManager.java:47)
org.apache.myfaces.application.jsp.JspViewHandlerImpl$StateMarkerAwareWriter.flushToWriter(JspViewHandlerImpl.java:387)
org.apache.myfaces.application.jsp.JspViewHandlerImpl.renderView(JspViewHandlerImpl.java:322)
org.apache.myfaces.lifecycle.RenderResponseExecutor.execute(RenderResponseExecutor.java:41)
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:132)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:138)
Source Code of login.jsp:
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
pageEncoding="ISO-8859-1"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
<f:view>
<html>
<head>
<title>
<h:outputText value="ProjectTrack"/>
</title>
</head>
<body>
<table>
<tr>
<td>
<h:graphicImage url="/images/logo Skillteam.jpg"
alt="Welcome to ProjectTrack"
title="Welcome to ProjectTrack"
width="435" height="120"/>
</td>
<td>
<font face="Arial, sans-serif"
size="6">
<h:outputText value="ProjectTrack"/>
</font>
</td>
</tr>
http://forum.java.sun.com/post!default.jspa?forumID=45#
Click for bold </table>
</body>
</html>
</f:view>
web.xml & faces-config
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" id="WebApp_ID" version="2.5">
<display-name>ProjectTrack</display-name>
<welcome-file-list>
<welcome-file>faces/login.jsp</welcome-file>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
</web-app>
<?xml version="1.0"?>
<!DOCTYPE faces-config PUBLIC
"-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
"http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
<faces-config>
<navigation-rule>
<from-view-id>/login.jsp</from-view-id>
<navigation-case>
<from-outcome>success</from-outcome>
<to-view-id>/inbox.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>failure</from-outcome>
<to-view-id>/login.jsp</to-view-id>
</navigation-case>
</navigation-rule>
</faces-config>Setup:
Eclipse Europe 3.3.0
Tomcat 6.0.13
MyFaces 1.2
JRE 1.6.0_02When searching for this error, this was the first page google gave me. I found the answer and just in case anyone else stumbles in here with the same question I thought I'd share my findings.
Unfortunately, if your problem is the same as mine, you're going to feel pretty silly. I was navigating to the wrong page. If MyFaces(when running tomcat) tries to resolve to a page that doesn't exist, the error given above is what happens.
In my case I accidentally put my .jsp page into the wrong directory and ended up banging my head against the wall for an hour figuring that out. Hope this helps someone. -
Avoid Commit after every Insert that requires a SELECT
Hi everybody,
Here is the problem:
I have a table of generator alarms which is populated daily. On daily basis there are approximately 50,000 rows to be inserted in it.
Currently i have one month's data in it ... Approximately 900,000 rows.
here goes the main problem.
before each insert command, whole table is checked if the record does not exist already. Two columns "SiteName" and "OccuranceDate" are checked... this means, these two columns are making a unique record when checked together with an AND operation in WHERE clause.
we have also implemented partition on this table. and it is basically partitioned on the basis of OccuranceDate and each partition has 5 days' data.
say
01-Jun to 06 Jun
07-Jun to 11 Jun
12-Jun to 16 Jun
and so on
26-Jun to 30 Jun
NOW:
we have a commit command within the insertion loop, and the each row is committed once inserted, making approximately 50,000 commits daily.
Question:
Can we commit data after say each 500 inserted rows, but my real question is can we Query the records using SELECT which are Just Inserted but not yet committed ?
a friend told me that, you can query the records which are inserted in the same connection session but not yet committed.
Can any one help ?
Sorry for the long question but it was to make u understand the real issue. :(
Khalid Mehmood Awan
khalidmehmoodawan @ gmail.com
Edited by: user5394434 on Jun 30, 2009 11:28 PMDon't worry about it - I just said that because the experts over there will help you much better. If you post your code details there they will give suggestions on optimizing it.
Doing a SELECT between every INSERT doesn't seem very natural to me, but it all depends on the details of your code.
Also, not committing on time may cause loss of the uncommitted changes. Depending on how critical the data is and the dependency of the changes, you have to commit after every INSERT, in between, or at the end.
Regards,
K. -
DG4ODBC adds black spaces after every character
I am trying to set up HS using Oracle 10.2.0.5 on RHEL5 (64 bit), FreeTDS, and MS SQL Server.
The ODBC Driver works fine:
[oracle@phsbe1pr ~]$ isql sfasql_freetds_dsn sqlSinfoOne ***
| Connected! |
| |
| sql-statement |
| help [tablename] |
| quit |
| |
SQL> select name, len( name ) from sys.objects where object_id < 20 ;
---------------------------------------------------------------------------------------------------------------------------------------------+
| name | |
---------------------------------------------------------------------------------------------------------------------------------------------+
| sysrscols | 9 |
| sysrowsets | 10 |
| sysallocunits | 13 |
| sysfiles1 | 9 |
| syspriorities | 13 |
| sysfgfrag | 9 |
---------------------------------------------------------------------------------------------------------------------------------------------+
SQLRowCount returns 6
6 rows fetched
SQL> quit
[oracle@phsbe1pr ~]$
[oracle@phsbe1pr ~]$ tsql -S SFASQL_FreeTDSName -U sqlSinfoOne -P ***
locale is "en_US.UTF-8"
locale charset is "UTF-8"
using default charset "UTF-8"
1> select name, len( name ) from sys.objects where object_id < 20
2> order by 1
3> go
name
sysallocunits 13
sysfgfrag 9
sysfiles1 9
syspriorities 13
sysrowsets 10
sysrscols 9
(6 rows affected)
1> exit
[oracle@phsbe1pr ~]$
But when I use the dblink i got every string doubled with spaces after every char:
[oracle@phsbe1pr ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.5.0 - Production on Mon Jul 23 17:22:25 2012
Copyright (c) 1982, 2010, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> set linesize 120
SQL> column name format a40
SQL> select "name", length ( "name" )
2 from sys.objects@sfasql_link
3 where "object_id" < 20
4 order by 1
5 /
name LENGTH("NAME")
s y s a l l o c u n i t s 26
s y s f g f r a g 18
s y s f i l e s 1 18
s y s p r i o r i t i e s 26
s y s r o w s e t s 20
s y s r s c o l s 18
6 rows selected.
SQL>
What can I do ?
Mi init.ora is:
HS_FDS_CONNECT_INFO = SFASQL_DSN
HS_FDS_SHAREABLE_NAME = /usr/lib64/libodbc.so
HS_FDS_TRACE_LEVEL = off
HS_FDS_TRACE_FILE_NAME=/tmp/odbc_hs_sfa.trc
HS_FDS_SQLLEN_INTERPRETATION = 32
set ODBCINI=/etc/odbc.ini
adn odbc.ini contains:
[SFASQL_DSN]
Description = sqlserver
Driver = FreeTDS
# Servername = SFASQL_FreeTDSName
Server = phsspbe.perfumeholding.intra
Address = 172.17.0.45
Port = 1433
Database = SFA_INTERSCAMBIO
TDS_Version = 8.0
Language = us_english
TextSize = 1999
PacketSize = 1470
ClientCharset = ISO-8859-1
DumpFile = /tmp/odbc_sfasql_dsn.log
DumpFileAppend = Yes
DebugFlags =
Encryption = off
#Trace = Yes
#TraceFile = /tmp/odbc_sfasql_dsn.trc
Thank you for every answer!
Andrea1. Please add to the gateway init file HS_NLS_NCHAR=UCS2
Then test again with a new SQL*Plus session.
When it continues to fail, what's the character set of the Oracle database being used and how did you set the NLS_LANG in your environment? -
[OSS-worked-around] Kernel modules being unzipped after every reboot?
I've been having this issue for a while, but didn't bother to track it down until now...
Every time I log into my desktop environment (xfce4, xfwm, through slim) the process monitor widget shows one full core of CPU usage for almost a minute after the desktop loads. I open it up to look at what's going on, and immediately after I update oss it is gcc rebuilding those modeles, but every other time it appears to be running a whole bunch of "sh gunzip <path to various places in the kernel tree>". Now, I update fairly regularly and generally only reboot after an update, but I checked it and this happens after every boot even if I haven't recently updated anything.
Is there a reason for this? I would think that it should cache these unzipped modules so it doesn't take up a full core for a minute every boot, but I could be wrong, since I can't find any reference to this anywhere online...
Last edited by cshake (2013-05-27 01:02:19)I haven't done anything custom that I know of - installed fresh around 2 years ago and have kept it updated since, (through the migration from sysv to systemd, sysvinit is completely gone now and the -compat package has been removed) everything through pacman (yaourt) and a few through AUR (like dropbox and skype at one point, though skype is gone now). I have to use OSS for sound because of the chipset (alsa doesn't find the headphone jack), and that likes to compile itself after an update, but I expected that.
Where could I find what is making this happen? In the startup manager for xfce4 the only auto-started applications are network manager applet, power manager, xscreensaver daemon, and policykit. I don't save sessions between boots, so nothing extra starts from there. Nothing is started in the .xinitrc besides startxfce4. In /etc/systemd/system/multi-user.target.wants there's acpid.service, dcron.service, laptop-mode.service, ModemManager.service, NetworkManager.serice, ntpd.serivice, oss.service, remote-fs.target, sshdgenkeys.service, sshd.service.
I guess this gets moved to newbie corner, because I'm clearly missing something... -
On new session after login procedure and :APP_USER
Hi,
I need to get some info using :APP_USER on a new session after login procedure but it's always null:
I'm referencing it this way:
my_var := :APP_USER;
Any help is wecome
For the forum moderator, I got some problems, could you please close 2 of my repeating treads. Thanks
Message was edited by:
Rafael MHi Scott,
I am facing the same problem. I have created one application process with process condition On New Session: After Authentication. In this application process i am checking for :app_user in particular table, if the person does not exist i am inserting a record in to the table. But every time :app_user is having null value with On New Session: After Authentication process condition. It is working fine for remaining process conditions.
Thanks in advance for your help
Regards
Ram. -
No Remote session after disconnect
We have the problem that AFTER a disconnect of a remote session we get the message:
"Failed to connect to server (DNShostName~50)" - actually in German it reads "Fehler beim Herstellen einer Verbindung mit dem Server (DNShostName~50)"
The initial remote session works, only if it breaks a reconnect is only possible after a reboot of the remote host. In addition the client does not lock the screen if the connection is lost.
I noticed that the listening IP stack does not listen any longer. Before the problem, when doing a "netstat -a -b" I can see 2 entries for nzrWinVNC.exe:
Proto Lokale Adresse Remoteadresse Status
TCP 0.0.0.0:5950 LWS71127:0 ABHREN
[nzrWinVNC.exe]
TCP [::]:5950 LWS71127:0 ABHREN
[nzrWinVNC.exe]
But both listening ports are gone after I have lost the remote session.
We have ZCM 10.3.3 on Win7 64bit with an internal CA and MS-SQL DB. Problem exists at least since 10.3.0
Most important policy settings:
Remote Control Settings
x Allow managed device to be controlled remotely
x Ask permission from user on managed device before starting Remote Control
x Give visible signal to the user on the managed device during Remote Control
_ Give audible beep to the user on the managed device every seconds during Remote Control
x Allow managed device screen to be blanked during Remote Control
x Allow managed device mouse and keyboard to be locked during Remote Control
x Allow screen saver to be automatically unlocked during Remote Control
x Automatically terminate Remote Control session after inactivity of "30" minutes
Password Authentication
x Enable password based authentication
Minimum password length "7"
Password type
_ Session
x Persistent
x Allow user to override default passwords on managed device
Default ZENworks password:
_ Clear password (if any)
x Set password
Default VNC password:
_ Clear password (if any)
x Set password (password should not exceed 8 characters)
Intruder Detection
x Enable Intruder Detection
Suspend accepting connections after "5" successive invalid attempts
Automatically start accepting connections after "10" minutes
Session security
_ Enable Session Encryption
x Allow connection when Remote Management Console does not have SSL certificate
Allow up to "2" levels in Viewer certificate chain
Abnormal termination
x Upon abnormal termination of remote sessions, "Lock Device"BachmannK,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Visit http://support.novell.com and search the knowledgebase and/or check all
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://forums.novell.com)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://forums.novell.com/faq.php
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://forums.novell.com/ -
Need to print a letter to bank after every payment run
HI Gurus,
i have a weird requirement from businees, i need to print a letter after every payment run for specific pyament mehod through F110. the config for this payment method in FBZP maintained as
Paymnet mehod for : outgoing payment
Paymnet method classification : Bank transfer
this is letter will contain the most of the bank details in vendor master data (like bank account number, bank name, address,......e.t.c)
Could you please help me in finding if there is any standard form has this details and driver program for this (i mean RFFO*).
Thanks in Advance.
PreethiSee Chapter 11 of Oracle Business Intelligence Server Administration Guide (Version 10.1.3.2 December 2006).
Oracle BI Administrators can configure the Oracle BI Server to maintain a local, disk-based cache of
query result sets (query cache). The query cache allows the Oracle BI Server to satisfy many
subsequent query requests without having to access back-end databases (such as Oracle or DB2).
This reduction in communication costs can dramatically decrease query response time.
As updates occur on the back-end databases, the query cache entries can become stale. Therefore,
Oracle BI Administrators need to periodically remove entries from the query cache using one of the
following methods:
■ Manually. In the Administration Tool, in the Manage menu, select Cache to open the Cache
Manager. Cache Manager provides the maximum flexibility in choosing which cache entries to
purge and when to purge them, but it requires direct human involvement. For more information,
refer to “Using the Cache Manager” on page 255.
■ Automatically. In the Administration Tool, you can disable cache for the system, set caching
attributes for a specific physical table, and use Oracle BI event tables to purge cache
automatically. For additional information about managing cache, refer to “Monitoring and
Managing the Cache” on page 234.
■ Programatically. The Oracle BI Server provides ODBC-extension functions for purging cache
entries programmatically. These functions give you the choice and the timing flexibility of Cache
Manager with the automation of event tables. You can write your own scripts to call these
functions at times that fit your needs. For more information, refer to “Purging and Maintaining
Cache Using ODBC Procedures” on page 235. -
Is lookup required for every request(SLSB)?
Hi,
I have a SLSB and a client that makes frequent requests as needed. The question is, should the client make a fresh lookup for every request in a session or just once per session?
I have tried both the ways and got it to work...but can someone tell me the correct approach for lookup?
thanks in advance.Thanks for the reply!
By your statment that EJB Home Handle can be cached, I understand the following..
MyBeanRemote mybean = null; // declaring as class variable.
// making a request
if(mybean==null)
lookupBean();
mybean.doSomething();
// making next request
if(mybean==null)
lookupBean();
mybean.doSomethingMore();
// here goes the lookup...
lookupbean() {
mybean = ...lookup("......");
}so, this is how before each request, I check if the mybean is null. in lookupBean(), the bean-lookup process is executed and reference is set to mybean.
am I right? -
Hi Team,
Showing Yellow icons after every 15 to 20 Min and internet stop working.when we enable- disbale the network connection then will internet start working fine.Some time network connection is disable but when we renable that connection it will stuck on enabling
and will not renable till i am not restart that machine. I have 350 Machine in network but facing this issue in 25 machines. Kindly help me on this issue .
Regards
Sahil bhatejaHi,
So switch a LAN card fix this issue...seems a compatibility issue or maybe some packs or programs you installed recently cause this issue.
Have you manually check the network adapter driver from the PC's manufacture website? sometimes, it will be a time delay before Microsoft push out the driver update.
Check if issue exists in safemode with network, this mode will launch Windows with limited sets of files and drivers.
if you have a restore point, restore the pc to a previous point at which the pc is functioning fine.
Yolanda Zhu
TechNet Community Support -
since i do not have a transducer now, i am currently generating an array of 30 random numbers. after every 5 readings a warning should be given to the user that 5 readngs are complete. this cycle should repeat. the array size is 30.
please help me out, waiting for reply asap.
once i have the transducer, i will be taking 30 analog samples and then after every 5 smaples that wraning will be displaye din a new VI
Solved!
Go to Solution.Use a while loop with a time delay representing your sampling period.
Use the count terminal to check if equals 4, so 4th iteration=5th sample.
Use a case structure. The true case will only be executed on the 4th iteration.
In the true case place a subVI with your desired message in the front panel. Go to the VI properties window and set "open front panel when called".
The closing condition of the warnign is not giving in your description.
Consider that rather than usign a subvi for this, you could use the "One/Two/Three button dialog" or "display message" vis at the "dialog and user interface" pallete.
Please give it a try and send your own VI. Do not expect us to provide a working solution.
Regards,
Maybe you are looking for
-
Some background... System:Windows XP with Service Pack 2. Player: Brand new Creative Zen Vision: M with no firmware updates. My Zen Vision:M has a problem (besides the scratch and fingerprint attracting top surface): It won't play videos on a TV scre
-
Unable to install SCCM client on Windows Server 2008 R2 - certificate permission error?
I am trying to comply with corporate policy, which is, have an SCCM agent or client on every Windows device. I have successfully used the provided SCCM installer on other Windows 2008 R2 servers. However for one particular server I cannot get the SCC
-
Itunes says it cannot open because of my audio config.
When I try to open Itunes, it says "Itunes cannot run because it has detected a problem with your audio configuration." What is wrong and what can I do to fix it?
-
Transferring DW license from crashed computer
My old iMac's hard-drive crashed and the folks at the Apple store were only able to get our pictures and videos off the old machine. We bought a new iMac and I tried re-installing DreamWeaver MX 2004 on the new machine and the installation is success
-
Material class with " numeric format" in charaterstic store in which table
Hi , We had maintained material classification with "Material Class" , in charaterstic we have taken "Numeric format value" and we are giving this value manually in material when creating the material . These values will store in which table . Numeri