pandu ranga

Greenhorn
+ Follow
since Oct 22, 2007
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 pandu ranga

Hi

I am getting weblogic.connector.exception.RAOutboundException while trying to deploy the inventoy.ear in weblogic server.Please let me know if you have any inputs on how to resolve this.


Regards
Pandu
14 years ago
I am getting the session replication failure while running an application.Is there any way of solving this issue? The session state is not replicated in secondary server.
15 years ago
I have the option suggested but still its not working though the build.xml is in same folder as that of the .sql files.Is there any other approach?
15 years ago
Hi all,

I have created an ant command for running .sql file.But that sql inturn refers to some other file say a.sql through @a.sql.When the first sql is being run through ant it is able to be read, but the error is thrown while reading a.sql file through it.Can we do the reference to other sql files while running .sql file through ant?

Please suggest the solution.


Regards
Pandu
15 years ago
I am using kodo(JDO) for generation of query in our project.How can I simulate the java code to generate the exists clause in my sql query? Please throw some light on this.
I am using kodo(JDO) for generation of query in our project.How can I simulate the java code to generate the exists clause in my sql query? Please throw some light on this.
15 years ago
Thats fine but why adding the records in batches adds to performance? Any particular reason for this??
16 years ago
Hi

the scenario is i have a big xml file which is having millions of data.I have parsed it and got the elements of it.Now i want to insert the data in the data base.What is the best thing i can do from following and reason for doing so?

1) insert data one by one
2) insert data in batches
3) insert data all at once.

thanks in advance.
16 years ago
I have piece of code

Thread myThread= new Thread();
myThread.run();


why should be invoke start method before invoking run ? Any reason for this?
Hi all,

I am trying to deploy the ejb in jboss server.The following is the error while i am getting

Warning: The Bean Provider must specify the fully-qualified name of the Java class that implements the enterprise bean's business methods in the <ejb-class> element.
Info : Class not found on 'tutorial.ejb.FiboBean': No ClassLoaders found for: tutorial.ejb.FiboBean

can some body help me resolving this please

i am posting the complete ejb-jar.xml for the reference


<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

<ejb-jar >

<description><![CDATA[No Description.]]></description>
<display-name>Generated by XDoclet</display-name>

<enterprise-beans>

<!-- Session Beans -->
<session >
<description><![CDATA[Description for Fibo]]></description>
<display-name>FiboBean</display-name>

<ejb-name>Fibo</ejb-name>

<home>tutorial.interfaces.FiboHome</home>
<remote>tutorial.interfaces.Fibo</remote>
<ejb-class>tutorial.ejb.FiboBean</ejb-class>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>

</session>

<!--
To add session beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called session-beans.xml that contains
the <session></session> markup for those beans.
-->

<!-- Entity Beans -->
<!--
To add entity beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called entity-beans.xml that contains
the <entity></entity> markup for those beans.
-->

<!-- Message Driven Beans -->
<!--
To add message driven beans that you have deployment descriptor info for, add
a file to your XDoclet merge directory called message-driven-beans.xml that contains
the <message-driven></message-driven> markup for those beans.
-->

</enterprise-beans>

<!-- Relationships -->

<!-- Assembly Descriptor -->
<!--
To specify your own assembly descriptor info here, add a file to your
XDoclet merge directory called assembly-descriptor.xml that contains
the <assembly-descriptor></assembly-descriptor> markup.
-->

<assembly-descriptor >
<!--
To specify additional security-role elements, add a file in the merge
directory called ejb-security-roles.xml that contains them.
-->

<!-- method permissions -->
<!--
To specify additional method-permission elements, add a file in the merge
directory called ejb-method-permissions.ent that contains them.
-->

<!-- transactions -->
<!--
To specify additional container-transaction elements, add a file in the merge
directory called ejb-container-transactions.ent that contains them.
-->

<!-- finder transactions -->

<!-- message destinations -->
<!--
To specify additional message-destination elements, add a file in the merge
directory called ejb-message-destinations.ent that contains them.
-->

<!-- exclude list -->
<!--
To specify an exclude-list element, add a file in the merge directory
called ejb-exclude-list.xml that contains it.
-->
</assembly-descriptor>

</ejb-jar>


thanks in advance

pandu
16 years ago
Hi

I am trying to set the name of the text field dynamically using jsp and retrieve the same in javascript by using the getElementById function.But I am not able to get the values in the javascript.Here is the sample code which is written .Please help me in resolving the issue.

<%
for (int i=0;i< testArray.length;i++)
{
%>
<input type="text" name="pad"<%=i%> value="<%=testArray[i] %>" id="pad"<%=i%> >
<% } %>


I am setting the values in form element as in above but not able to access the same variable using getElementById function where testAtrray is some dummy array.

Regards
Pandu
16 years ago
JSP
HI

Thanks for the inputs.Yup I started working now.There are two solutions to this problem.

1) change the port number of jboss to some other number
2) by using command netstat -nao|find "8080" find the process id for the port 8080 and use the tskill "processid" for killing the process

Pandu
HI

I have tried changing the port number to some other number.But can you please let me know where do I need to change the port number for jboss

pandu
hi

i found that there was some port 0.0.0.8080 which is in listening mode through netn command when jboss is started.how i can i disable this port.

thanks

pandu
HI

Thanks for the reply. I have checked the command prompt by giving the netstat -na but I couldnt find 8080.Also I made sure that I shut down the previous instance of JBOSS.Is there any other way to resolve this

Pandu