473,796 Members | 2,788 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 4434
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
2138
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 from the weblogic servlet; the document is generated but the barcode is not and after many...
0
1696
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 org.apache.avalon.framework.logger.LogKitLogger.isWarnEnabled(LogKitLogger.java:122)
2
3892
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
1434
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
3708
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 weblogic.jndi.internal.BasicNamingNode.lookupHere(BasicNamingNode.java:225) at...
2
1464
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 the given param (C). The second template receives 2 params (A and C) and prints them out. Thus, in...
1
1412
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
1129
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 BufferedImage image = new BufferedImage (100, 100, BufferedImage.TYPE_INT_RGB);
1
1468
by: prasad1 | last post by:
hi i have got one question how will i connect internally Tomcat and Weblogic.
0
10461
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10239
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10019
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...
1
7555
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
6796
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
5579
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4122
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
2
3736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2928
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.