Session Data Crossover CF4.5
I have a CF web application that implements session state and
I have a reliable report that two users' sessions are colliding
(i.e., when second user on the same corporate network and browser
but different user ids logs into the app the first user's session
is refreshed to the second users settings including user id and
account, etc... on the next page view or refresh).
This is expected behavior on a single computer + browser when
running multiple instances of the application but the users are
reporting that it happens from different windows workstations using
IE6. As noted in the summary this particular application resides on
a CF 4.5.x server installation and I am using CFLOCK on all session
variables.
We have actually logged into the same two user accounts from
browsers on our network (i.e., outside the firewall of the users
reporting the problem) and we don't see the behavior.
Any insights appreciated.
Are the computers "imaged" or otherwise deployed onto the
enterprise using a standard/premade software configuration? Session
state relies on a unique key pair stored in a cookie at the local
machine. The server provides it to the browser upon first visit.
(And probably others, if it expires) - If the person creating the
image visits the website (to say, set it as a homepage) but then
doesn't clear cookies, any computer duplicated off that image will
have the same 'unique' pair and this session duplication will
occur. Try clearing the cookies on the affected machines, and this
could solve the problem when the server reissues the new
tokens.
Similar Messages
-
How do I access session data through an EJB?
Hi
How do I access session data through an EJB?
I am currantly developing a Web service (using ejb's, JBoss.net and Apache Axis). A client making a call to this Web service, is expecting a bussiness-object in return. My problem is that this bussiness-object i stored in a users session data. How do I retrieve this bussiness-object from the users session.
I have read that this does not work with httpsessions, is this true? If this is true, is it possible to store the bussiness object in a JavaBean e.g:
<jsp:useBean id="userContextWebImpl" scope="session" class="com.ac.march.client.UserContextWebImpl">
<%
String key = "test";
String value = "This is the value";
userContextWebImpl.setValue( key, value1 );
%>
</jsp:useBean>
and then retrieve this information through the EJB? Or is it possible to do this by using Statfull JavaBeans? Or can this be done through a nother solution?
Please help!I have created a JavaBean with scope="application" to store some data. The data is stored when a user prefomes a spesific task.
A different person then makes a call to a Web-Service on the server. The Web-Service then asks an EJB to retrieve the data stored in the JavaBean (servlet cotext). In other words: How do I retrieve this data from the EJB?
I have tried with this code, but with no luck.
(ApplicationContextWebImpl is the JavaBean)
public static String getBookingResult( String key )
String myResult = null;
String myKey = key;
ApplicationContextWebImpl applicationContextWebImpl = null;
try
applicationContextWebImpl = new ApplicationContextWebImpl();
myResult = (String)applicationContextWebImpl.getValue( key );
catch ( java.rmi.RemoteException e )
return myResult;
} -
Waveburner; a few Questions regarding track files and Session Data
After a bit of negotiating, I'm almost ready to burn. Was having problems with file locations and discovered that i had multiple files in different locations. Those have been eliminated and all relative track files are in one place now with the Song Data File as well.
I then re-imported the individual aif tracks only to find that all of my fades and edits are GONE. It appears that I may have to DO THEM ALL OVER AGAIN! Please tell me that there is a work around.
Is it possible to import only the Session Data related to the fades and edits(everything but the actual audio files), so as to avoid all this "do-again" work?
I was also wonder if it is necessary, or perhaps a good idea, to change the File INFO for each of the individual audio track files from "OpenWith" iTunes (default setting) to "Open With": WAVEBURNER ?. (selectable on the aiff files, "Show More Info" window
Currently the aif files are set to "OpenWith" iTunes (default)
One last question please.
Is Waveburner really up to snuff? How many people are using this for Mastering and Burning CD's? I'm about to start inserting some AU Mastering Plug Ins and I'm hoping for the best. Any other suggestions are greatly appreciated.
G5 Dual 2.0/PBook G41.5Ghz/LogicPro7 Live5 Reason3.0 PansncDA7 TascamFW1804 Mac OS X (10.4.7)You're grammer isn't bad jord, it was I who asked a plethora of questions under one Subject heading.
When i open the project file(.wb3),
The prompt says;
"Please choose a replacement from the list below:"
/Volumes/320GB HD/Users/ahuihou/.Trash/1 Track 01.aiff
/Volumes/320GB HD/Users/ahuihou/.Trash/2 Track 02.aiff
/Volumes/320GB HD/Users/ahuihou/.Trash/3 Track 03.aiff
/Volumes/320GB HD/Users/ahuihou/.Trash/4 Track 04.aiff
/Volumes/320GB HD/Users/ahuihou/.Trash/6 Track 06.aiff
As you can see the files are in the trash.
The first problem is that there are no actual files in the trash. Just an icon of a CD Disc which was dragged there to eject it, It is no longer in the disc drive/tray. Perhaps i should put the disc back in the drive and then update/replace the files afterwords. (The CD is scratched.)
The strange thing is that i can still preview the track that's in the trash by selecting More Info and playing it on the little Quicktime player bar. I guess the file is in a cache somewhere?
I've looked everywhere on all drives for the specific files but can not find them anywhere.
In the Replacement prompt there is a place that I can check to "Search in the same folder for subsequent files" button on the "Replacement" prompt.
which "same folder" is it refering to?
The Trash folder where the old files are or the Folder where the actual .wb3 project file is? I do have all of the correctly named song files/regions in the same folder with the project file.
maybe i should just start again. i'm not one to give up easy though and would much prefer to "beat" the computer at the game. -
How can we reset the session data in SAP ISA B2B application.
com.sap.isa.isacore.action.IsaCoreInitAction$StartupParameter this action class providing the special feature to store all data passed to it in the request as parameters into the session context and make them available for all other actions.
1. But in the inner class they had defined private parametrized constructor.
2. Action class is defined as final.(there is no chance to override the method)
3. There is no setter method (only getter() is available).
4. Creating a new Z_ class that is reflecting in entire application.
5.They had hard coded the Session attribute name in Action class.
6. Application is expecting a session object with the same attributes.
Is there any chance to create a new object for this class or any where any chance to reset the session data. Am using the Multiple_SoldTO concept in my application. My back end ECC .Please help me.
Advanced Thanks
PC.M
Edited by: pmudigonda on Jul 6, 2011 1:21 PMI am not sure about your requirement, but yet.. Did you check UserSessionData object? It encompasses all the session variables.
-
Could not deserialize session data, java.io.InvalidClassException
Whenever I click on logout link from Liferay(Which deployed as application on Weblogic 10.3),It shows below Exception in the console however i am able to logout sucessfully.
Could not deserialize session data.
java.io.InvalidClassException: org.hibernate.proxy.pojo.javassist.SerializableProxy; local class incompatible: stream classdesc serialVersionUID = 1180036893511205383, local class serialVersionUID = -2265249369383210104 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:560)
It seems to be Classpath polluted with different hibernate jars.But still not able to figure it out.Below is the jar files which i have in classpath.
hibernate-annotations.jar
hibernate-commons-annotations.jar
hibernate-core.jar
hibernate3.jar
Application Server: Weblogic 10.3
Any Help would be much appreciated.Sounds like you have two different versions of a class in the two applications.
If you change a class implementation and recompile - the updated class gets a new UID. Looks like maybe one app has a jar with the older class and the other app has a jar with the new class. -
How to replicate session data at the user level?
Hi all,
my client has users who use laptop/tablet computers in the field with wireless connections. The application requires the users to complete long multi-page forms where the data is only submitted to the EIS layer at the end of the process. The connections regularly drop out which understandably is a cause of some grief. In addition, the users want to be able to switch to another machine in order to complete their session.
The 'switching machine' requirement kills the idea of using persistent cookies and session replication unfortunately. So I am faced with the idea of storing the session data (keyed by user id), in serialized form, either on a stand-alone disk which is accessible by each webserver in the cluster or is the database. The problem with the database idea is the performance hit of traversing the EJB and JDBC layers.
Can anyone suggest the best practice in this case? Or point to an article or tool that covers the problem?
BTW, the app serves a small (<50) and stable base of authenticated users so scalability is not really an issue whereas failover is.
Regards,
Dave.> Is it possible to close a PO at the header level
Po can be closed at Item level and not Header level. You can set Deletion Indicator and further can be archived thru SARA MM_EKKO
or a way to deactivate the PO so that no new items can be added?
You can activate Release strategy and Choose a Proper Release indicatory so that no new changes to be carried out.
Else go for User Exits -
Why I get "Error in getting session data" error when running report?
Hello,
I have reporting services on one server, and SharePoint 2010 on other server. When I view report from browser, I got blank page. From Report Server Log file, I got below error:
v VERBOSE: writting session cookie: ekkrjbubp00t5wzc3rzspvzb
v VERBOSE: Saved report snapshot to session in a background thread <for same session id>
e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ReportServerStorageException: , An error occurred within the report server database. This may be due to a connection failure, timeout or low disk condition within the database.;
e ERROR: Error in getting session data: Expired Session: ekkrjbubp00t5wzc3rzspvzb
e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: , Microsoft.ReportingServices.Diagnostics.Utilities.ExecutionNotFoundException: The report execution ekkrjbubp00t5wzc3rzspvzb has expired or cannot be found
Are there anyone getting the same issue as mine? I did not see any solutions for this issue when I searched.
Thanks,
MeganThere are a number of timeouts in SSRS; session timeout, report execution timeouts, http request timeouts. A session timeout in SSRS is not the same as a session timeout in ASP.NET. Below are some articles that can help you understand the timeouts
and hopefully lead you down the path of discovery.
This articles is a good article as it discusses the session timeout and the keep alive that is sent from the report viewer.
http://blogs.msdn.com/b/jgalla/archive/2006/10/11/session-timeout-during-execution.aspx
This article is good as well in describing some of the timeouts.
http://blogs.msdn.com/b/dynamicsaxbi/archive/2013/02/14/how-to-addressing-ssrs-session-timeouts.aspx -
ERROR: Error in getting session data: Invalid or Expired Session
Hi,
We are using ssrs 2008 r2 and have a report which has links that allow the user to drill down.
When the link is clicked the same report is run but shows more detail. This works fine but we are now getting the error below for a user.
I have increased the time out for the report to 600 seconds.
Error in getting session data: Invalid or Expired Session: fnxgxhjuveugvd552qfyv3fw
session!ReportServer_0-6!4b0!03/18/2015-10:51:29:: i INFO: LoadSnapshot: Item with session: fnxgxhjuveugvd552qfyv3fw, reportPath: , userName: doman/user not found in the database
Any ideas how this can be resolved?Hi Nasa1999,
Based on your error message, If the all the users will sometimes got the same issue, it can be caused by the timeout issue. It happens a lot when rendering big report, and it exceeds the default Session Timeout. You can execute script
to increase the Session Timeout time. Please refer to following blog:
Session Timeout during execution. Also increase the value of <Query Timeout> in rsreportserver.config file. This file locate at XX:\Program Files\Microsoft SQL Server\MSRS10.MSSQLSERVER\Reporting Services\ReportServer
Please also check to set the <legacyImpersonationPolicy> back to true(https://support.microsoft.com/en-us/kb/972328).
Locate the Aspnet.config file in the following folder:
%windir%\Microsoft.NET\Framework64\v2.0.50727
If Microsoft Visual Studio is installed on the computer that is running SQL Server 2005, double-click
Aspnet.config. If Visual Studio is not installed on the computer, follow these steps:
a. Right-click Aspnet.config, point to
Open with, and then click Choose program.
b. In the Programs list, click
Notepad, and then click OK.
Locate the following tag in the <runtime> section of the code.
<legacyImpersonationPolicy enabled="false"/>
Change the tag to:
<legacyImpersonationPolicy enabled="true"/>
Save the Aspnet.config file.
Reset IIS.
Try your report again.
Similar Thread for your reference:
Using SharePoint Report Viewer
Web Part: Error in getting session data: Invalid or Expired Session: xxxxxxxxxxx
If only the one user or several users will got the issue, the issue can be caused by the permission setting, please reference to below blog:
http://answers.flyppdevportal.com/categories/sqlserver/sqlreportingservices.aspx?ID=3506231b-9f4d-4f5a-884d-157137c56336
http://blog.goobol.com/the-permissions-granted-to-user-domainusername-are-insufficient-for-performing-this-operation/
If your problem still exists, please try to provide more details information as below:
Did you reporting service installed in native mode or sharepoint mode, If in native mode, please try to provide more error message from the log file:
C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\LogFiles
If you still have any problem, please feel free to ask.
Regards,
Vicky Liu
Vicky Liu
TechNet Community Support -
How to store jsp session data of different user in util.hashmap
how to store jsp session data of different user in java.util.hashmap
and access the data of all user on the server side
The same example is given in professional jsp but its not working.
I can use getIds() of httpsessioncontext but it's depricatedHi
I'm trying to make an example.
With the following codes you can get the date from the session.
request.getSession().getAttribute("sessionname")
To store it in a hashmap you could do it like this ->
Hashmap hm = new Hashmap();
hm.put(Object key, request.getSession().getAttribute("sessionname"));
I hope you understand it if not just write it!
Cyrill -
Session data not carried over. with IE6SP1 and WL7
Hi,
We recently upgraded our clustered WL to WL7x and after that we started seeing
a strange problem regarding session data of our HTML/Servlet pages.
When we access the pages through this cluster, the session data(browser cookies
not accepted) is not carried forward in IE6 SP1. With IE5x it works fine. The
Local Intranet is always coming as blocked for the cookies. I am not able to reset
the settings also.
The same set of programs are working fine with server running WL5x.
Is it anything due to P3P or is there any setting I should do at WL7 level for
this problem? When I do the URL rewriting this works fine but, as many are static
HTMLs submitting servlet request, we are not able to do URL rewriting.
Any help on this will be highly appreciated.
Thanks
kavithaIt doesn't seem to be a problem with serializable attributes though.
Also Weblogic doesn't use the distributable tag. So that should
not matter too.
Can you investigate further and try to pinpoint the issue?
When we access the pages through this cluster, the session data(browser
cookies not accepted) is not carried forward in IE6 SP1What do you mean by session data not carried forward?
-Vinod.
"Stjepan Brbot" <[email protected]> wrote in message
news:[email protected]..
>
"kavitha" <[email protected]> wrote in message
news:[email protected]..
Hi,
We recently upgraded our clustered WL to WL7x and after that we
started
seeing
a strange problem regarding session data of our HTML/Servlet pages.
When we access the pages through this cluster, the session
data(browser
cookies
not accepted) is not carried forward in IE6 SP1. With IE5x it works
fine.
The
Local Intranet is always coming as blocked for the cookies. I am not
able
to reset
the settings also.
The same set of programs are working fine with server running WL5x.
Is it anything due to P3P or is there any setting I should do at WL7level for
this problem? When I do the URL rewriting this works fine but, as many
are
static
HTMLs submitting servlet request, we are not able to do URL rewriting.In clustered environment session object must implement Serializable
interface.
Also your web application has to have parameter "distributable" set ontrue
in "web.xml" configuration file.
HTH -
How to clear all session data in adf through coding?
Hi Everyone,
i have created many pages in an application.I want to clear all session data when i get back to my first page.
how to do that?
such that my application should run as i am running for the first time.
Thanks.Hi Jabr,
i have used this code in initMethod() (Before phase) of my page.
ExternalContext ectx = FacesContext.getCurrentInstance().getExternalContext();
HttpServletResponse response = (HttpServletResponse)ectx.getResponse();
HttpSession session = (HttpSession)ectx.getSession(false);
session.invalidate();
this code got executed but the page has 2 lovs.
im getting error null pointer exception that EmpLovVO not found.
if i remove the above code then the page is running correctly.
What to do now?
Thanks. -
Verify whether the session data is kept in the Coherence caches
I have successfully combined the MapViewer application with WebLogic and Oracle Coherence*Web.
How to verify whether the session data of MapViewer application is kept in the Coherence caches or not?
All out put show that both of MapViewer and WebLogic server as well as Coherence are running well.
All the following steps are right?
The procedure is as the following:
1. Create a WebLogic domain: Map_domain.
2. Start the WebLogic domain Map_domain by running startWebLogic.sh script.
3. Install Coherence.jar as a library on WebLogic.
4. Copy the coherence.jar in the WAR's WEB-INF/lib directory.
5. Create a reference to the shared library by modifying the weblogic.xml in web applications WEB-INF directory
and add the following contents:
<weblogic-web-app>
<library-ref>
<library-name>coherence-web-spi</library-name>
<specification-version>1.0.0.0</specification-version>
<implementation-version>1.0.0.0</implementation-version>
<exact-match>false</exact-match>
</library-ref>
<weblogic-web-app>6. Install Coherence-web-spi.war as a WebLogic library.
7. Install the MapViewer as a WebLogic application.
8. Start a Coherence cache server using the cmd file web-cache-server.cmd and then start MapViewer application.
The content of web-cache-server.cmd file:
@echo off
@rem This will start a cache server
setlocal
:config
@rem specify the Coherence installation directory
set coherence_home=F:\coherence
@rem specify the JVM heap size
set memory=256m
:start
if not exist "%coherence_home%\lib\coherence.jar" goto instructions
if "%java_home%"=="" (set java_exec=java) else (set java_exec=%java_home%\bin\java)
:launch
set java_opts="-Xms%memory% -Xmx%memory%"
"%java_exec%" -server -showversion "%java_opts%" -cp %coherence_home%\lib\coherence.jar;
%coherence_home%\lib\coherence-web-spi.war
-Dtangosol.coherence.management.remote=true
-Dtangosol.coherence.cacheconfig=WEB-INF/classes/session-cache-config.xml
-Dtangosol.coherence.session.localstorage=true
com.tangosol.net.DefaultCacheServer %1
goto exit
:instructions
echo Usage:
echo ^<coherence_home^>\bin\cache-server.cmd
goto exit
:exit
endlocal
@echo onEdited by: jetq on Jan 13, 2010 9:32 AMAny opinions are welcome.
-
Use of error page resulting in could not deserialize session data exception
We have recently converted classes that store objects in the HTTP Session to implement
serializable.
Our application uses an error page set up in our web.xml for 500 errors.
It also uses filters.
When our application throws an exception and allows the server to handle it
via the error page setup, we end up with the exception we threw, plus a number
of
"Could not deserialize session data" exceptions in the stack trace.
In general, the exceptions can be traced to lines in code that attempt to reference
one of our "serializable" session objects to get user info for logging purposes.
Problem is, other applications that do not use error pages to handle exceptions
do not throw these types of exceptions in the wl-domain.log and they use the same
classes.
Does anyone know why this happens when using error pages and what we need to do
to correct it?
We are using Weblogic 8.1sp2.
Thanks!!
Example of the stack trace messages:
####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
<ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
<Could not deserialize session data.
java.io.NotSerializableException: weblogic.servlet.internal.FilterConfigImpl
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
at doh.stuff.OurFilter.doFilter(OurFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
<ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
<Could not deserialize session data.
java.io.NotSerializableException: java.util.Vector$1
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
at doh.stuff.OurHTML.<init>(OurHTML.java:57)
at doh.stuff.OurFilter.startLog4j(OurFilter.java:513)
at doh.stuff.OurFilter.doFilter(OurFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
We have recently converted classes that store objects in the HTTP Session to implement
serializable.
Our application uses an error page set up in our web.xml for 500 errors.
It also uses filters.
When our application throws an exception and allows the server to handle it
via the error page setup, we end up with the exception we threw, plus a number
of
"Could not deserialize session data" exceptions in the stack trace.
In general, the exceptions can be traced to lines in code that attempt to reference
one of our "serializable" session objects to get user info for logging purposes.
Problem is, other applications that do not use error pages to handle exceptions
do not throw these types of exceptions in the wl-domain.log and they use the same
classes.
Does anyone know why this happens when using error pages and what we need to do
to correct it?
We are using Weblogic 8.1sp2.
Thanks!!
Example of the stack trace messages:
####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
<ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
<Could not deserialize session data.
java.io.NotSerializableException: weblogic.servlet.internal.FilterConfigImpl
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
at doh.stuff.OurFilter.doFilter(OurFilter.java:67)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
####<May 5, 2004 2:52:17 PM EDT> <Error> <HTTP Session> <machinexyz> <cgServer>
<ExecuteThread: '11' for queue: 'weblogic.kernel.Default'> <<WLS Kernel>> <> <BEA-100028>
<Could not deserialize session data.
java.io.NotSerializableException: java.util.Vector$1
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1054)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1330)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1302)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1052)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:278)
at weblogic.servlet.internal.AttributeWrapper.convertObjectToBytes(AttributeWrapper.java:136)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:112)
at weblogic.servlet.internal.AttributeWrapper.getObject(AttributeWrapper.java:69)
at weblogic.servlet.internal.session.SessionData.getAttribute(SessionData.java:431)
at doh.stuff.OurHTML.<init>(OurHTML.java:57)
at doh.stuff.OurFilter.startLog4j(OurFilter.java:513)
at doh.stuff.OurFilter.doFilter(OurFilter.java:75)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:305)
at weblogic.servlet.internal.ServletResponseImpl.sendError(ServletResponseImpl.java:523)
at weblogic.servlet.internal.WebAppServletContext.handleException(WebAppServletContext.java:3908)
at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3683)
at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
-
Tomcat 5.0.25 persisting session data by default ?!?
This is, I imagine, a dumb question, but I can't quite figure out what is happening by looking at past postings.
When I start Tomcat I get an error : "IOException while loading persisted sessions" because some classes we use are not serializable. That makes sense - we didn't design them to be serialized.
I understand that Tomcat CAN try to persist session data across restarts. However, I do not want it to do this. I thought this was something we had to configure, but it looks like it happens by default (?)
Anyway ... any advice about how to prevent this behavior, at least for our app, would be appreciated ... really puzzled ... !
Thanks in advance for any help you can give !!
ethanWell, thanks ... I have been there actually, but it only tells me how to set up the 'Experimental" Persistent Manager and not how to turn this off. Here is an interesting blurb from that site :
<<<<<
Whenver Catalina is shut down normally and restarted, or when an application reload is triggered, the standard Manager implementation will attempt to serialize all currently active sessions to a disk file located via the pathname attribute. All such saved sessions will then be deserialized and activated (assuming they have not expired in the mean time) when the application reload is completed.
In order to successfully restore the state of session attributes, all such attributes MUST implement the java.io.Serializable interface. You MAY cause the Manager to enforce this restriction by including the <distributable> element in your web application deployment descriptor (/WEB-INF/web.xml).
>>>>>>>
I THINK this means that persitence is on by default. I'm not certain because - if that is true - then what is the Persisistent Manager for ? I have found thi ssnippet of config in conf/server.xml :
<<<<<<
<Context path="/myApp" reloadable="true" docBase="myApp" workDir="C:\myApp\\work\org\apache\jsp" >
<Manager className="org.apache.catalina.session.PersistentManager" saveOnRestart="false"/>
</Context>
>>>>>>
which tells Tomcat to use the Persistent Manager for my app and then ... tells it not to store session data. And this seems to work ... at least the error messages go away. Now, though, I get a new and different error message :
<<<<<<
SEVERE: no store configured, persistence disabled
>>>>>>
So I am still doing something wrong ... I think ... and still looking for help ... B-)
Thanks again, black_lotus ... maybe we'll learn about this together ;-) -
Apache2.x and Tomcat5.0.x & Session' data
hi everyone,
i was just wondering how i can pass user's session data from Apache to Tomcat and visversa:
an examples
im restricting access to a directory secret/* with Apache Authentication on Mysql (AAOM)
Inside that directory ther is a link to one of my servlets
what i want is to pass the user's data already collected after the log in against AAOM (username, etc ...) to that servlet
ill be glade for any ideas how i can perform this
ps im using mod_jk which mean im using tomcat only as a servlet container behind apache since the most data iam serving is a static data
Thanks in Advance
YELHi,
I believe that this must have been discussed somewhere but as you are saying that you could not get clear answers, please find the answers.
In 3.x, we had Infopackages loading the data to infoproviders. In the infopackage itself, there was an option which asked you the way to update. i.e. Only to PSA, To PSA and subsequently to infoproviders, To infoproviders only. Thus, PSA was optional.
In 7.x, PSA are mandatory and Infopackages can load the data only to PSA. DTP loads the data from PSA to infoproviders.
DTP also provides many new options to us in BI. e.g. You can carry out delta load from PSA to infoprovider.
Edited by: Rahul K Rai on Sep 6, 2010 3:56 PM
Maybe you are looking for
-
Maintain DataGridView Format when exporting to Excel(C#)
I have a DataGridView which has a few rows in Red Color, Blue Color etc. A few cells are also in bolded font. I need to export DataGridView with this exact formatting to an excel sheet. I am using Office Interop for exporting now. Also I need to ex
-
I have 2 I Mac's with the same iMac (6) how can I change ???
Hi, I have a couple of Imac's and iPads and i Phone;'s ! I think too much to keep registration with the numbers. Now i have I MacBook Pro and an iMac with both number (6) What can I do to change ??? Can somebody help me ?? Thanks Guus
-
New to bridge, preview not showing up... Help!
Please help! I was using after effects and created a text layer. I was taught to go to Animation --> browse presets and it would open Adobe Bridge. Then I'd click on the 'text' folder then another folder inside of the 'text' folder such as 'Animate I
-
Problem with HP Recovery Manager
Hi, I have a new Windows 8 HP laptop and I am trying to create the recovery disks. After being frustrated to find out that the USB drive that I have won't work (it is Windows 8 compatible), I went with optical drive. The program recognizes the driv
-
Today i have found that not all of the websites on my iPad are loading. google will load but when i search for something and click the link to load the page i just get a white page and the blue loading bar is only 1/10th of the way accross and it nev