Are there application context variables on WebAS  like in tomcat?

Hello @ all,
can anyone tell me if there is a possibility to store variables in an application context on WebAS like in tomcat.
I need this possibility to implement a connection pooling on a server wide basis. Where i thought of implementing a singleton to do the connection pooling and i wanted to store this in the application context of WebAS if there is one.
Any hint or link to documentation would be very welcome.
Thanks
Tobi

Hi,
Since you are in the portal forum, I assume you have a portal installed.
You can then create a portal service, which will function as a singleton for the application server. Note however that if you run a cluster of many application servers, each of them will have an instance of it.
Dagfinn

Similar Messages

  • Are there applications deployed on OC4J ?

    Are there applications deployed on OC4J and running live with 100+ users on Production. I know WebLogic and WebSphere does..but not sure of OC4J.

    Yes there are!

  • What are the steps to Migrate a Web Service from Tomcat to JBoss

    Hi,
    I am totally new to JBoss and need some help. I mostly worked on BEA and Oracle. I have a web service deployed on Tomcat that needs to be now migrated to JBoss. What are the steps in moving a web service from Tomcat to JBoss.
    Is there some step by step tutorial on developing and deploying a web service on JBoss along with sample build script.
    Any help is really appreciated.
    Thanks

    R u using axis. If you want to stick with axis and don't want to use JBossWS there is nothing else you need to do. Move all the axis to Jboss. If you plan to reimplement all ur services in JBossWS here it is:
    http://jbws.dyndns.org/mediawiki/index.php?title=Quick_Start
    http://jbws.dyndns.org/mediawiki/index.php?title=User_Guide
    Let me know if you need anything else.

  • IIS 8.5 Idle Time Out Action = Suspend & Global.asax - Are there Application Events for this?

    Hi,
     So, I would like to start using the" Idle Time Out Action - Suspend" for several of my web applications.
    What I would like to know is whether any Application Events occur that I can use so that I know when the WorkProcess enters or exits the suspend state.
    Right now my application does stuff on Application Start and End, and I would like to have that same code executed when the WorkProcess suspends itself and when it comes out of suspend.
    Is this possible?
    Thanks,
    ~Hendel

    Hi Hendel,
    About IIS issue,
    http://forums.iis.net/
    the above forum is where you should post.
    Regards&&Kristin
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Are there any other Lower Thirds Titles like "Clouds"?

    Are there any other "Lower Thirds" titles that are like "Clouds"?
    Is there a way to download them and pop them into your titles folder perhaps...
    Just the variety of Lower Thirds titles are non existent, so I assumed there would be a library of titles online somewhere where you would be able to download and integrate it into FCPX.
    Thanks in advance.

    ForTeaSicks wrote:
    … I assumed there would be a library of titles online somewhere where you would be able to download and integrate it into FCPX.…
    best resource for free plug-ins:
    http://www.fcp.co/forum/9-free-fcpx-plugins-and-templates

  • Package variable versus application context variables

    Any difference in using package level variables versus setting attribute value pairs in a session based context ?
    Thanks

    Packaged variable - can be used only by user having execute privilege on the package. Same user can modify the values of the packaged variable when logged on to the session.
    Context variable - It cannot be set by only mere value assignment, It needs to the call to a procedure(trusted program) to set the value, hence it is more secure.
    Both are global variables & can be accessed throughout the session.
    Regards,

  • Are There any good apps for web related topics?

    Like
    podcast For Web
    Audiobook for web
    video for web
    refernce for web
    anything else list plz and thx.

    i want them to help me out and aslo learn from them.
    interacvtive tools.
    i want watch and listen and look and read.

  • Significance of context param in web.xml to initialize any variable?servlet

    I am writing a standalone web appplication for rss (xml) creation where i am having jsp servlets class etc.
    Now to write rss.xml and read it back in application i have temporarily used c:\\rss.xml but to make it capable working in web application which can be uploaded in website i need to make it configurable i need to kep it in context param of web.xml and in init() method of servlet of my application what exactly i should do there.what i have tried is this :
    public class Startup extends HttpServlet {
    private static String rssFeed;
    private ServletContext ctx;
    Logger log = Logger.getLogger(Startup.class);
    public void init(){
    log.debug("Initializing APPLICATION CONTEXT Variables");
    ctx = getServletContext();
    rssFeed = (String)ctx.getInitParameter("RssFeed");
    log.debug("Rss : " + rssFeed);
    String rssFile = this.getServletContext().getRealPath("") + File.separator + "WEB-INF" + File.separator + "rss.properties";
    Properties property = new Properties();
    try{
    InputStream propertiesFile = new FileInputStream(rssFile);
    property.load(propertiesFile);
    catch (IOException e) {
    log.error("IOException during domainValuesList file Reading");
    e.printStackTrace();
    log.error("Exception while loading AllowedDomainValues file");
    log.debug("Domain Values Lists Updated");
    /** Get Host Name (Server Name) where application is hosted on
    public static String getRssFeed(){
    return rssFeed;
    after that i called this startup servlet class in other servlet taken this getRssFeed()
    stored it as string passed as parametr to other class where i need to call it but there i am getting null pointer exception which says not initialized.
    even what i have written in web.xml is here:
    <context-param>
    <param-name>RssFeed</param-name>
    <param-value>c:\\rsshandler.xml</param-value>
    </context-param>
    <servlet>
    <servlet-name>Startup</servlet-name>
    <servlet-class>src.Startup</servlet-class>
    <init-param>
    <param-name>RssFeedConfig</param-name>
    <param-value>/WEB-INF/rss-config.xml</param-value>
    </init-param>
    </servlet>
    <servlet-mapping>
    <servlet-name>Startup</servlet-name>
    <url-pattern>/Startup</url-pattern>
    <load-on-startup>1</load-on-startup>
    </servlet-mapping>
    i tried what i know or understood but its not working.
    one more thing i have doneis:created rss.properties files in web-inf
    lines added are
    rssfeed=c:\\rsshandler.xml
    but even i am not getting this why
    or what sholud i do here.
    this thing needs to be configurablewhich we can change later easily.
    any suggestions.
    thanks
    vijendra

    Ben -
    There can be init params for the servlet or for the servlet context. For the servlet, this looks like:
    <servlet>
    <servlet-name>InitServlet</servlet-name>
    <servlet-class>package1.InitServlet</servlet-class>
    <init-param>
    <param-name>message</param-name>
    <param-value>Hello From Initialization Parameter</param-value>
    </init-param>
    </servlet>
    in the web.xml file, and is accessed using:
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    message = config.getInitParameter("message");
    For a servlet context init param, you define it as you did using the web.xml settings editor:
    <context-param>
    <param-name>hello</param-name>
    <param-value>hi</param-value>
    </context-param>
    This is accessed using:
    public void init(ServletConfig config) throws ServletException
    super.init(config);
    message1 = config.getServletContext().getInitParameter("hello");
    Hope this helps,
    Lynn
    Java Tools Team

  • Are there any standard 'out of the box' Portal applications eg forum, chat etc.

    Rather than developing applications that are probably a standard requirement for every Portal site, are there applications available from Oracle or other suppliers to add routine functionality such as discussion forums, chat etc?

    http://portalstudio.oracle.com/servlet/page?_pageid=2112&_dad=ops&_schema=OPSTUDIO&_mode=3
    This should provide you with a good start point

  • How many classes are there in the java kit?

    i figured this was the most "general" forum to post this question in. and im curious to know, how many packages/classes/functions are there in the java sdk? like, all the prebuilt ones. ive looked but cant seem to find any info on it. anybody happen to know?
    Thanks!

    there are at least 4142 classes in the 1.4.2.x distribution ...Is that the number of files which end in .java? There's bound to be a lot more
    classes, when you u consider inner classes and especially anonymous
    inner classes.It was just a rough estimation ... and I wrote 'at least' 4142 classes ...
    and I was wrong: there are alse 4 .h files in the src.zip file, so that makes 4138
    classes at least :-)
    kind regards,
    Jos

  • Are there more transitions in imovie 11

    are there more transitions in imovie 11

    I like to speak of iM-a and iM-b, vers≤6 and iM08/09/11 .. iM-b is from ground new, internally using a complete diff. technique to create titles, effects, transitions ...-
    and, yes, due to the new 'Trailers' and 'Themes' there are a few, handful of new transitions - but more doesn't automatically mean better. (compare to any Hollywood movie: cross-fades, fade to black and ...?)
    iM11 is great, for 14€ (at AppStore) worth every penny!

  • Goodnight. as you know apple has evolved considerably until today but there are people who do not have ability to buy new products. in my case I would like to know why the apple do not let the iphone 3g update to iOS 4.3 as are several applications that c

    goodnight. as you know apple has evolved considerably until today but there are people who do not have ability to buy new products. in my case I would like to know why the apple do not let the iphone 3g update to iOS 4.3 as are several applications that can not put on my iphone 3g due to this reason. Why does not Apple make a repository with applications for ios 4.2.1? or else do not work in an update to ios 4.3 on iphone 3g?

    This has nothing to do with Apple, as Apple does not make the apps.
    This is the decision of the app maker.
    Contact those app makers and ask them why they do this.

  • I installed Adobe Web and Design Preium CS6 on windows 8.1, but when I open the program the size of the menus and tools are so tiny. It is not like that for Acrobat, but all the other programs. Is there a fix for this?

    I installed Adobe Web and Design Preium CS6 on windows 8.1, but when I open the program the size of the menus and tools are so tiny. It is not like that for Acrobat, but all the other programs. Is there a fix for this?

    Thanks for the help. I installed CC and it fixed everything but Photoshop. I guess I will have to use my old laptop for images until Adobe fixes the problem. Do you know of a place where we can send issues like these to Adobe?

  • Are There Any Applications Like "Paint" on Windows?

    I'm a new Mac user and can't get used to the MacOSX layout.I installed an application from the downloads section last night for an application called paintbrush, because i need a basic Paint application to crop pictures etc.
    But it's useless. Are there any other applications that anyone can recommend that will do basic paint style duties??

    If all you want to do is crop pictures; do minor color, contrast, color temperature, & similar photo-oriented tasks, try iPhoto, which is already installed on your MacBook. You can also do more than you might think with Preview, another application included with every MacBook. Many of the features are not immediately obvious, so it is a good idea to browse through the help topics for each app to get an idea of what they can do.
    If you are willing to spend some cash on a more capable application, I recommend Adobe Photoshop Elements 6 for Mac, about $80 from Amazon.com & other outlets. This app is getting great reviews for its capabilities & ease of use, & got a "Best of Show" award at MacWorld 2008. I bought it recently & love it (unlike the old 2.0 version it replaced, which was fairly capable but burdened with such a lousy user interface that I rarely used it).

  • There is an inconsistency between the authentication mode of target web application and the source web application after migrating to claims

    I've had my farm upgraded from SP2010 to SP2013 for over 6 months now and all is well, however, I was refreshing my staging environment from production and I noticed that one of the databases still shows these errors when I run test-spcontentdatabase:
    Category             : Configuration
    Error             : False
    UpgradeBlocking : False
    Message           : The [SharePoint Web App] web application is configured with claims authentication mode however the content database you are trying to attach is intended to be used against
    a windows classic authentication mode.
    Remedy              : There is an inconsistency between the authentication mode of target web application and the source web application. Ensure that the authentication mode setting in upgraded web application is the
    same as what you had in previous SharePoint 2010 web application. Refer to the link "http://go.microsoft.com/fwlink/?LinkId=236865" for more information.
    This doesn't make sense considering I converted the production web application to claims during the upgrade and then verified all sites were working with claims logins. I also verified that existing AD user identities were converted to claims by checking out
    the database tables. Yet test-spcontentdatabase still thinks there is a mismatch here.
    My farm is SP1 and no further CUs. The point of this particular refresh is so I can update to the November CUs in my test farm. Anyone else see this? Seems like it's a bug/safe to ignore because my stuff is working.
    Thanks,
    Aaron

    See:
    http://thesharepointfarm.com/2014/11/test-spcontentdatabase-classic-to-claims-conversion/
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

Maybe you are looking for

  • Unable to open URL attachment from SBWP in CRM WEB UI

    Hello Gurus, Need your help please. I'm having some problem opening the URL attachment from SBWP via CRM 7 WEB UI (I used a Transaction Launcher for SBWP). The attachment is a Webdynpro application.  I am able to open the attachment in SAP GUI, but n

  • Why Json get function returns null in jsp page??

    Hi guys, i have developed a simple program that send HTTPrequest and get json as response. now i want to display this json to Treeview but i have able to get the valid json, i create a json object and setData(json). still its ok. but when i do json.g

  • No forms tool pallet

    Using Acrobat 6.0 Professional Says to build a form start with the forms tool which is in the Advanced Editing toolbar. Guess what? No forms tool. Any ideas? Thanks

  • A quicker way to backup - but one problem

    instaed of going via the backup option in itunes , i find it quicker to go into my folders and copy and paste my entire itunes folder from e drive onto an external drive, then copy and paste from the external drive onto a new computer, in say drive f

  • Looper at Redbox, not On Demand?

    So here's the ultimate fail from Verizon Fios- you can go rent Looper at Redbox- even in Blu Ray, but it's still not available as a rental in On Demand on FiOS!!! Way to go, Verizon! Sounds legit :-/