Shariquddin Mohammed

Greenhorn
+ Follow
since Oct 10, 2009
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 Shariquddin Mohammed

My suggestion is use the database, querry using a prepared statement , fetch chunks of "relevant" data in batches and then use a collections object on the App Layer.
12 years ago
I am not sure JMeter can scale up to a 1000 users, with out adding quite a few load generators. And if you add multiple load generating machines you will have some issues after you collect the metrics, if you have to make any sense out of them. You will have to time sync, etc.. It is do-able though.

You will have to slowly and constantly ramp up your load to 1000 concurrent users, observe the metics as the load is being ramped up and after you reach the peak load of 1000 users; You might also want to put a few steady state periods in between to make sure there is nothing bad happening at a lower user load.
12 years ago
Hi Andreas Erber,

Firstly a big thanks for showing interest and taking some time out to reply.

I tried your approach of changing the naming convention, it still does not work. Please let me know if you have any further ideas of where you might think i am going wrong.

Best,
I think the choice of load test tools depends upon the userload you want to generate and the kind of metrics you want to collect. For JVM monitoring VisualVM is pretty good. Also there are a number of command line arguments you can pass and collect the metrics at specific intervals.

Some of the good open source tools for web applications (http) currently available would be JMeter, Open STA (involves scripting) etc. You also have number of commercial choices available. Again this depends on the protocol you want to test, the user load and the kind of metrics you would want to collect.
12 years ago
Thanks for your interest, Raju.

Did as you said, but it is still not working.

I wonder why Hibernate is throwing a error when clearly the values are accessible thru the Pojo. Please let me know if i am missing some thing.
Added the code tags. Yes, it is much clearer now.
Added the code tags. Much clearer now
Since most of the technologies mentioned use the underlying JVM, you might want to start with monitoring the JVM. Also you might want to use some load testing tool to generate load, this exercise will allow you to gather more client side metrics.

Best,
12 years ago
Hi,

Am relatively new to Hibernate. However, i am stuck, please help.

Brief Background:

The application is to get information about different machines and store the info in the database.

One main class MachineDetails. Primary key is the IP address. Another child class "HardDiscDetails". There is a foreign key constraint from the main class to the child class.

MachineDetails.hbm.xml:

HardDiscDetails.hbm.xml


Pojo for MachineDetails

Pojo for HardDiscDetails

Servlet

When i run the client i get this exception:
01:47:52,890 ERROR [BasicPropertyAccessor] IllegalArgumentException in class: MachineDetails, getter method of property: NIC_IP
01:47:52,890 INFO [STDOUT] org.hibernate.PropertyAccessException: IllegalArgumentException occurred calling getter of MachineDetails.NIC_IP

I checked and i am getting this error at the step where i save the HardDiscDetails object.
Above i am saving the MachineDetails object (macdel) before i save the child object for HardDiscDetails (hadel). Also as you can see i am able to print out the values of the foreign key column using both the objects. And i when i querry the machine details table on the db(MYSQL) i see the data is saved. But i dont understaqnd why i am not able to persist the child object to the database.

Any help would be greatly appriciated.