Bushra Binte

Ranch Hand
+ Follow
since Nov 07, 2006
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Bushra Binte

Hi,Iam using jboss5.1.1 EAP(Previously,both the applications where running fine in tomcat5.0.28) and tried to deploy 2 applications app1 and app2.When i access app2 with url http://localhost:8080/app2/public/login.jsf, context path aap2 changes to app1 as in http://localhost:8080/aap1/public/login.jsf and the default login page loads.
Also when i undeploy app1 and try to access app2 ,after multiple submissions the request able to login and get to home page of app2.
Any idea why the context path is changing and why i need to submit request multiple times?

12 years ago
The problem is resolved as it was caused by limited memory available on the machine and i was trying to allocate more than that.
set the java_opts to -XMs512m -Xmx512m
Thanks for the help.
12 years ago
tried using jconsole to view the heap size:here are the readings:

  • Current heap size: 15,759 kbytes
    Maximum heap size: 253,440 kbytes
    Committed memory: 38,384 kbytes

    Free physical memory: 1,339,280 kbytes
    Total swap space: 3,490,836 kbytes
    Free swap space: 1,842,948 kbytes

  • And, when jboss boots up java_opts shows up as "-Xms1024m -Xmx1024m"
    This time i started jboss with default configuration as in >run.bat
    When i type in the url: http://localhost:8080/
    i get the home page of jboss,On click of 'jmx-console' link,login page loads.On submission of page with credentials,gets "page cannot be displayed" in browser and on jboss console,gets out of memeory error.Below is the stack trace:

    12 years ago
    Hi,
    M trying to start jboss.The version i am using is jboss-eap-5.1.
    OS:win XP
    Mem:1.99GB
    Hard Disk: 8GB
    JVM:jdk1.6.0_25
    java_opts:-Xms1024m -Xmx1024m

    When i run run.bat,with -c production -b 0.0.0.0, i get the jboss home page,When i click on admin-console link,login page loads.
    On submit with credentials ,gets the "page cannot be displayed" on the browser and following error on the console.

    Error:
    " There is insufficient memory for the Java Runtime Environment to continue.
    Native memory allocation (malloc) failed to allocate 32756 bytes for ChunkPool
    :allocatePress any key to continue . . ."

    Also noticed that system becomes very slow,max cpu utilization 80-90%
    Any idea why it is happening..
    12 years ago
    It did help to an extent.Thanks Jaun for direction.
    13 years ago
    Thanks Jaun.

    I was thinking ,suppose i ask a list of questions or some information from business and based on their answers, to some extent recommend, hey your application should undergo full scan, quick scan ,standard scan,complaince scan..something of that sought

    Do we have a guidelines that lead to that level of conclusion.(though the conclusion is not a perfect recommendation ..but yeah to some extent ..i can direct)
    13 years ago
    hi All,

    First of all congrats to all winners!

    Thanks for OWASP for conducting such an activity at coderanch.Looking forward to more such events from you guys .
    13 years ago
    Are there any guidelines OWASP or for that matter any other regulatory board specifies that lets a tester to understand what kind of testing should be performed either quick scan,full scan
    13 years ago
    Hi, welcome to coderanch!
    Does OWASP have guidelines for Application Security Architect role.By App Sec Architect ,i mean ,to make the Enterprise Architecture of an IT system of an organization secure.Thanks
    13 years ago
    hi,
    We have requirement where in we need to make a connection from javascript and get the response in html format.This response when gets loaded redirect the form(form which we received as response) to another url internally.It is a cross domain call.also the page should not refresh.Could someone suggest how to proceed.
    Thanks
    could you let me know abt how to get started using jQuery,like the download and api
    thanks Bear.I have started :
    able to send request from jsp to jsp.As my project uses struts framework,i would want to send request to an action class and get response back to jsp from where it is invoked .
    2.I have set the response in request scope but not able to to see data in table in jsp.(i dont want to use xml response).
    Hi,here is the requierement:Initally when the page loads, a dropdown with list of values and a table with data is displayed.Onchange in the value in dropdown,the table should be reloaded (the page should not reload) with the result from the database,any idea how to move?
    her it is

    14 years ago
    Hi,While trying to connect to databse using toplink provided by OC4J.This is how we acquire server session before acquiring client session.

    from LoginDAO.java
    we create a Server object using below code in the constructor:


    and in the ParentDAO.java class we invoke the below code to call.

    ParentDAO.java



    Below is the error message:



    14 years ago