Problems with maintaining session state using mod_ose
I am using 9i AS(version 1.0.2.0) and oracle 8i(version 815).
Because i need to maintain client sessions for my application, I
have activated mod_ose(for stateful session). As suggested in
the oracle documentation, i created a package containing
variables for which state needs to be maintain per client. The
state is maintained by the app server but it is not maintained
properly. All the new clients that connect to the app server
share the same session variable values. If I change a package
variable value from one client, other clients take the same
value.
Any solution?
Suggestions are most welcome.
Thanks in advance.
We installed oracle9i AS on solaris, configured OSE and the
problem is not occuring now. Not sure whether its solaris that
worked or 9i AS had some problem on NT machine earlier.
Regards,
Sharad
Similar Messages
-
A problem with a session Access
Hi Olivier,
To connect with Forte while running distributed you must use System DNS
instead of User DNS on the server. The ftexec.exe on your server partition
will be launched by the NodeMgr running as UID SYSTEM. User DNS are not
available to processes running as UID SYSTEM.
Zenon Adamek
Purolator
-----Original Message-----
From: Olivier Andrieux [SMTP:oandrieuxaxialog.fr]
Sent: Tuesday, July 04, 2000 4:59 AM
To: forte-userslists.xpedior.com
Subject: (forte-users) A problem with a session Access
Hi,
We have defined a service object which calls a database Access, when we
use the driver odbc of another station the service object is created and
the application runs. But when we use the driver of the server we have an
exception and this message :
SYSTEM ERROR: Unable to start the partition AxiGecom_CL0_Part1 on any of
the
nodes to which it has been assigned. See the remainder of the error
stack for
more information.
Class: qqsp_ResourceException
Error #: [1602, 593]
Detected at: qqcf_StandardConfig::LoadRemotePartition at 5
Last TOOL statement: method InterfaceManager.PrepareLOM
Error Time: Tue Jul 04 10:50:19
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= EB3ED870-274C-11D4-8051-304F7116AA77:0x3f9:0x2, taskId =
[EB3ED870-274C-11D4-8051-304F7116AA77:0x3f9:0x2.15]) in application
"FTLaunch_cl0", pid 149 on node STAT10 in environment axialog.
SYSTEM ERROR: Unable to start partition AxiGecom_CL0_Part1 on node
SERVEUR59B.
Class: qqsp_ErrorDescriptor
Error #: [1602, 592]
Detected at: qqcf_StandardConfig::LoadRemotePartition at 3
Error Time: Tue Jul 04 10:50:19
Exception occurred (locally) on partition "Forte_cl0_Client",
(partitionId
= EB3ED870-274C-11D4-8051-304F7116AA77:0x3f9:0x2, taskId =
[EB3ED870-274C-11D4-8051-304F7116AA77:0x3f9:0x2.15]) in application
"FTLaunch_cl0", pid 149 on node STAT10 in environment axialog.
SYSTEM ERROR: Attempt to load partition named AxiGecom_CL0_Part1 failed.
Class: qqsp_ResourceException
Error #: [1001, 4]
Detected at: qqrt_ForteExecAgent::LoadPartition at 1
Error Time: Tue Jul 04 10:49:15
Distributed method called: qqrt_ForteExecAgentProxy.LoadPartition!6
(object name Unnamed) from partition "Forte_cl0_Client",
(partitionId =
EB3ED870-274C-11D4-8051-304F7116AA77:0x3f9:0x2, taskId =
[EB3ED870-274C-11D4-8051-304F7116AA77:0x3f9.4]) in application
"FTLaunch_cl0", pid 149 on node STAT10 in environment axialog
Exception occurred (remotely) on partition "Forte_Executor",
(partitionId
= EB3ED870-274C-11D4-8051-304F7116AA77:0x3de, taskId =
[EB3ED870-274C-11D4-8051-304F7116AA77:0x3de.61]) in application
"AxiGecom_cl0", pid 386 on node SERVEUR59B in environment axialog.
SYSTEM ERROR: Failed to create service object
Axigecom_Serveur.Connection_BD.
Class: qqsp_ResourceException
Last TOOL statement: method qqsp_NameList.
Error Time: Tue Jul 04 10:49:15
Exception occurred (remotely) on partition "Forte_Executor",
(partitionId
= EB3ED870-274C-11D4-8051-304F7116AA77:0x3de, taskId =
[EB3ED870-274C-11D4-8051-304F7116AA77:0x3de.61]) in application
"AxiGecom_cl0", pid 386 on node SERVEUR59B in environment axialog.
USER ERROR: (This error was converted)
Failed to connect to database: Axigecom, username: Administrateur.
[Microsoft][Gestionnaire de pilotes ODBC] Source de données non
trouvée et
nom
de pilote non spécifié
Class: qqdb_RemoteAccessException with ReasonCode:
DB_ER_DBMSCONNECTION
DBMS SQLSTATE: IM002
Class: qqsp_ErrorDescriptor
Detected at: qqdb_OdbcVendorInfo::DoSQLConnect at 10
Last TOOL statement: method qqsp_NameList.
Error Time: Tue Jul 04 10:49:15
Exception occurred (remotely) on partition "Forte_Executor",
(partitionId
= EB3ED870-274C-11D4-8051-304F7116AA77:0x3de, taskId =
[EB3ED870-274C-11D4-8051-304F7116AA77:0x3de.61]) in application
"AxiGecom_cl0", pid 386 on node SERVEUR59B in environment axialog.
for information, we use a server NT and the stations use Nt, the drivers
DNS users are declared.
We use Access2000, and the version M for Forté
Thanks in advance,
Olivier Andrieux
AXIALOG
France -
A simple problem with sateful Session beans
Hi,
I have a really novice problem with stateful session bean in Java EE 5.
I have written a simple session bean which has a counter inside it and every time a client call this bean it must increment the count value and return it back.
I have also created a simple servlet to call this session bean.
Everything seemed fine I opened a firefox window and tried to load the page, the counter incremented from 1 to 3 for the 3 times that I reloaded the page then I opened an IE window (which I think is actually a new client) but the page counter started from 4 not 1 for the new client and it means that the new client has access to the old client session bean.
Am I missing anything here???
Isn�t it the way that a stateful session bean must react?
This is my stateful session bean source.
package test;
import javax.ejb.Stateful;
@Stateful
public class SecondSessionBean implements SecondSessionRemote
private int cnt;
/** Creates a new instance of SecondSessionBean */
public SecondSessionBean ()
cnt=1;
public int getCnt()
return cnt++;
And this is my simple client site servlet
package rezaServlets;
import java.io.*;
import java.net.*;
import javax.ejb.EJB;
import javax.servlet.*;
import javax.servlet.http.*;
import test.SecondSessionRemote;
public class main extends HttpServlet
@EJB
private SecondSessionRemote secondSessionBean;
protected void processRequest (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
response.setContentType ("text/html;charset=UTF-8");
PrintWriter out = response.getWriter ();
out.println("<html>");
out.println("<head>");
out.println("<title>Servlet main</title>");
out.println("</head>");
out.println("<body>");
out.println("<h1>Our count is " + Integer.toString (secondSessionBean.getCnt ()) + "</h1>");
out.println("</body>");
out.println("</html>");
out.close ();
protected void doGet (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
processRequest (request, response);
protected void doPost (HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException
processRequest (request, response);
}You are injecting a reference to a stateful session bean to an instance variable in the servlet. This bean instance is shared by all servlet request, and that's why you are seeing this odd behavior.
You can use type-leve injection for the stateful bean, and then lookup the bean inside your request-processing method. You may also save this bean ref in HttpSession.
@EJB(name="ejb/foo", beanName="SecondBean", beanInterface="com.foo.foo.SecondBeanRemote")
public MyServlet extends HttpServlet {
ic.lookup("java:comp/env/ejb/foo");
} -
Problems with a shared calendar using Outlook 2007 and Exchange 2010
Hello all,
We are having a problem with sharing a calendar using Outlook 2007 and Exchange 2010.
I will start with some background. I have just started my position with this company. I have been working with networks for awhile at the small business level. I have not had much production experience with exchange. There is only myself and my supervisor
who has inherited a midsized network which was built by five previous techs that are no longer with the company. Of course, the previous techs did not leave much documentation, so the original hows and whys for our system setup has been lost.
One of the managers has a calendar she shares with some of our users. I believe this calendar has been in use since sometime in 2006. A mailbox was created to hold this calendar to keep it separate from the managers calendar. I am not sure what version
of exchange they were using at that time, but I assume there was one or two migrations of it getting to its current state on our exchange 2010 server. At some point it was observed that the other workers she was sharing with were not able to access it correctly.
I am not fully sure what the original problem was (possibly some people not being able to see or connect to the calendar), but it was decided to give everyone who needed access to this calendar full access permissions through exchange. Correct me if I
am wrong, but I believe that gave everyone connected the ability to do anything with the calendar. Of course the manager was not happy about that. This is where I started working on the problem.
I removed everyone, except the manager who wants to control the calendar, from having "Full Access Permissions". This did have the effect of making some people just able to see the calendar and not make changes. Though there were others that were
able to connect to the calendar who I thought would not be able to. The manager that originally created the calendar did try to manage access to it through the Outlook interface, though it currently does not seem to be fully in effect.
So, to get to the point of what we are trying to do, is there a way to get the original manager back into control of the calendar though Outlook? It would be preferred to be able to keep the history of what they tracked of this calendar, so starting a new
one would be something we would rather avoid. After that, getting all of the users that need to connect to the calendar reconnected with the correct access permissions and making sure they are all synchronized.
I realize this is a big mess, and your help would be greatly appreciated.Hi Nigel,
How is the impact, just one user or all users, Outlook or OWA?
If just one user, it seems like an issue on the Outlook Client side.
Please trying to re-create new profile to fresh the caches.
Please runing Outlook under safe mode to avoid some AVs, add-ins and firewall.
Found a similar thread for your reference:
Calendar Sharing not available error message
http://social.technet.microsoft.com/Forums/exchange/en-US/d9b33281-d7bb-4608-8025-16fb26643d0d/calendar-sharing-not-available-error-message?forum=exchangesvrclientslegacy
Hope it is helpful
Thanks
Mavis
Mavis Huang
TechNet Community Support -
Problems with a VBA Userform using Multipage (2) and DTPicker.
Hi
Problems with a VBA Userform using Multipage (2) and DTPicker (4)
On Page1 I've got 2 DTPicker, one for the date and the second for the time.
Same thing on Page 2.
Problem:
Only one set will work, if I close the Userform with" MultiPage"on page2, only that set will work.
Same thing if I close on Page 1 then just the set on Page 1 will work.
As anyone seen this problem and any work around you may think would help.
I'm using Windows 7 , Ms Office Pro. 2003
same problem on Windows Vista , XL2003
CimjetThere are a number of issues relating to the way that date pickers are handled, but the most important is that their output is text. In order to get the values into Excel, you need to format the Excel columns as Date and Custom (time format) and convert
the output to the worksheet from text to date values.
Date pickers also display a few anomalies on multi-page forms, so you need a belt and braces approach. Personally I would put the code to call the form and enter the values in a standard module (as now in the example) and use a belt and braces approach to
maintaining the format.
I think you will find the example now works.
Revised Example
Graham Mayor - Word MVP
www.gmayor.com -
Problems with "Select Distinct" Statement
Hi... I've a little problem with my SQL Statement...
I've a Table in a DataBase with Solds of the Month... the fields are: vta_fecha, vta_prod, vta_total, vta_mesa.
I've to Select only the distincts fields of vta_prod... selected by vta_fecha and vta_mesa...
My code is like this: try{
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conec = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/POOL/Data/BaseDat.MDB");
state = conec.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);try{
rec = state.executeQuery("Select DISTINCT vta_prod, vta_fecha, vta_mesa from Ventas where vta_fecha = #" + Fecha_q + "# And vta_mesa = 0");
rec.first();
int x = 0;
while (rec.isAfterLast()==false){
x++;
rec.next();
rec.first();
if (x > 0){
Productos = new String[x];
Total_Vta = new int[x];
Cant_Prod = new int[x];
x = 0;
while (rec.isAfterLast() == false){
Productos[x] = rec.getString("vta_prod");
rec.next();
x++;
else{
Productos = new String[0];
Total_Vta = new int[0];
Cant_Prod = new int[0];
}catch(Exception e){JOptionPane.showMessageDialog(null,e.getMessage());}Now, in the Table I have only 3 diferents vta_prod, but this Statement returns 9 Rows... and I don't know why...
Please help me...
Regards...I don�t have a complete picture because I don�t know what values you are passing in the select and I don�t know your column types but this is what I think is happening from what you have shared.
You may have misunderstood what the DISTINCT keyword does.
The DISTINCT keyword applies to the full set of columns in the select (not just the first column). So in your case it would be equivalent to:
SELECT vta_prod, vta_fecha, vta_mesa
FROM Ventas
WHERE ...
GROUP BY by vta_prod, vta_fecha, vta_mesa
So, it doesn't matter that you only have 3 distinct vta_prod values if you have multiple values being returned in the other columns. The vta_mesa column can only a return a single value as �0�. That leaves the vta_fecha column which is probably a date/time column and is probably the column that is returning the three other distinct values (one date with three distinct times).
(3 vta_prod) x (3 vta_fecha) x (1 vta_mesa) or 3x3x1 = 9 rows
So find a way to strip the time from vta_fecha in your select statement and your SQL should return the results you expect. I�m not an Access expect but I think I remember you can use something like the �Convert� or �DatePart� functions to make that happen (check your documentation to be sure)..
A couple of asides;
1) You should use a PreparedStatement and rarely if ever use Statement.
2) You should start Java variable names with lower case. -
TS1702 Has anyone else had problems with maintaining connection to "Overdrive"?
Has anyone had problems with maintaining connection to "overdrive" ?
I would recommend using the SEARCH function of the forums and locating the many others posts that have already discussed this issue.
-
With Yahoo Mail, and anotare account (Inacap Mail), I can only receive mails but I can't send emails. I don't know if this is a problem of the iPad or it is a problem with yahoo mail, because using Gmail and the email of my job I don' have this problem.
Google them to confirm the settings that you need for the outgoing server, then check the setting you entered on the pad. Pay real close attention to the outgoing server name, and port. You may need to change in on the pad.
-
I refurbished my macbook air 7 months ago because there was a problem with the steady state drive. Now my battery seems to be dead again. How long does the warranty last? Do I need to pay for a new battery?
As I wrote Apple will diagnose an Apple product even if it is out of warranty for free. That should be your first step to find out if the problem is the battery or something else.
Once you have Apple telling you a 7 month old battery is defective (if that turns out to be the case) then it becomes a game of horse trading. You'll need to speak to the tech and when he tells you there is nothing he can do you will need to speak to the tech manager and when she says most likely there is nothing they can do you go to the store manager, etc. It is unlikely (though possible) that they will give in easily you need to be firm, polite and let on that you're willing to accept a partial reimbursement.
So again the first step is to find out what is wrong.
good luck -
Both xp and windows 7 have video problems with my VGA connection using TV
both xp and windows 7 have video problems with my VGA connection using TV as my monitor when it gets to starting up windows no matter what version it will not I have let my mac on all night and still says starting windows or the windows 7 logo and nothing else will happen also when I use a 3rd patty software like peraills or other it works like a charm how to fix it?
To map the drive on your computer click on Start - RUN - type "\\192.168.1.1" and click ok... When prompted for Username and Password type "admin" and click ok... Now you will be able to see the folder which you have shared on your router, right click on it and select "Map network drive" and click on finish.
Now it will map the drive on your computer and you should be able to transfer the file from your computer to the USB drive. -
Problem with Progress DB while using to connect using JDBC Adapter
Hi,
I am facing Problem with Progress DB while using to connect using JDBC Adapter. I am getting the following error in auditlog file like,
Error during database connection to the database URL jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db using the JDBC driver "com.progress.sql.jdbc.JdbcProgressDriver" : com.sap.aii.adapter.jdbc.sql.DriverManagerException: Unable to locate a suitable JDBC driver to establish a connection to URL " jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db "
I tried using the following all URLs,
1. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.
2. jdbc:JdbcProgress:T:156.5.31.65:2545:i_apoext.db
3.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.
4.
jdbc:JdbcProgress:T:156.5.31.65:2545:/mfgprodev/devbadb
/devsche/i_apoext.db.
Can anyone please help me out in solving this issue.
May be the cause for this is :
1) The Wrong URL format
2) CLASSPATH is not setted properly..
Can you look more into this stuff.
Thanks,
Soorya.Hi,
To access any database fromm XI, using the JDBC adapter, the corresponding drivers have to be installed on the XI server.
Just check this note 831162.
Also, check this PDF to install Drivers in XI,
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/3867a582-0401-0010-6cbf-9644e49f1a10 -
Problem with Pole zero analysis using multisim
Problem with Pole zero analysis using multisim
When I tried to find input impedance function's pole zero of a parallel LC network using Multisim
pole zero analysis, I get following message
| | doAnalyses: matrix is singular
| |
| |
| | pz simulation(s) aborted "
The circuit as well as log file attached.
How to correctly perform pole zero analysis?
Solved!
Go to Solution.
Attachments:
Parallel LC.JPG 8 KB
parallel LC.txt 7 KBdear sir,
thanks for your earlier reply to my question on pole zero analysis
one more problem on pole zero analysis ;
i tried to do pole zero analysis for circuit(shown in attached file where C1=1/6F(167mF) C2=5/18F(278mF) for which
z(s)= (s^2+9)(s^2+1)
s(s^2+4)
for which zeros are at +/-3j ,+/-1j
poles at 0 ,+/-2j as per theory:
But multisim gives different values (shown in attached file)
what is the problem?
please clarify.
thanks & regards
sagar vanarase
Attachments:
1portLC.JPG 219 KB -
Problem with two monitors while using Photoshop, windows move from 2nd screen to 1st screen.
I saved a new workspace and it did not help.
No problem before I went to Maverick.I found the fix, go to System Preferences and open Mission Control and uncheck the box to keep monitors as they were (When switching to an application...........)
-
Need help with the session state value items.
I need help with the session state value items.
Trigger is created (on After delete, insert action) on table A.
When insert in table B at least one row, then trigger update value to 'Y'
in table A.
When delete all rows from a table B,, then trigger update value to 'N'
in table A.
In detail report changes are visible, but the trigger replacement value is not set in session value.
How can I implement this?You'll have to create a process which runs after your database update process that does a query and loads the result into your page item.
For example
SELECT YN_COLUMN
FROM My_TABLE
INTO My_Page_Item
WHERE Key_value = My_Page_Item_Holding_Key_ValueThe DML process will only return key values after updating, such as an ID primary key updated by a sequence in a trigger.
If the value is showing in a report, make sure the report refreshes on reload of the page.
Edited by: Bob37 on Dec 6, 2011 10:36 AM -
Is anyone using iPhoto having a problem with the slide show using shatter where it does not let you put a title over photo? It use to work but it no longer lets you place a title over the opening photo.
Is your signature still current?(iPhoto '08, OS X Mountain Lion (10.8.4)) I can confirm this for iPhoto '11; Shatter will only show the text slide title between the slides. Ken Burns and Classic theme can still be set to overlay the caption and title directly over the slides.
Maybe you are looking for
-
How to determine a change to a Sales Order Header Text?
Hi All, Is it possible to compare text entered on a Sales Order Header with what was stored previously? I know I can use READ_TEXT to retrieve previously stored text but how do I compare with what was entered at VA02? I'm at VA02, I'm selectin 1 line
-
<rant> Adobe's RH help SUCKS! It's NOT user-friendly. JR, are you listening?<\rant> Thank you. I feel better. Now for my question: how do I create a See reference in the index? I don't want a See Also reference, I want a See reference: Whatever topic
-
Difference in b += 100; and b = b + 100;
On the java tutorial page on assignment operators, http://java.sun.com/docs/books/tutorial/java/nutsandbolts/assignment.html, the following is mentioned: "Suppose you wanted to add a number to a variable and assign the result back into the variable,
-
Ok, Can someone please tell me what the heck is going on. When ever i click on "edit" I get kicked off of dreamweaver. Then i get this box with this saying: "The application dreamweaver has unexpectedly quit. The system and other application have not
-
Kleurgebruik in Indesign en Illustrator
Ik vraag me af hoe het kan zijn dat de waardes van PMS kleuren uit de Pantone waaier verschillen met de waardes die weer in Indesgn en Illustrator worden gebruikt?