473,785 Members | 2,823 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Axis - Session already invalidated

1 New Member
Hello,

I've a problem with Axis which gives me a "Session alreday invalidated" message after a time of inactivity.

I use:
- Tomcat : 4.1.29
- Axis : 1.3
- JVM : 1.4.2-b28

The complete message I recieved:
2007-01-29 15:57:56 StandardManager[/axis] L''écouteur d''évènement de session (session event listener) a généré une exception
java.lang.Illeg alStateExceptio n: "getAttribu te": Session déjà invalidée
at org.apache.cata lina.session.St andardSession.g etAttribute(Sta ndardSession.ja va:954)
at org.apache.cata lina.session.St andardSessionFa cade.getAttribu te(StandardSess ionFacade.java: 171)
at org.apache.axis .transport.http .AxisHTTPSessio nListener.destr oySession(AxisH TTPSessionListe ner.java:43)
at org.apache.axis .transport.http .AxisHTTPSessio nListener.sessi onDestroyed(Axi sHTTPSessionLis tener.java:72)
at org.apache.cata lina.session.St andardSession.e xpire(StandardS ession.java:659 )
at org.apache.cata lina.session.St andardSession.e xpire(StandardS ession.java:608 )
at org.apache.cata lina.session.St andardManager.p rocessExpires(S tandardManager. java:793)
at org.apache.cata lina.session.St andardManager.r un(StandardMana ger.java:870)
at java.lang.Threa d.run(Unknown Source)


I think it's a problem with the time-out of Axis and/or Tomcat or a combinaison of both:
- I've put session-timeout for Tomcat to 60 in the web.xml file of the conf directory.
- I've put session-timeout for Axis to 60 in the web.xml file of the axis/web-inf directory.

Can somebody help me and explain how "work together" those 2 different time-out?
Thanks a lot.
Jan 30 '07 #1
0 4239

Sign in to post your reply or Sign up for a free account.

Similar topics

3
6381
by: megha | last post by:
Hi I am writing a program in JSP which requires user to log in and as he logs in database was updated with his status on and till the user does not sign out no other user with same login and password can enter in the system. as he signs out database was updated but the problem is if somehow he forgot to sign out and closed the browser or navigate to other page or site his information was still on in the database. I want a solution how...
4
19079
by: megha | last post by:
Hi I am writing a program in JSP which requires user to log in and as he logs in database was updated with his status on and till the user does not sign out no other user with same login and password can enter in the system. as he signs out database was updated but the problem is if somehow he forgot to sign out and closed the browser or navigate to other page or site his information was still on in the database. I want a solution how...
0
7113
by: mjcsfo | last post by:
I can't seem to find a reference nor any helpful threads on this topic. I've gotten the following error in two circumstances: 1. A complex type has nested within it another complex type, in the "Russian doll" style of schema design, where the nested type is local and anonymous (not a separate global type). 2. A complex type has nested within it a simple type which is derived through restriction with at least one facet, again nested,...
7
3064
by: Eric Osman | last post by:
If my question sounds ill-formed, please cut me some slack as I'm just getting started with this part of the code. We're trying to do an axis soap interface, that is, talk to a site that already has a defined "dtd" . I've already seen some java examples that use SOAP and AXIS to do the communication. However, we'd like to communicate from client-side javascript instead of
1
2828
by: Parag Mahajan | last post by:
Hi, I am developing a .Net client for Axis 1.1 web service written in java. The wsdl is generated using, java2WSDL with these switches:: -y WRAPPED -u LITERAL The login service which returns a session Id, is null, after deserializing, but when the XML passing over wire is seen, I can see the session Id being returned. But if in the client proxy code, if I changed the "Use" property from Literal to Encoded, .Net client is able to...
1
3737
by: VEJIKYUULYCY | last post by:
Hi all, I'm trying to get a .Net client (C# console app) maintain a session with a Java-based web service (Axis), but it doesn't seem to work. (Of course, a Java client to the same service works fine) My C# code looks like this: > TestSvcService ts = new TestSvcService(); > ts.CookieContainer = new CookieContainer();
5
4163
by: vthakur | last post by:
Hello: I have a Axis Web Service that sets the sessionid in the SOAP header for persisting the session. The client is a .Net client that processes the header as an Unknown Header. It sets the session id received from the Service request on subsequent requests to the service. However the Axis Web service does not process the SOAP header received from the .Net client and creates a new session id for each request from the .Net client. Below...
0
2390
by: TraceyAnnison | last post by:
I wonder if you can help me - I'm new to this, and working in a project that has already been configured to work with Axis. We have a Java project built with the Spring framework, in order to provide webservices for access via SOAP. As I understand it (ie not very well!) Axis works to accept these SOAP messages from the client and transform them into calls on our Java methods, and do the reverse with the responses - cool! Which is excellent,...
0
3959
by: newdbprgmer | last post by:
I am using a business objects API that is a web service and has axis as dependency. it works fine with 1.1 version, but with 1.3 gives an error. The code is as follows: public void initWSConnection() { try{ String biCatalogURL = "http://" + super.getServerHostName() + ":" + PORT_NUMBER + BI_CATALOG_DIRECTORY ; URL boConURL = new URL(biCatalogURL); boConnection = new Connection(boConURL); boSession = new...
0
9480
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10093
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9952
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8976
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2880
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.