Can I reuse session inf. on another PC?
I'm just curious about:
1. Can a session information be saved at some place like DB or a file?
2. And can it be re-created from the saved one?
I got an environment with 1-server and 2-PCs. Let's think about a scenario like following.
1. PC A connects to the server and a fresh new session should be established.
2. PC A logs in and the login information is saved on that session.
3. PC A or the server saves the session information at some place.
4. PC A disconnects with the server.
5. PC B connects to the server. If there is a session information has been saved, create a session with saved information.
So, a session for PC A has been moved to PC B and PC B can use the same session information with no need to re-login or something.
How can it be done? Is there any way to do this?
Wesjohnson,
It pretty much depends on what enviroment and development tool you are using. The simplest way would be to add it into your system CLASSPATH, but that's not really the preferred way of doing things. If you are using any IDE, it should allow you to add required libraries for your current project, and then these would be used in the compilation stage.
Or if you are using ANT to build your application, then the build.xml should define the classpath used for the <javac>-task somewhere.
Don't forget that you need to ship the libraries with your application as well, otherwise you'll be getting lots of NoClassDefFoundErrors at runtime.
.P.
Similar Messages
-
Can I reuse Structure used in another report?
Hi
Is it possible to use a structure as used in a query for creating another query?
My new query will have mostly all the formulas used in that structure (but is based on different infoprovider)
If yes then what is the procedure for it?
Thanks
IshiHi,
Yes, that is a standard check.
Here are two work arounds:
Copy and Paste Query
Query Copy
Hth,
Jacob -
Download content on one mac can i reuse for another?
Where is the downloaded content for the latest GB located?
can I reuse it?No I haven't tried that. What might that do?
It will download about 5 GB of additional content that has been previously purchased. You can continue working with GarageBand, while the download proceeds, and if you interrupt it, it will resume the next time you start GarageBand. -
How can i reuse a structure in the query designer in 3.5
Hi all,
we are using the version BW 3.5, now how can i reuse a structure made int he query designer, because i need it in another query, i did the structure and put it a technical name and save, help guysHI Richard,
Create a Structure in Rows/columns and save As it, then in the left Panel of the Query Designer you can see three Folders
1) Structures
2) Keyfigures
3) Dimensions
then Expand the structures Folder, there you can find your saved structure, Structures are 2 types
1) With Key figures
2) Without Key Figures
If you have the key figures in your saved structure, then you can find it in the subfolder of with Keyfigures, else in the other folder.
Now you can use this structure by draging in all the queries which are on the same InfoProvider (CUbe. MultiProvider)
Regards
ReddY A -
How can I reuse the BC4J database connection?
How can I reuse the BC4J database connection?
I want to use the application module connection without opening another in a custom code. At this level I canât access de ADF code, thatâs why I canât get the DBConnection from the application module.
Now, I have a âdata-sources.xmlâ in my project and the application module is configured to access the database from this xml file.I found the solution in other Forum. I worked ok.
Here the code:
If the Connections-Navigator connection is DBConnection1, the corresponding datasource is jdbc/DBConnection1DS.
1. Create a JSP page.
2. In the web.xml of the JSP add
<resource-ref>
<res-ref-name>jdbc/DBConnection1DS</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
3. In the JSP page obtain a connection with the datasource.
InitialContext initialContext = new InitialContext();
javax.sql.DataSource ds = (javax.sql.DataSource)initialContext.lookup("java:comp/env/jdbc/DBConnection1DS");
java.sql.Connection conn = ds.getConnection(); -
How can i reuse same variables that i create using c:set var="index" /
hi all,
please some one helpme!!!!!!
how can i reuse same variable that i create using
<c:set var="index" value="${0}"/>
cause later in the program i use index to do some condition and based on that i increment ...
so for example if i say...
<c:if test="${index==0}">
<c:set var="index" value="${index+1}"/>
</c:if>
will it be like
if(index==0)
index++;
can i do like i did be4. if not what do i need to do to reuse. cause i use the variable atleast 5 time and its keep changing on diff condition level.Have you tried it?
It should work, provided you are on the same page.
The c:set tag creates the variable in pageScope by default.
If you forward to another JSP you need to set the scope to be "request" so that it is still available. -
Revision: 21141
Revision: 21141
Author: [email protected]
Date: 2011-04-26 06:40:39 -0700 (Tue, 26 Apr 2011)
Log Message:
Bug: 2780176 - Logging and logging out multiple times in LCDS can cause duplicate session detected errors.
QA: Yes
Doc: No
Checkintests: Pass
Details: When a logout was followed by an immediate login, sometimes the server would throw duplicate session detected errors. This was because when logout happened, a fire-and-forget disconnect message was sent to the server that established a new session, and if the subsequent login happened before disconnect ACK returned from the server, that would establish another session and hence the error. The fix is to insert a slight delay between disconnect and ResultEvent dispatching. This way, disconnect has a chance to return before a login is performed.
Modified Paths:
flex/sdk/trunk/frameworks/projects/rpc/src/mx/messaging/ChannelSet.asYou've got an incompatible Logitech driver and java was incompletely uninstalled.
You may have a problem with the Wacom driver.
I don't know if fixing those things will help.
There also a few window server errors, but I don't know if they are causal.
If you can note the time of the hangs, that might help narrow it down in the logs. -
Object locked in v$locked_object but can't find session/process blocking
Hi,
I am on database 10.2.0.5, windows x64.
A developer calls me and tells me there are locks on 3 tables, and the locks are not released.
So I run this to see which objects are locked by which session
select vlo.object_id, vlo.session_id, vlo.oracle_username, vlo.process
, DECODE(vlo.LOCKED_MODE, 0,'NONE', 1,'NULL', 2,'ROW SHARE', 3,'ROW EXCLUSIVE', 4,'SHARE', 5,'SHARE ROW EXCLUSIVE', 6,'EXCLUSIVE', NULL) LOCK_MODE
, do.owner, do.object_name, do.object_type
, vs.saddr, vs.serial#, vs.paddr, vs.username, vs.ownerid, vs.status, vs.server, vs.schemaname, vs.osuser, vs.machine, vs.program, vs.type, vs.logon_time, vs.last_call_et
, vs.blocking_session_status, vs.event#, vs.event, vs.wait_class#, vs.wait_class, vs.wait_time, vs.seconds_in_wait, vs.state
from v$locked_object vlo
inner join dba_objects do on (vlo.object_id = do.object_id)
left outer join v$session vs on (vlo.session_id = vs.sid)-----------
I get (after finding out my table locks come from SID 514)
OBJECT_ID SESSION_ID ORACLE_USERNAME PROCESS LOCK_MODE OWNER OBJECT_NAME OBJECT_TYPE SADDR SERIAL# PADDR USERNAME OWNERID STATUS SERVER SCHEMANAME OSUSER MACHINE PROGRAM TYPE LOGON_TIME LAST_CALL_ET BLOCKING_SESSION_STATUS EVENT# EVENT WAIT_CLASS# WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT STATE
373122 514 IRMFIN 22AB7298 ROW EXCLUSIVE IRMFIN IC_PRODUCT_STATUS TABLE 000007FF3E1A9070 1301 000007FF3E639120 IRMFIN 2147483644 INACTIVE DEDICATED IRMFIN IRMTEST IRM DSA0:[GEMBASE730.][RUN]GEM.EXE USER 2012/09/05 13:55:51 702 NO HOLDER 263 SQL*Net message from client 6 Idle 0 702 WAITING
373025 514 IRMFIN 22AB7298 ROW EXCLUSIVE IRMFIN IC_BIN_DETAIL_STATUS TABLE 000007FF3E1A9070 1301 000007FF3E639120 IRMFIN 2147483644 INACTIVE DEDICATED IRMFIN IRMTEST IRM DSA0:[GEMBASE730.][RUN]GEM.EXE USER 2012/09/05 13:55:51 702 NO HOLDER 263 SQL*Net message from client 6 Idle 0 702 WAITING
373055 514 IRMFIN 22AB7298 ROW EXCLUSIVE IRMFIN IC_LOT_STATUS TABLE 000007FF3E1A9070 1301 000007FF3E639120 IRMFIN 2147483644 INACTIVE DEDICATED IRMFIN IRMTEST IRM DSA0:[GEMBASE730.][RUN]GEM.EXE USER 2012/09/05 13:55:51 702 NO HOLDER 263 SQL*Net message from client 6 Idle 0 702 WAITING -----------
I run it again and I get something different, this time the lock is still there, but no session. select * from v$session where sid= 514 returns nothing.
I get
OBJECT_ID SESSION_ID ORACLE_USERNAME PROCESS LOCK_MODE OWNER OBJECT_NAME OBJECT_TYPE SADDR SERIAL# PADDR USERNAME OWNERID STATUS SERVER SCHEMANAME OSUSER MACHINE PROGRAM TYPE LOGON_TIME LAST_CALL_ET BLOCKING_SESSION_STATUS EVENT# EVENT WAIT_CLASS# WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT STATE
373122 514 ROW EXCLUSIVE IRMFIN IC_PRODUCT_STATUS TABLE
373025 514 ROW EXCLUSIVE IRMFIN IC_BIN_DETAIL_STATUS TABLE
373055 514 ROW EXCLUSIVE IRMFIN IC_LOT_STATUS TABLE When I run the query later, I sometimes get another session, but the lock stays. It seems here, that I am catching the same SID on new sessions, but it is probably a different serial # than the original session locking the table rows.
I get nothing from
select * from dba_waiters;
select * from dba_blockers;
Now why are those 3 tables row locked on some rows and I can't find the session responsible? The developer tells me his application crashed and the rows are locked since.
So far ( keep in mind I am not a locking expert) the only way I found to release the locks is a DB bounce, its a test DB so no biggy.
Is this a bug? Am I missing something?
This is the second time this has happened. How can I solve this issue?
Best wishes to all.Thank you for your reply.
I do not think I can kill the session (514) it does not exist, even though v$locked_object reports tables are locked by session 514
see below
select * from v$locked_object
XIDUSN XIDSLOT XIDSQN OBJECT_ID SESSION_ID ORACLE_USERNAME OS_USER_NAME PROCESS LOCKED_MODE
9 26 351467 373122 514 3
10 41 339655 373025 514 3
11 6 92004 373055 514 3
select * from v$session order by sid
( no session 514)
SADDR SID SERIAL# AUDSID PADDR USER# USERNAME COMMAND OWNERID TADDR LOCKWAIT STATUS SERVER SCHEMA# SCHEMANAME OSUSER PROCESS MACHINE PORT TERMINAL PROGRAM TYPE SQL_ADDRESS SQL_HASH_VALUE SQL_ID SQL_CHILD_NUMBER PREV_SQL_ADDR PREV_HASH_VALUE PREV_SQL_ID PREV_CHILD_NUMBER PLSQL_ENTRY_OBJECT_ID PLSQL_ENTRY_SUBPROGRAM_ID PLSQL_OBJECT_ID PLSQL_SUBPROGRAM_ID MODULE MODULE_HASH ACTION ACTION_HASH CLIENT_INFO FIXED_TABLE_SEQUENCE ROW_WAIT_OBJ# ROW_WAIT_FILE# ROW_WAIT_BLOCK# ROW_WAIT_ROW# LOGON_TIME LAST_CALL_ET PDML_ENABLED FAILOVER_TYPE FAILOVER_METHOD FAILED_OVER RESOURCE_CONSUMER_GROUP PDML_STATUS PDDL_STATUS PQ_STATUS CURRENT_QUEUE_DURATION CLIENT_IDENTIFIER BLOCKING_SESSION_STATUS BLOCKING_INSTANCE BLOCKING_SESSION SEQ# EVENT# EVENT P1TEXT P1 P1RAW P2TEXT P2 P2RAW P3TEXT P3 P3RAW WAIT_CLASS_ID WAIT_CLASS# WAIT_CLASS WAIT_TIME SECONDS_IN_WAIT STATE SERVICE_NAME SQL_TRACE SQL_TRACE_WAITS SQL_TRACE_BINDS ECID
582 41322092 000007FF3E6279B0 88 IRMFIN 0 2147483644 INACTIVE NONE 88 IRMFIN IRM-NTSERVER\ttoupet 2768:5812 IRM-NTSERVER\IRM-WINDEV 2091 IRM-WINDEV WDMAP.EXE USER 00 0 000007FF296D46B0 1249880231 gkm8w8157za57 0 WDMAP.EXE 3924246850 0 4272871 480874 5 109733 0 2012/09/06 08:54:26 369 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 55 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 369 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A0FA0 508 55443 41321967 000007FF3E62E488 93 RODMILL 0 2147483644 INACTIVE DEDICATED 93 RODMILL flong 4144 IT011 49450 unknown SQL Developer USER 00 0 000007FF126A6BC0 293046999 7jjvy5s8rg2qr 0 SQL Developer 1012150930 0 4280261 373579 5 348686 0 2012/09/06 08:39:23 218 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 5486 263 SQL*Net message from client driver id 675562835 0000000028444553 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 218 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A2518 509 3086 41287084 000007FF3E628A20 64 SYSMAN 47 2147483644 000007FF3D7C21D8 ACTIVE SHARED 64 SYSMAN 1234 IRMFAX 1341 OMS USER 000007FF357CE418 4281219134 2b064ybzkwf1y 0 000007FF357A8BF0 2532399038 5dwsqwabg2pxy 0 178612 8 OEM.SystemPool 2960518376 NotificationMgr 3664650334 IRMFAX.ivacorm.com:4889_Management_Service 4281687 177737 14 40683 0 2012/09/03 11:44:37 7 NO NONE NONE NO DISABLED ENABLED ENABLED 0 UNKNOWN 48888 45 wait for unread message on broadcast channel channel context 8792836163648 000007FF3DE04840 channel handle 8792836060256 000007FF3DDEB460 0 00 2723168908 6 Idle 0 7 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A3A90 510 35277 41286699 000007FF3E6279B0 64 SYSMAN 0 2147483644 INACTIVE NONE 64 SYSMAN 1234 IRMFAX 3154 OMS USER 00 0 000007FF3E844AD8 3275117642 43c5ykm1mcp2a 1 OEM.CacheModeWaitPool 796036576 0 IRMFAX.ivacorm.com:4889_Management_Service 4280509 -1 0 0 0 2012/09/03 10:58:32 169 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 29909 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 169 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A5008 511 51686 41287085 000007FF3E6279B0 64 SYSMAN 0 2147483644 INACTIVE NONE 64 SYSMAN 1234 IRMFAX 1342 OMS USER 00 0 000007FF36C3CED8 2539923080 6v7n0y2bq89n8 0 OEM.SystemPool 2960518376 JobDispatcher 875884737 IRMFAX.ivacorm.com:4889_Management_Service 4281706 -1 0 0 0 2012/09/03 11:44:37 5 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 38929 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 5 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1A6580 512 28994 41293063 000007FF3E6279B0 64 SYSMAN 0 2147483644 INACTIVE NONE 64 SYSMAN 1234 IRMFAX 3636 OMS USER 00 0 000007FF32990C90 1763828656 44nz3b1nk3sxh 1 OEM.CacheModeWaitPool 796036576 0 IRMFAX.ivacorm.com:4889_Management_Service 4280509 -1 0 0 0 2012/09/04 00:00:02 169 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 20902 263 SQL*Net message from client driver id 1297371904 000000004D545300 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 169 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1ABB60 516 48427 41292026 000007FF3E62DC50 93 RODMILL 0 2147483644 INACTIVE DEDICATED 93 RODMILL ebesner 10808 Fingers 59004 unknown SQL Developer USER 00 0 000007FF127B0A58 351849430 bkcpdnnagjkyq 0 SQL Developer 1012150930 0 4049825 533716 21 17036 0 2012/09/03 21:53:47 61389 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 2578 263 SQL*Net message from client driver id 675562835 0000000028444553 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 61389 WAITING irtrcs01.ivacorm.com DISABLED FALSE FALSE
000007FF3E1AD0D8 517 2 0 000007FF3E635FD0 0 0 2147483644 ACTIVE DEDICATED 0 SYS SYSTEM 4292 CHARLIE 0 CHARLIE ORACLE.EXE (q001) BACKGROUND 00 0 0 00 0 0 0 0 112 -1 0 0 0 2012/08/22 17:46:54 1264692 NO NONE NONE NO DISABLED ENABLED ENABLED 0 UNKNOWN 2685 281 Streams AQ: qmn slave idle wait 0 00 0 00 0 00 2723168908 6 Idle 0 16 WAITING SYS$BACKGROUND DISABLED FALSE FALSE
000007FF3E1AE650 518 2 4294967295 000007FF3E635798 0 SYS 3 2147483644 INACTIVE DEDICATED 0 SYS IRM-NTSERVER\cluster 3704:1572 IRM-NTSERVER\CHARLIE 49181 CHARLIE rhs.exe USER 000007FF3EA55E08 654885888 bcfjz80mhjj00 0 000007FF3EA55E08 654885888 bcfjz80mhjj00 0 rhs.exe 1733424889 0 4281686 -1 0 0 0 2012/08/22 17:46:54 16 NO NONE NONE NO DISABLED ENABLED ENABLED 0 NO HOLDER 58582 263 SQL*Net message from client driver id 1413697536 0000000054435000 #bytes 1 0000000000000001 0 00 2723168908 6 Idle 0 16 WAITING SYS$USERS DISABLED FALSE FALSE -
JMStudio Error "Can not create session manager"
Hi,
I'm trying to transmit an mpg file through a simple pc to pc network, using the transmission wizard in the JMStudio, and everytime it causes a "can not create session manager" error, even when I try to transmit .mp3 file
I'm using an ip like 100.100.0.1 for the sender machine, and 100.100.0.2 for the receiver machine, and I don't know where is the problem
thanks in advanceUm,maybe the port that you use for transmission is already occupied.
Make sure that you are not using JMStudio to transmit streams while trying to receive streams from the same port. -
How can I backup my iPad to another iPad backup I have on my same iCloud account. The old one is totally gone. Both backups are listed on my iCloud account. So is there any way I can backup the one I have now to the other one. I really just want the pictures that are in the old backup. I have tried resetting and erasing all settings and data on the one I still have, but when I go to restore by iCloud; it only gives me the choice of restoring the same iPad. Then in iCloud>storage>backup, I'm still not able to choose which backup to backup to. I've even tried deleting the backup to the iPad I still have, then resetting all setting and data on the iPad, hoping that in resetting up the iPad it would give me the option to backup to my old iPad. But it doesn't. It still has memory of the backup of my newer iPad.
I JUST WANT THE PICTURES!!!
Thank you!!!
iPad (3rd gen) Wi-Fi + Cellular, iOS 6.1.3, iCloud BackupYou now need to get your pictures back! The similar to you, after I updated my iPad Mini, I can't get my some files on device. I tried many ways, fortunately, I got a tool from http://tinyurl.com/Data-Recovery-iPhone to help me recover lost files easily! It supports iPhone, iPad, iPod, etc iOS devices!
-
If I imported a CD into my iTunes library from one computer how can I listen to it from another computer? I imported music from a CD into my compter at work and when I got home and went to my iTunes account none of the songs were in my library. I also noticed that on my Work computer there were a couple songs that I had to click on the little 'cloud' icon before I could listen to them (these were not songs I imported they were songs that were already in my library). Not sure if this makes semse...help.
jamie171 wrote:
My question is since I have imported them into my iTunes library from one computer why can't I access them from my iTunes library from another computer that I have authorized to access whats in my library? Is there no way to import songs only once into the library and then access them from all my authorized computers?
Only if you have iTunes Match or of the computers are on the same local network. -
I would like to rent a movie from iTunes on one of my apple tv's and would like to know if I can watch that movie rental on another apple tv on the same network. I used to rent movies on my Mac and was able to watch on different apple tv through home-sharing.
Hey hskcheng,
Movies rented on an Apple TV can not be transferred to a different device. See this article for reference -
iTunes 12 for Mac: Rent movies from the iTunes Store
Thanks for using Apple Support Communities.
Happy computing,
Brett L -
i have few muse projects how can I integrate them in an another muse website which I have just created? How can I make link between HTML document inside muse. The Html document (saved on my desktop )is another web project done with css3 and Html but for my portfolio I need to create an HTML link so the project can be viewed by others.
Perhaps with iFrame Builder Lite | Exchange | Adobe Muse CC ?
-
Can i use my ipod on another pc without losing all the tunes i have on it??
can i use my ipod on another pc without losing all the tunes i have on it?? the last thing i want to happen is lose 40gb of tracks!!ANY HELP WOULD BE GREAT
just goto the ipod preferences and select manually update music then you can plug it into any computer which is the same type and the original. e.g. windows or mac
-
How can i use iphoto pics on another mac across network for screen saver?
how can i use iphoto pics on another mac A across the home network for the screen saver on Mac B?
within iPhoto i can see the mac A's shared library AOK on Mac B but Mac A's library doesn't show up in the screen saver list on Mac B ;-(
tia
BarryThat's exactly what I tried to do, but the iPhoto librry doesn't show up in the pulldown menu. If I click "Choose Folder", the iPhoto library is greyed out and unable to be selected.
For some reason, iPhoto is an option in the pulldown library on my older iMac but not on my MacBook Pro. What gives?
Maybe you are looking for
-
How can i display a message box when error comes in jsp?
Hi, i need to display a message box whenever an error comes in my jsp. Actually my appln is that i am creating a bar chart using one applet by taking data from the database. When a user does not select a number data for y axis, now in the centre of t
-
Itunes went blank after system restore
i did a system restore this morning and now itunes is blank -- no music, albums, artists, nothing. all of the music i had stored in itunes still appears on my ipod classic. my question is how to get it back into the itunes library. is there a way to
-
Need US reports for 1099 and 1042S
Hi, Can you provide any documentation on 1099 and 1042S reporting in SAP? Any existing reports available in SAP. Please guide me Thanks in advance Vishnu
-
Hi i am loading keys for Bran2 using datasource 0customer sucessfully into BI now i want to load texts for it in bw what is the datasource for text for bran2??? my understanding is using master data process chains all they keys will load everyday for
-
" Hepl me: Xl Reporter!"
- I do not know, in addittion functions i saw in elearning of B1, Can we work other in Xl reporter. I want to develope it more. And where can i find document about Xl report. - I saw function schedule in XL reporter, but i can not do it. When sched