After stopping my web app, a significant amount of PermGen is not being released. The culprit seems to be the WebappClassLoader (in Tomcat, but it happens in Jetty too), which is kept in memory by references from a bunch of other objects. The following image shows that objects that refer to WebappClassLoader, and the things that refer to...
My Map activity crashes on launch. I have included all the permission and also tested on a new standalone map project where it worked perfectly well with the underlying code.
Rather when I incorporate the same code in my application, it crashes as soon as this activity is invoked. I have a project submission tomorrow morning, so please ...
I have a Python command-line script that can take some time to run (from 5 seconds to 5 minutes), depending on the checks it does. The script uses many command-line arguments, some mandatory, most optional.
I'd like to "webify" this script, making it possible to access it from a Web browser, but without changing the core python script, ...
I'm trying to simulate some data in to the datastore to emulate POSTs.
What I'm looking for is a way to post named arguments but as one argument. So I can use the same method as a normal POST would do.
The method I want to invoke get params in two ways.
def HandlePost(params):
params.get('name')
params.get_all('collection')
...
Hi Everyone,
I have a rails application that uses the FreeagentCentral API to create new projects in FreeagentCentral when a new case is created in my application.
Once the case has been created, I link to the created project in FreeagentCentral using the following link code:
<%= link_to "#{image_tag('/images/icons/freeagent.png')} F...
I have an html5 application that listens to all window.applicationCache events. When it needs to download, I write a pretty dialog to the screen, and during the progress event I calculate the percentage of files done by doing the right math on the event.loaded and event.total properties, in order to update the percentage with it.
The re...
I just installed Eclipse for Java EE developers, Created a New Project by checking out files through SVN from a repository.
I was able to successfully generate an "exploded" web app folder through an ANT build.
How do I deploy this exploded folder (not .war file) to Tomcat? Any configuration that needs to be done?
Thanks.
...
Hello,
This is a fairly straightforward question.
I have Users in my Rails3 Application. I want to give each user the ability to customize their stylesheet through a form so they can essentially have their own themes.
I was wondering how I can go about getting this to happen and what is the best way that you have seen it done?
Wou...
I would like to create a web page which would allow multiple users to work together on a page, Imagine a web based editor that allowed to users to change the documents as an example of this type of feature.
How would more experienced programmers go about implementing this as i really cant seem to formulate any way to even begin going ab...
There are tons of posts about installing webapps on the iOS (iPhone, iPad) though Safari, but none of them answers if it can be done though javascript or a html link with specific "rel".
The scenario is that I want to user browsing to the web site, to be able to simply click a huge install button in the middle of the screen, then iOS wo...
I'm trying to figure out how to set up JBoss 5.1.0 so that the classloader is parent last, which I have done before with WebSphere. Basically we have several war files that need to use Spring 3. We have put the spring jars in the JBoss lib, so that we don't have to have spring jars inside each and every war file. However, one of the web ...
I'm creating a Dashcode App that displays products that have won one or more awards.
The Data Source has a column/field for each award that the product may win (products may win multiple awards). The column has 'Y' if they won that award and is null if they didn't.
So I'm binding the column from the data source to an image object and ...
I have to create this process:
you have an arbitrary list of people
you have to set their working schedule in terms of 5-2 or 6-4 (workdays and free days)
you have to schedule it for several months ahead (usually 3 or 12)
schedule sequence repeats
schedule sequence starts on any day for any person - so first work day is not necessarily...
If i take a web application which is subject to GNU/GPL license and modify it in-house and then use it as a subscription fee business model, for eg. user pays for service and web content and not for the software itself, thus i am not distributing the software itself, is my custom version of the software be subject to the GNU/GPL terms of...
Hi there.
I am working on an application that gets text from a text file on a page.
Example link: http://test.com/textfile.txt
This text file contains the following text:
1 Milk Stuff1.rar
2 Milk Stuff2.rar
3 Milk Stuff2-1.rar
4 Union Stuff3.rar
What I am trying to do is as follows, to remove everything from each line, except for "w...
Say if I have multiple forms with multiple submit button in a single page, can I somehow make all of these buttons work using webapp as backend handler? If not, what are the alternatives?
...
I have the following code:
If Not Application("ServicesQueueActiveDict").Exists( nID ) Then
'we are good to process, this item is not Active....add it now
Application("ServicesQueueActiveDict").Add nID, Now
Else
'do whatever
The "ServicesQueueActiveDict is a caprock.dictionary.
I get the error referenced in this subject, "T...
Hi,
I am a Javascript developer.
I don't know anything about Python except that it is an Object Oriented interpreted language. So please suggest me that if I should learn Python? what it is exactly for? is it a replacement or closely related to javascript? And what is the future of python? etc.
Thanks
...
I am trying to develop a webapp in which multiple users can login to the system, a number of users (4-5) belong to a group. I wish to integrate SVN in this webapp so that all members of the group can have access to their workspace. The webserver is running IIS with php module and mySQL. I need to know how feasible is this and if it's pos...
For a mock web service I wrote a little Django app, that serves as a web API, which my android application queries. When I make requests tp the API, I am also able to hand over an offset and limit to only have the really necessary data transmitted. Anyway, I ran into the problem, that Django gives me different results for the same query ...