473,549 Members | 2,647 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Weblogic / Tomcat differences on cookie storage

34 New Member
Can someone explain the differences between setting cookies on TomCat or a Weblogic webserver?

I discovered today during a deployment to Weblogic that a cookie can be set and retrieved in a single session. But, once the browser session is restarted the "onload="getCoo kie()" returns an error. In Tomcat however, it works perfectly.

When the cookie is manually distoyed prior to form load, no errors are returned. But, when attempting to return values of an existing cookie in Weblogic it errors with 'null' is null or not an object.

With Tomcat the cookie is set, retrieved and available upon new session.

What, if anything, needs attention for Weblogic to return the cookie values on new session?

Thanks
Oct 5 '07 #1
5 4416
pbmods
5,821 Recognized Expert Expert
Heya, swebster.

I'm going to go ahead and move this thread to the Java forum, where our resident Experts will be better able to help you out.
Oct 6 '07 #2
swebster
34 New Member
Thanks pbmods,

There are several settings offered in the weblogic.xml build with the application for deployment. Has anyone ever run into something similar or have any advice on what needs to be set for this issue.

Thanks.
Oct 8 '07 #3
dmjpro
2,476 Top Contributor
Can someone explain the differences between setting cookies on TomCat or a Weblogic webserver?

I discovered today during a deployment to Weblogic that a cookie can be set and retrieved in a single session. But, once the browser session is restarted the "onload="getCoo kie()" returns an error. In Tomcat however, it works perfectly.

When the cookie is manually distoyed prior to form load, no errors are returned. But, when attempting to return values of an existing cookie in Weblogic it errors with 'null' is null or not an object.

With Tomcat the cookie is set, retrieved and available upon new session.

What, if anything, needs attention for Weblogic to return the cookie values on new session?

Thanks
I am new to Web-Logic :-)
Is it a Web-Server?
I think it is....So you are talking abut client side Cookie.
Then I think Server's headache should not be there.
It seems something .....absurd to me.

Debasis Jana
Oct 9 '07 #4
swebster
34 New Member
I am new to Web-Logic :-)
Is it a Web-Server?
I think it is....So you are talking abut client side Cookie.
Then I think Server's headache should not be there.
It seems something .....absurd to me.

Debasis Jana

This is a client side cookie, however I believe Weblogic handles session differently then Tomcat. Much of the Weblogic documentation indicates several parameters to set within the weblogic.xml but at this point none of the ones I have set are making a difference. Oddly enough, if I distroy the cookie pre application launch the cookie storage and retrieval work fine.

Here are some of the parameters I found so far.

<param-name>CookieName </param-name>
<param-name>Persistent StoreType</param-name>
<param-name>CookiesEna bled</param-name>

Still need more information on session...

Scott
Oct 9 '07 #5
dmjpro
2,476 Top Contributor
This is a client side cookie, however I believe Weblogic handles session differently then Tomcat. Much of the Weblogic documentation indicates several parameters to set within the weblogic.xml but at this point none of the ones I have set are making a difference. Oddly enough, if I distroy the cookie pre application launch the cookie storage and retrieval work fine.

Here are some of the parameters I found so far.

<param-name>CookieName </param-name>
<param-name>Persistent StoreType</param-name>
<param-name>CookiesEna bled</param-name>

Still need more information on session...

Scott
Let's have wait for experts ... what they tell ....
I am still confused ..........

Debasis Jana
Oct 9 '07 #6

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

Similar topics

0
2128
by: Benny | last post by:
Hi i am using fop to generate dynamical pdf documents from a servlet, in weblogic 5.1. Fop works very fine but i need to generate barcodes in my documents so i am integrating it with krysalis barcode libraries. The integration works fine if i test it from a standalone application (pdf with barcode is printed), but there are problems using it...
0
1685
by: Per-Christian Engdal | last post by:
Hi, I have built a cocoon.war file, and deployed it on my BEA Weblogic 8.1 Sp2 (Windows 2000) installation. The deployment works without exceptions, but when I try to access cocoon through http://localhost:80/cocoon I get the following error message (stack trace): java.lang.NoClassDefFoundError: org/apache/log/Logger at...
2
3883
by: shin | last post by:
This is newbie question. What is weblogic? Is it replacement of apache or tomcat? if not is there any thing available in open source? SK
0
1415
by: Bjørn T Johansen | last post by:
We have a Struts app running on Tomcat and PostgreSQL, and we are thinking of changing from Tomcat to Weblogic. Are there any reasons not to do this with regarding to the database access and connection pooling? Regards, BTJ
0
3688
by: manauwaralam | last post by:
javax.naming.NameNotFoundException: While trying to lookup 'weblogic.jdbc.jts.vdmsPool' didn't find subcontext 'jdbc' Resolved weblogic; remaining name 'jdbc/jts/vdmsPool' at weblogic.jndi.internal.BasicNamingNode.newNameNotFoundException(BasicNamingNode.java:897) at...
2
1456
by: QTR | last post by:
Hello, I discovered a strange XSLT behaviour on Weblo 8.1. Let me explain it (see at the end my example XSLT): I call a template (1) with one parameter (A) which calls another template (2) with two parameters. The first parameter is param A (obtained from template 1) and the second param comes from another template (3) which just returns...
1
1405
by: dillip132 | last post by:
what are the services provided by web logic.why weblogic is more preferable then tomcat. I know Tomcat not support EJB. so can i say that ,if we will not use EJB , then tomcat is better then weblogic ? if no , then what r the other services of weblogic. plz answer this ....
0
1120
by: prasath03 | last post by:
Hi Everybody, I am running the following code in jsp. It will perfectly works on Tomcat 4, but it doesn't work after deployed on weblogic 8.1. What is the problem? The code is: <%@ page contentType="text/html" import="java.awt.image.*,java.awt.*,com.sun.image.codec.jpeg.*" %> <% // Create an offscreen image 100 x 100 pixels ...
1
1459
by: prasad1 | last post by:
hi i have got one question how will i connect internally Tomcat and Weblogic.
0
7532
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7462
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...
0
7730
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7492
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...
1
5381
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...
0
3510
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...
0
3491
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1957
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
1
1069
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.