Ravi Challapalli

Greenhorn
+ Follow
since Jun 02, 2009
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 Ravi Challapalli

Can someone tell me how to access user defined variable inside an attached file of the Http Sampler?

What I did: created an Http req. sampler; method POST; created a variable myvar which is a JMeter 'Random Variable'.

Problem: When I refer ${myvar} to populate an Http header it works but when I use it inside the file I am sending as the POST body it is not replaced but sent as it is ${myvar}.

Please help!

Thanks in advance!!
12 years ago
Hi,
I am trying to connect to a remote application hosted on Solaris Sparc server - SunOne Appserver 8.x. I had done all the necessary configurations. The default profiler port 5140 is not accessible on the remote server so replaced it with an accessible port in the domain.xml configuration. Now I could not find where in the NetBeans profiler configuration I can specify the new port for the profiler to connect to my remote application.

Can somebody advise on how to do this please?

Thanks in advance.
-crs
14 years ago
Until the server tries to respond back the server would not know that the browser has killed the HTTP channel, so it completes its huge data retrieval and when it tries to respond it finds the HTTP channel closed - won’t be able to respond - throws an exception.
14 years ago
JSP
Check the servlet compiled out of the JSP page.
You will see these variables are declared inside the _jspService(container specific name) method which is generated by the jspc.
The jspc will generate the create/initialization code for these variables.

These variables are created inside the _jspService(container specific name) and local to this method. Where as the JSP declaration part goes out of this method, so these variables are not accessible.

Looking at a generated servlet would give you more detialed info.
14 years ago
JSP
Hi,
I am encoutering the following exception:
java.sql.SQLException: Closed Connection: next

My code calls a Oracle stored procedure which returns a cursor back with the results of some queries. The procedure also does some inserts in to audit tables which are commited by the App Server Transaction container as part of the EJB. The retrieved cursor is processed in the EJB which takes quite some time before the JDBC statement object is closed and the container commits the transaction.

Below is the stack trace of the exception:

java.sql.SQLException: Closed Connection: next
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:134)
at oracle.jdbc.dbaccess.DBError.throwSqlException(DBE rror.java:179)
at oracle.jdbc.dbaccess.DBError.check_error(DBError.j ava:1130)
at oracle.jdbc.driver.OracleResultSetImpl.next(Oracle ResultSetImpl.java:218)
at com.syntegra.nasp.etpadmin.db.DBAccessor.selectRec ords(DBAccessor.java:142)
at com.syntegra.nasp.etpadmin.extract.MainClass.extra ctRecords(MainClass.java:67)
at com.syntegra.nasp.etpadmin.service.ETPAdminBean.ex tractRecords(ETPAdminBean.java:408)
at sun.reflect.GeneratedMethodAccessor68.invoke(Unkno wn Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.enterprise.security.SecurityUtil.invoke(Se curityUtil.java:147)
at com.sun.ejb.containers.EJBLocalObjectInvocationHan dler.invoke(EJBLocalObjectInvocationHandler.java:1 28)
at $Proxy9.extractRecords(Unknown Source)