vijay prakash

Greenhorn
+ Follow
since Aug 23, 2005
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by vijay prakash

Hi,
i am facing problems with deploying EAR files on server startup.I have a EAR with 10 ejb's in it and they are deployed perfectly. Now i add up one more ejb into the EAR and update the application.xml and server specific descriptors.If i restart the server it only loads the old configuration but fails to parse the descriptor for new config and update the server config file.So the deployment on the whole EAR fails.
Suggest a way so that the EAR file is auto - redeployed on Server start up each time.
I am working with WLS 8.1 SP4.

PS: If manually re-deployed it works fine.

Thanks,
Vijay.
18 years ago
Hi,
I have a method that runs for about 2 mins.It runs within a JTA. Since my Java tx timeout is 120 secs, it always times out.i need a way to run this module outside the transaction.The method does not access the DB at all.
Kindly suggest solutions.

thanks,
Vijay
Does time consumed for garbage collection add to the Transaction time(JTA) of a Weblogic Tx.
I have a logic that needs to completed in 120 secs but has no DB access.It times out for JTA.So i wanted to know if GC cycles have any effect on JTA time..?

Thanks,
Vijay.
18 years ago
Hi,
What will be the max number of choices to choose from for a question in SCJP 5.0.In some Mock exams i saw upto 7 choices for many questions.
Kindly clarify.

Thanks,
Vijay.
Hello,
I have configured a JTA Transcation time out in the weblogic server for a workflow Process application(JPD) to 120 seconds.
In the process there is a call to a stateless bean which takes more than 120 seconds to complete.As a result the process is timing out and aborting.
I need to override the 120 second JTA timeout in this bean.
I also tried out using the <trans-timeout-seconds> attribute as 300 in weblogic-ejb-jar along with <trans-attribute> as RequiresNew in ejb-jar, but it did not work out.
Please Advice.

Thanks,
Vijay
hi Mathi,
The first one will fail for an arrayindexoutofbounds exception as
a3[2][2][2] will cause it.
array a2 is a 2x1 object and [2] refers to third array object and it fails.

The second is perfectly correct as it refers to [2][1][0].
if u change it to [2][2][2] it will fail with the same exception.

Thanks,
Vijay
Hi Ranga,
If u have packaged the webapplication into a war file.
Go to the admin console of wls
http://localhost:<port>/console
Login and u ll find a title Web applications below deployments.
Click on it and u can upload the war or browse and select the war.
Give a unique deployment name and click deploy.
Job done..!

Vijay.
18 years ago
Hi,
I am trying to use the expored ant script from wls workshop for building the process application.But i am using IBM JDK 1.4.2.
They have disintegrated the rt.jar by SUN into a number of other jar files.When i use the ant script i have a problem like,

classpath error:unable to find required rt.jar


error and the build fails with noClassDefFoundError rg.apache/crimson/tree/XmlDocument
I tried adding rt.jar into the classpath forcibly but it not work out.
Do we have a fix for this either by bea or IBM?

Thanks,
Vijay
18 years ago
i get a noClassDefFoundError for org/apache/crimson/tree/XmlDocument
when building a EAR file using ant.It expects rt.jar under JAVA_HOME.But in IBM JDK it has been disintegrated.Can u help me with the jar file that has this classfile so that i can put it in the classpath explicitly...

Thanks,
Vijay
18 years ago
Frank,
I tried out what u suggested.
I added <jms-client-id>Myid</jms-client-id> in my deployment descriptor.
I made my own topic connection fatory and in the connection used the setClientID("Myid") but still the issue persists.
I m working with weblogic 8.1(sp4).
In the EJB monitoring i could see many active JMS connections for the MDB in the instances.Does this have anything to do with the issue..? or is it the MDB pool information..

Thanks,
Vijay.
18 years ago
Need information on how Clustered JMS works.
Say i have a MDB listening to a topic that is a distributed destination(Clustered on 'n' instances)and i deploy the MDB on all the instances of the cluster.
If i happen to post a message to the topic then i recieve the message on all the MDB's atleast twice the no of instance times.
Why does this happen?Though they are all the same MDBs they all recieve the same message...!

Vijay.
18 years ago