trinity

Greenhorn
+ Follow
since Oct 15, 2005
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 trinity

Hi,
These classes could help you. Searching the net for few minutes, you can end up creating a beautiful architecture.

com.oreilly.servlet.multipart.MultipartParser
com.oreilly.servlet.multipart.ParamPart
com.oreilly.servlet.multipart.FilePart

It is not very hard to implement your requirement.

regards,
Trinity
17 years ago
For oracle 10g and if you are using jdk1.4 or higher use ojdbc14.jar. Download ojdbc14.jar from oracle website.

Place it inthe jboss/default/lib directory.

Connection conn = null;
Context ic =null;
DataSource ds=null;
// To be used in JBoss Server
try{
ic = new InitialContext();

ds=(DataSource)ic.lookup("java:/OracleDS");
System.out.println(ds.toString());
//System.out.println(ds.);
conn = ds.getConnection();
}
catch(Exception ere)
{
ere.printStackTrace();
}

OraceDS is the JNDI name give inghe Oracle-ds.xml file

If your problem is not fixed, let me help you.

Trinity
17 years ago
Hello friends,

1.what is the minimum number of connections we need to create for a 1000 member instance access website.

We are using jboss 2.4.5 as the application server and sql server as the db.
***************************************************

2.Also we did a Connection testing setting the max connection in the ms-sqlds.xml of jboss file as 1. while doing so we found for a query that runs for around 40 seconds, and if some one tries to access the 1 connection instance of Jboss while the 40seconds q1uery is executing, we get a No Managed connection.

Any one who is interested please reply.

if you cannot understand my words please write to me, i can rephrase it for you.

regards,
Trinity
Hi Marco Vanoli,
The request parameters that you can access in the first action, can be got in the second action. Even you can get it in any nth action. This is how We have worked.

Hope this solves your question.

regards,
Trinity
18 years ago