Cookie support

Would anyone know if Weblogic has a class/method you can call to determine if the
current client supports cookies?

Rich,
There unfortunately isn't a 100% sure mechanism for this. You essentially
have to try to set a cookie and see if it comes back. If you are using
sessions you can try the method:
HttpServletRequest.isRequestedSessionIdFromCookie()
this will tell you if the current session is being maintained using cookies.
This will always return false on the first request in a session (because
that request wouldn't have been accompanied by a session cookie), but should
return a useful value after that.
Cheers!
Adam
"Rich" <[email protected]> wrote in message
news:3ae6fedf$[email protected]..
>
Would anyone know if Weblogic has a class/method you can call to determineif the
current client supports cookies?

Similar Messages

  • Adobe AIR for Playbook - Cookies supported?

    Adobe AIR for Playbook - Cookies supported?
    Following a discussion on - http://supportforums.blackberry.com/t5/Tablet-OS-SDK-for-Adobe-AIR/Cookies-supported/m-p/6 36455
    Has anyone here or at Adobe seen this thread to consider if it is an AIR issue?
    Sorry if this is the wrong forum to post in.
    TIA
    -SR

    Hi SR,
    I wanted to let you know that while we typically don't handle Playbook issues on this forum (the RIM forum you linked to is the correct place for these discussions) I have forwarded this question along to the team to see if anyone has encountered this.  I'll post more info when I hear back.
    Thanks,
    Chris

  • Cookie support planned in UIX?

    Is it planned to support cookies in UIX?
    e.g. read a cookie and in a null eventhandler and write it into page property or versa.
    Would be nice e.g. for storing the username in a cookie for login handling ("remember me").
    Thanks, Markus
    Btw. I know that i can do that in a java eventhandler, but doing it declarative with UIX tags would be nice.

    Great to hear :-). We have to use JDev 9.0.3.3 until a stable 9.0.5 production release is out.
    So i have to wait for next year to come or some nice person at Oracle will provide a 9.0.3.x backport for UIX 2.2 ;-).
    Thanks for reply, Markus

  • Cookie support in a JSP provider

    Hello,
    How can I set the cookie from a JSPProvider channel? The standard way (response.addCookie) does not seem to work. I'd say the response wrapper just ignores it.
    Regards,
    Valera

    Hi,
    Please check the log files for any errors. Also, If the JSP is on a different webserver, his the domainname added in the (Gateway Management | Manage Gateway profile)"Forwardcookie URL list" and Server Management | Manager server profile |"Cookie domain list".
    Regards,
    Raj_indts
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support.

  • Cookie support in JWeb Toolkit

    Hi,
    I have a big problem! I can't find any support for handling
    cookies from the JWeb Toolkit for OAS 4.0. I need functionality
    to SET and GET cookies in Java.
    I have tried writing 'Set-cookie: xxx=yyy' in the HTTP header
    with HtmlStream but the page never arrives to the browser, like
    if the server halts the page.
    One solution is to use the WRB Services but then you must invoke
    the WRB services in C and it seems to be a lot of extra work.
    Thanks
    null

    Are you setting the values in your cookie when you access the page from the portal? I havent used them in a long time, but I'm pretty sure cookies are Domain specific. So if you set in while in one Domain, its not avilable via another. Maybe acessing the page thru the portal puts it in a different Domain?

  • Cookie Support in xMII portal

    Hi,
    i created one web page. in this i set ChartClickEvent and i get querytemplate of that chart. then i click button to send result of querytemplate to Minitab. i set alert messages to display value of query template and SQL query that is going to send for conversion. i got these values via cookie in javascript. this page is working fine when i call this via browser i.e directly i typed as
    http://<server name>/Illuminator/PortalLogin.jsp?target=/minitab.htm&IllumLoginName=<user name>&IllumLoginPassword=<pass word>&session=true
    but in xMII paotal i add one link to this page via navigation. when i click button to export, it display null messages in alert and it wont convert anything. but the same page working fine outside xMII portal. what is the problem? Is it problem in cookie? because it display values when i call this from browser but displaying null when i call from xMII protal. how to solve this? please help me.
    -senthil

    Are you setting the values in your cookie when you access the page from the portal? I havent used them in a long time, but I'm pretty sure cookies are Domain specific. So if you set in while in one Domain, its not avilable via another. Maybe acessing the page thru the portal puts it in a different Domain?

  • Cookie Support in DPS

    Hi,
    We are trying to insert a poll into one of our stacks using a web-content overlay.
    The idea is that next to a restaurant review, users can give their own mark to the restaurant (1-5 stars). The only way I can think of to implement something like that is with cookies, but from the limited testing I've done, that doesn't seem to work.
    I've only tested this with the content viewer (on the iPad), not in an actual application, not sure if that makes any difference.
    Is there a way to use cookies in DPS, and if not, can anyone think or a way around it?
    We use V26, by the way
    Thanks

    Thanks. This is helpful.
    However, we want to use Opinion Stage, which is highly cookie based, so can't really change the architechture too much.
    Is using cookies not possible at all with DPS?

  • Does webstart submit cookies in its requests for server resources?

    Our authentication system is cookie-based: after the user logs in from a browser, an authentication cookie is sent to the browser. This cookie must accompany every succeeding request to the server, or else access is denied. Browsers handle this automatically.
    A logged-in browser gets a .jnlp file, launches javaws. javaws fails on its first request, for the first .jar file named in the .jnlp file. Did javaws fail to submit the cookie that is in the browser's cookie store? Is there any way to get javaws to include this cookie in its http requests? If it doesn't, it can't get any of the resources it needs from the server.
    The new 1.5 documentation states that webstart and plugin provide automatic cookie support. But is this only for cookies exchanged between the launched applications and the server? Does/can javaws include cookies in its own server requests?

    But is this
    only for cookies exchanged between the launched
    applications and the server? no.
    Does/can javaws include
    cookies in its own server requests?yes.
    I was doing cookie management in our application before 1.5 Different users need to authenticate with the same application running. When we tried our app on 1.5 this feature stop working. There were two cookie values being put in the request. Mine and then Webstart's. Webstart in 1.5 installs its own CookieHandler. So I had to turn it off using the following code
      //remove the cookieHandler installed by JavaWebStart
      java.net.CookieHandler cookieHandler = java.net.CookieHandler.getDefault();
      if (cookieHandler != null) {
        java.net.CookieHandler.setDefault(null);     
      }     If you read the documentation for CookieHandler you will notice that it is a callback for all HttpURLConnection. So every HttpURLConnection will callback to the global CookieHandler.
    Just as a warning to all those checking your pre 1.5 JavaWebstart applications on 1.5. If you are doing your own cookie management it may break on 1.5.
    So I have a question. Is there a way in the JNLP to specify that JavaWebstart only use cookie management for for cookies exchanged between the launched applications and the server?

  • Cookie / url rewriting doubt

    1) Browser cookie support enabled.
    Request first sent & server sets the session ID as cookie in the HTTP response header.
    2) Browser sends the cookie back while making the next request to the server. Now the server picks up sessionID cookie and thus the client joins the session.
    3)
    Response sent with session ID as cookie and not URLencoding since you found that cookie was enabled last time.
    4) All of a sudden Browser cookie support disabled.
    So what will happen now since for next subsequent request cookie disabled and also url is not rewritten with sessionID in the html response we got from the server. So will that session be lost?
    Do we have any protection against this scenarion?

    I don't know what will happen. Probably the new request will not participate in the old session. But the chances that somebody will turn off cookies in their browser while accessing your site is extremely small. So if you really need to know, it wouldn't be hard to try it.

  • Regarding Safari cookie size problem (RFC 2109)

    Latest Safari versions do not comply with RFC 2109 regarding cookies size.
    RFC 2109 6.3  Implementation Limits
       Practical user agent implementations have limits on the number and
       size of cookies that they can store.  In general, user agents' cookie
       support should have no fixed limits.  They should strive to store as
       many frequently-used cookies as possible.  Furthermore, general-use
    user agents should provide each of the following minimum capabilities
       individually, although not necessarily simultaneously:
    * at least 300 cookies
    * at least 4096 bytes per cookie (as measured by the size of the
            characters that comprise the cookie non-terminal in the syntax
            description of the Set-Cookie header)
    * at least 20 cookies per unique host or domain name
    User agents created for specific purposes or for limited-capacity
       devices should provide at least 20 cookies of 4096 bytes, to ensure
       that the user can interact with a session-based origin server.
    Latest Safari violates this RFC and has 4 KB limit on total size of all cookies for each domain.
    It causes severe problems with many Web Applications including Web Applications which use Microsoft SAML2 federated security.
    Safari must support up to 20 cookies per domain and each cookie must be at least 4096 bytes long.
    Where can I get a fix fro Safari.
    This was tested with Safari for MS Windows, but people reported same problem for many other platforms.

    You can provide feedback to Apple here >  Apple - Safari - Feedback

  • Absolute cookie nightmare...can anyone help? :(

    I'm trying to write a program in java that will log onto this page: (http://infotrac.galegroup.com/itweb/uwcn). However, the cookies on this page are proving an impossible task to handle. When I go there in my browser, it sets an intial cookie (alteonP=blahblah) and then two further cookies (Ctemp & Cperm).
    However, when I connect to the URL using an HttpURLConnection object as follows:
    URL url = new URL("http://infotrac.galegroup.com/itweb/uwcn");
    HttpURLConnection http = (HttpURLConnection) url.openConnection();
    String cookie=http.getHeaderField("Set-Cookie");
    System.out.print(cookie);
    I get no cookies sent by the server ? the program returns null! I've tried turning off redirection, but the response code is always 200 OK, which means its not trying to redirect me is it?
    If I create an input stream from the above connection and output the HTTP Body returned by the server on the above request, I get the error message:
    <CENTER><H2>We are unable to recognize you as having access to this Gale Group Product</H2></CENTER>
    The best information we have about this problem is: <CENTER><FONT COLOR="#FF4500">Temporary cookie support must be enabled in your browser in order to use this product.</FONT></CENTER>
    So somehow I am missing the cookie!?!?!
    I've tried printing out the entire header returned by the server, which returns the following every time:
    null HTTP/1.1 200 OK
    Date Wed, 29 Jan 2003 12:17:56 GMT
    Content-Type text/html
    Connection close
    Server Netscape-Enterprise/3.6 SP1
    Via 1.1 webcacheH10 (NetCache NetApp/5.3.1R2)
    And there is no sign of anything that resembles a cookie or any other identifiable information, so can anyone help me understand where I am missing the cookie support? I've tried turning off redirection and cacheing, tried connecting and reconnecting and also tried changing the user agent, but nothing makes a blind bit of difference!
    I ultimately want to log onto the site, which requires passing the connection to the following URL http://infotrac.galegroup.com/itweb/uwcn?id=100117976 but seeing as I can't even get the site to send me a cookie, I'm a long way from achieving this I think :( I'm beginning to think the HttpURLConnection object isn't the way to go about this, given the grief its caused, but it must be possible mustn't it?
    So, if anyone can offer some support on the above, it would really be appreciated.

    Curious...
    I run a tool that I have developed to analyze http/https sessions and I get the following:
    Requesting : [http://infotrac.galegroup.com:80/itweb/uwcn] (1) times.
    <----------- Server Response ----------->
    HTTP/1.1 200 OK
    Set-Cookie : AlteonP=5b2cd03b5b2cd0fa; path=/
    Server : Netscape-Enterprise/3.6 SP1
    Date : Wed, 29 Jan 2003 20:47:48 GMT
    Content-type : text/html
    Connection : close
    <--------------------------------------->
    using another utility in the same tool I send 20 requests
    looking for the cookie field and I get the following:
    Set-Cookie : 5b2cd03b5b2cd0f8
    Set-Cookie : 5b2cd03b5b2cd0fa
    Set-Cookie : 5b2cd03b5b2cd0fc
    Set-Cookie : 5b2cd03b5b2cd0fe
    Set-Cookie : 5b2cd03b5b2cd0fb
    Set-Cookie : 5b2cd03b5b2cd0fd
    Set-Cookie : 5b2cd03b5b2cd0ff
    ....(rest of responses were truncated) ...
    here is the section of my code:
    URLpathClearText = new URL( "http",
                   targetHost,
                   targetPort,
                   path
                                       targetURLClearText = (HttpURLConnection) URLpathClearText.openConnection();
    targetURLClearText.setRequestMethod("GET");
    // get the cookie value cookiestring="Set-Cookie"
    targetURLClearText.getHeaderField(cookieString)
    I hope this helps.
    If not I may be able to send you the tool to test it your self.
    Let me know (I'm at [email protected])
    Peter

  • Cookies and Sessions?

    I am trying to set the maxAge in cookies using this code
    Cookie cookie = new Cookie("cookie1","test");
    cookie.setMaxAge(360);
    cookie.setComment("test comments");
    response.addCookie(cookie);I am retrieving the cookie using this code:
    Cookie[] cookieArray = request.getCookies();
    if( cookieArray != null) {
        for( int i = cookieArray.length-1; i >= 0; i-- ) {
           Cookie cookie = cookieArray;
    out.println("Cookie name is " + cookie.getName() + "<br>");
    out.println("Cookie value is " + cookie.getValue() + "<br>");
    out.println("Cookie age is " + cookie.getMaxAge() + "<br>");
    out.println("cookie comment is " + cookie.getComment() + "<br>");
    The name and value are returned, but the maxAge=-1 and the comment is null. Any idea why? I also tried setting the maxAge to 0 after the cookie has been set the first time. The cookie still persists. Does the cookie persist forever if the maxAge is not set?
    Also, I was wondering if you can use httpSession after the browser closes. If the user closes the browser, is it possible to get the session back when they open it again by setting the maxInterval?

    Nothing reading the API wouldn't cure...
    "This class [Cookie] supports both the Version 0 (by Netscape) and Version 1 (by RFC 2109) cookie specifications. By default, cookies are created using Version 0 to ensure the best interoperability." ... "Comments are not supported by Netscape Version 0 cookies."
    This partly explains the comment problem (see setVersion(int)), except that it doesn't necessarily mean the browser will send the comment back. So you can try setting it, but I would never expect it to be there when read back.
    "public void setMaxAge(int expiry)
    A positive value indicates that the cookie will expire after that many seconds have passed. Note that the value is the maximum age when the cookie will expire, not the cookie's current age.
    A negative value means that the cookie is not stored persistently and will be deleted when the Web browser exits. A zero value causes the cookie to be deleted."
    The default max age is -1 (or at least some negative value). As for get, again, I wouldn't assume that the browser will send this information back.
    Generally, if the cookie name/value is present, it hasn't expired, so great. If you want to reset it even if it still exists, or wait til it no longer exists, that's up to you. I wouldn't rely on other information.
    In particular, I don't think getting back the max age will help with anything. There is no way to tell from it anything useful from it. It's not like you could figure out how long it's been since it was set. It wouldn't return any value such as time remaining. If you wanted to do something like that, you could set another cookie with a timestamp as the value and read that later.

  • Flash installed and up to date however flash does not run on any web browser

    I was catching up on watching a televsion show and watching it with no issues/no problems with flash before. I went to the website below  and all of a sudden flash is not working. I did not change any settings, run any updates. I checked various browsers, flash content is not working on any of them. I can view youtube videos however just about any other site I've tried, nothing and many websites will not display correctly. I tried some of the troubleshooting suggestions in the forum however some of them I'm unable to do such as alter the flash settings, it takes me to the page but tells me I don't have Flash installed. I've tried switching user accounts on my pc as others have said flash works for them on the other account however mine is still broken. I've actually tried a system restore, still no luck.
    Windows 8 (64 bit)
    Flash Version 11.9.900.152
    Tried web browsers IE, Firefox, Chrome - I've verified it is enabled
    Active X is disabled
    I've ran the 'test' to verify Flash is installed and it displays the video
    I ran the debugger however I do not know how to interpret the data.
    PLEASE HELP!!
    Request Displayed
    #1 - SiteCatalyst Image 1564 chars
    Friendly Third Party Cookies
    om.cbsi.com
    Report Suite ID(s)
    cnetcbscomsite, cbsicbsiall
    Version of Code
    H.25.4
    Query String Beginning
    1
    Sent From JavaScript File?
    1
    Date/Time
    December 8, 2013 at 10:27 PM
    fid=30F75FA127AB1EDA-2ECCBA4ED7B2A80F
    Name Space
    cbsinteractive
    pageName
    cbscom:The Big Bang Theory - The Discovery Dissipation:The Big Bang Theory:The Big Bang Theory Video The Discovery Dissipation CBS com:p1:video:the big bang theory:comedy:primetime
    Current URL
    http://www.cbs.com/shows/big_bang_theory/video/
    channel
    primetime
    prop1
    cbs.com
    eVar1
    D=c1
    prop2
    us
    eVar2
    D=c2
    prop3
    responsive web|||desktop
    eVar3
    D=c3
    prop5
    cnetcbscomsite
    eVar5
    D=c5
    eVar6
    primetime|comedy|the big bang theory|video
    prop7
    D=g
    eVar7
    D=g
    prop8
    The Big Bang Theory Video - The Discovery Dissipation - CBS.com
    eVar8
    D=c8
    prop9
    D=User-Agent
    prop10
    video
    eVar10
    D=c10
    prop11
    primetime:video
    eVar11
    D=c11
    prop12
    6711
    eVar12
    D=c12
    prop13
    19650
    eVar13
    D=c13
    prop20
    The Big Bang Theory Video The Discovery Dissipation CBS com
    eVar20
    D=c20
    prop21
    D=c20
    eVar21
    D=c20
    prop22
    D=c10
    eVar22
    D=c10
    prop30
    cbscom:UqU4QwoZASUAAGHo9yEAAAA5
    eVar30
    D=c30
    eVar49
    ishd
    eVar54
    Less than 1 day
    prop60
    not set
    eVar60
    D=c60
    prop61
    comedy
    eVar61
    D=c61
    prop62
    D=c60
    eVar62
    D=c60
    prop63
    cbscom:10|The Big Bang Theory
    eVar63
    D=c63
    prop64
    cbscom:1933E590-B255-5B32-E778-BF122477716C|The Big Bang Theory - The Discovery Dissipation
    eVar64
    D=c64
    prop65
    7
    eVar65
    D=c65
    prop66
    D=c65
    eVar66
    D=c65
    hier1
    cbscom:primetime|comedy|the big bang theory|video
    Screen Resolution
    1600x900
    Color Depth
    24
    JavaScript Version
    1.6
    JavaScript Enabled
    Y
    Cookies Supported
    Y
    Browser Width
    1600
    Browser Height
    814
    Connection Type
    lan
    Home Page?
    N
    Query String End
    1

    Hi there
    Sorry, but you aren't in the right place for getting help with this. Try clicking the link below and choose a forum dedicated to Adobe Flash.
    Click here
    Best of luck to you in resolving your issue! Rick

  • HTTP POST and Internet Explorer

    Sorry for the cross post, but after reading through this newsgroup, it
              seems that this audience is better suited to answer this question...
              ===========================
              We're running across a very strange bug that is happening only in
              Internet Explorer and only when posting form data. Netscape works
              completely fine every single time.
              The user experience is this:
              Using IE, I get to a JSP that's got a form. I click a button on said
              form that performs either a "Save" or a "Cancel" action and am
              immediately hit with the wonderful "This page cannot be displayed(Cannot
              find server or DNS Error)" IE error message.
              What happens on the server side is this:
              User posts a form to a JSP. The JSP does any processing that it needs
              to, which in the case of "Cancel" is nothing, and issues these commands:
              response.sendRedirect("/some/page.jsp");
              return; //exit program immediately!
              I've verified that the server is executing as expected, sending the
              response and returning out of the program. That's where things seem to
              go awry in Internet Explorer. It's as if IE is not interpreting the
              HTTP response header correctly and just dies not knowing where to go.
              The even stranger thing is that, when running WLS on our internal
              network, this does not happen unless your dialed up. However, when
              hitting our servers that are colocated, this happens on a regular basis.
              One more thing to note is that this does not happen every time. It
              happens more than 90% of the time, but not every time, which is why it's
              very hard for me to recreate.
              Another strange thing is that this error seems to depend on the content
              of the form
              variables, for instance I can have a form with check boxes that errors
              out when the
              check boxes are unchecked, but is fine when the boxes are checked, and
              in both
              cases I'm not doing anything at all with the data that is getting
              posted.
              I've tried everything from changing the http headers to changing the
              post to be
              multipart encoded, and nothing works.
              If you've got a clue or a hint or any suggestions where I should be
              looking, then please let me know. I've got a few more things to check
              out, but I'm running out of ideas.
              Our platform:
              - RedHat Linux 6.0
              - WebLogic Server 4.5.1 Service Pack 5
              - JDK 1.2.2 (Sun/Blackdown)
              These JSPs:
              - Are posting form data ("GET" works for some reason)
              - Are not using any JavaScript
              

    Hi Chris/All,
              Following on from this I contacted WebLogic support (Frederic). They
              suggested I downgrade from 4.5.1 sp8 to 4.5.1 sp7. They also suggested I
              use HttpResponse.encodeURL()...
              This did not solve my problem but I went on to discover the following...
              Hi Frederic,
              We tried with sp7
              I thought HttpResponse.encodeURL just encoded session data where no cookie
              support was in the browser, but I tried it anyway.
              Also tried the following to the page I'm redirecting back to (to prevent
              browser cacheing)
              resp.setHeader("Cache-Control","no-cache"); file://HTTP 1.1
              resp.setHeader("Pragma","no-cache"); file://HTTP 1.0
              resp.setDateHeader ("Expires", 0); file://prevents caching at the proxy
              server
              Also added the following to override the standard implementation
              protected long getLastModified(HttpServletRequest req)
              System.out.println("ServletA.getLastModified"); // ensure lastModified is
              always in the future requiring a reload
              return Long.MAX_VALUE;
              The only way I've been able to force this to work is a bit of a cludge and
              is as follows...
              // add time to queryString to fool IE5 into thinking this is a new web page.
              String parentURL = HttpUtils.getRequestURL(req) + "?" + req.getQueryString()
              + "&t=" + System.currentTimeMillis();
              The following is also of interest
              http://forum.java.sun.com/forum?14@@.787c19c1
              HTH, Let me know
              Thanks, Gary
              Gary <[email protected]> wrote in message
              news:[email protected]...
              > This sounds similar to a problem I'm having with straight Servlets.
              >
              > I have a servlet (ServletA) that has a link to another servlet via <a
              href>
              > tags (ServletB). ServletB does some processing and calls ServletA with
              > original parameters to show the user the changed details. This is done as
              > follows...
              >
              > respose.sendRedirect(ServletA?params);
              > return;
              >
              > Once again this is fine in Netscape 4.07 but only works on IE5 machine
              here
              > to date (which unfortunately happens to be mine, leading to my late
              > discovery of this problem).
              >
              > My IE version is 5.00.2314.1003 if that helps.
              >
              >
              > Chris Fraser <[email protected]> wrote in message
              > news:[email protected]...
              > > Sorry for the cross post, but after reading through this newsgroup, it
              > > seems that this audience is better suited to answer this question...
              > > ===========================
              > > We're running across a very strange bug that is happening only in
              > > Internet Explorer and only when posting form data. Netscape works
              > > completely fine every single time.
              > >
              > > The user experience is this:
              > > Using IE, I get to a JSP that's got a form. I click a button on said
              > > form that performs either a "Save" or a "Cancel" action and am
              > > immediately hit with the wonderful "This page cannot be displayed(Cannot
              > >
              > > find server or DNS Error)" IE error message.
              > >
              > > What happens on the server side is this:
              > > User posts a form to a JSP. The JSP does any processing that it needs
              > > to, which in the case of "Cancel" is nothing, and issues these commands:
              > >
              > > response.sendRedirect("/some/page.jsp");
              > > return; file://exit program immediately!
              > >
              > > I've verified that the server is executing as expected, sending the
              > > response and returning out of the program. That's where things seem to
              > > go awry in Internet Explorer. It's as if IE is not interpreting the
              > > HTTP response header correctly and just dies not knowing where to go.
              > >
              > > The even stranger thing is that, when running WLS on our internal
              > > network, this does not happen unless your dialed up. However, when
              > > hitting our servers that are colocated, this happens on a regular basis.
              > >
              > > One more thing to note is that this does not happen every time. It
              > > happens more than 90% of the time, but not every time, which is why it's
              > >
              > > very hard for me to recreate.
              > >
              > > Another strange thing is that this error seems to depend on the content
              > > of the form
              > > variables, for instance I can have a form with check boxes that errors
              > > out when the
              > > check boxes are unchecked, but is fine when the boxes are checked, and
              > > in both
              > > cases I'm not doing anything at all with the data that is getting
              > > posted.
              > >
              > > I've tried everything from changing the http headers to changing the
              > > post to be
              > > multipart encoded, and nothing works.
              > >
              > > If you've got a clue or a hint or any suggestions where I should be
              > > looking, then please let me know. I've got a few more things to check
              > > out, but I'm running out of ideas.
              > >
              > > Our platform:
              > > - RedHat Linux 6.0
              > > - WebLogic Server 4.5.1 Service Pack 5
              > > - JDK 1.2.2 (Sun/Blackdown)
              > >
              > > These JSPs:
              > > - Are posting form data ("GET" works for some reason)
              > > - Are not using any JavaScript
              > >
              >
              >
              

  • HTTP 500 Internal Server Error for developer sample page

    Hi All,
    Getting the HTTP 500 Internal Server Error Page when I click on Developer Sample link on http://10.4.80.238:8080/portal/dt page.
    Find the below error log for more details:
    [#|2009-07-29T10:25:36.767+0530|FINEST|SJS Portal Server|debug.com.sun.portal.desktop.context|ThreadID=19; ClassName=com.sun.portal.desktop.context.PSContainerProviderContext; MethodName=getContent; |PSDT_CSPDC0028 : PSContainerProviderContext.getContent(): getting fresh content for channel: JSPTabContainer|#]
    [#|2009-07-29T10:25:36.768+0530|FINE|SJS Portal Server|debug.com.sun.portal.desktop.context|ThreadID=19; ClassName=com.sun.portal.desktop.context.AuthlessSessionContext; MethodName=getCookieSupportMode; |PSDT_CSPDC0002 : Cookie support mode = 0|#]
    [#|2009-07-29T10:25:36.768+0530|SEVERE|SJS Portal Server|debug.com.sun.portal.desktop|ThreadID=19; ClassName=com.sun.portal.desktop.DesktopServlet; MethodName=handleException; |PSDT_CSPD0022: Internal server error null root cause is java.lang.NullPointerException|#]
    [#|2009-07-29T10:25:36.768+0530|SEVERE|SJS Portal Server|debug.com.sun.portal.desktop|ThreadID=19; ClassName=com.sun.portal.desktop.DesktopServlet; MethodName=handleException; |PSDT_CSPD0023: Primary Exception
    java.lang.ClassCastException: java.lang.NullPointerException
         at com.sun.portal.providers.error.ErrorProvider.getContent(Unknown Source)
         at com.sun.portal.desktop.DesktopServlet.handleException(Unknown Source)
         at com.sun.portal.desktop.DesktopServlet.doGetPost(Unknown Source)
         at com.sun.portal.desktop.DesktopServlet.handleNoSessionRequest(Unknown Source)
         at com.sun.portal.desktop.DesktopServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235)
         at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114)
    |#]
    [#|2009-07-29T10:25:36.769+0530|SEVERE|SJS Portal Server|debug.com.sun.portal.desktop|ThreadID=19; ClassName=com.sun.portal.desktop.DesktopServlet; MethodName=handleException; |PSDT_CSPD0024: Root cause
    java.lang.NullPointerException
         at com.sun.portal.providers.containers.jsp.tab.util.Tab.create(Unknown Source)
         at com.sun.portal.providers.containers.jsp.tab.util.Tab.<init>(Unknown Source)
         at com.sun.portal.providers.containers.jsp.tab.util.TabFactory.createUnmodifiable(Unknown Source)
         at com.sun.portal.providers.containers.jsp.tab.util.TabData.getAvailableTabs(Unknown Source)
         at com.sun.portal.providers.containers.jsp.tab.JSPTabContainerProvider.getSelectedTab(Unknown Source)
         at com.sun.portal.desktop.context.PSContainerProviderContext.createVisiblePortletsList(Unknown Source)
         at com.sun.portal.desktop.context.PSContainerProviderContext.getContent(Unknown Source)
         at com.sun.portal.desktop.context.PSDesktopContext.getContent(Unknown Source)
         at com.sun.portal.desktop.DesktopServlet.doGetPost(Unknown Source)
         at com.sun.portal.desktop.DesktopServlet.handleNoSessionRequest(Unknown Source)
         at com.sun.portal.desktop.DesktopServlet.service(Unknown Source)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
         at sun.reflect.GeneratedMethodAccessor159.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
         at java.security.AccessController.doPrivileged(Native Method)
         at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
         at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
         at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
         at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
         at java.security.AccessController.doPrivileged(Native Method)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
         at com.sun.enterprise.web.connector.httpservice.HttpServiceProcessor.process(HttpServiceProcessor.java:235)
         at com.sun.enterprise.web.HttpServiceWebContainer.service(HttpServiceWebContainer.java:2114)
    |#]
    [#|2009-07-29T10:25:36.770+0530|SEVERE|SJS Portal Server|debug.com.sun.portal.desktop.mfwk|ThreadID=19; ClassName=com.sun.portal.desktop.mfwk.MfwkPSServiceAdaptor; MethodName=stopTransaction; |PSDT_CSPDMF0003: Mfwk Stop transaction error: Invalid transition for this transaction|#]
    Please provide me the solution to solve it.
    Thanks in advance.

    By the wat what version of application server are you running and how is your portal deployed, i.e portal deployed on seprate machine and access manager on another?
    To disable security login into your application server console e.g https://localhost:4848
    -> Click configurations on the left to expand it
    -> click arrow on the server instance configuration to expand it (this is the instance you used to deploy portal server e.g "server" )
    -> click JVM Settings on the right you will see four tabs
    -> click JVM options, a list of values is displayed
    -> tick "-Djava.security.manager" and "-Djava.security.policy=${com.sun.aas.instanceRoot}/config/server.policy" and click delete
    -> restart the server and try accessing the developer sample.
    Send me the error message if any after doing this and If this does not wok, add back the values.
    regards

Maybe you are looking for