Win a copy of Terraform in Action this week in the Cloud forum!

srinivas Doni

Greenhorn
+ Follow
since Jun 02, 2011
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 srinivas Doni


Hi All,

I am new bee to hibernate ; and tried a sample to connect oracle 10g; and got following error

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:@127.0.0.1:1521:XE.

I add ojdbc14.jar in classpath.. Even though i am getting above error. I am unable to find this error.



complete error msg:



If any one knows , can help me to resolve this error.


from
sreeni
Hi All,

Thanks inadvance. I am facing an issue in javascript i.e.,
I am creating textarea and button dynamically. I need functionality like when i click button ,it has to invoke an onclick event by passing textarea id as parameter dynamically.


how to create an event attaching function with parameters dynamically in javascript ?

Hi Jaikiran Pai,

thanks for replying.I tried one sample (accessing ejb MDb frm web application), but when i deploy both ejb mdb and web application in jboss, i am getting following problem
org.jboss.deployers.spi.DeploymentException: Required config property RequiredConfigPropertyMetaData@103679f[name=destination descriptions=[DescriptionMetaData@f7e9dd[language=en]]] for messagingType 'javax.jms.MessageListener' not found in activation config [] ra=jboss.jca:service=RARDeployment,name='jms-ra.rar'


help me to do ejb mdb with web application.


thanks inadvance


with regards
srini


10 years ago
Hi All,

I am very new to JBoss, Jboss messaging, EJB and JMS concepts.

--- Is it required to integrate jboss messaging with jboss to do sample jms application or EJB MDB applications ?
--- if required, how to integrate jboss messaging with jboss?
-- what version of jboss messaging needed for jboss 5.0?


Actually I want to do jms and ejb mdb applications.
If any body knows, can help me to do jms and ejb message driven bean applications.



Thanks in advance


with regards
srini



10 years ago
Hi frnds,

I am getting error, when i write logger.
"The method getLogger(Class<SimpleProducer>) is undefined for the type LoggerFactory".
I am using following jars
>slf4j-api1.4.2
>slf4j-log4j12.1.4.2
>log4j-1.2.15

help me to fix this error



with regards,
srini
kunalkumar somani,

i put in message properties files in src folder and i copied these files in /web-inf/build/classes folder.

when i deploy project in tomcat server, again i am getting same error messge not found .
Actually problem is the request url
http://localhost:8080/SpringMVC/userForm.htm

when i append query string ?language=en_US to above url , then only it is working.
// userForm.jsp



//web.xml


// dispatch servlet.xml


Even i am sending form with method=get,
it does not append query string automatically, help me to resolve this error.

Thanks in advance
With Regards,
srini



10 years ago
Hi Sagar Rohankar,

even i put in src folder, it raises same error.


can you help me step by step process for to find message properties file



Thanks in advance

With Regards,
srini
10 years ago
Hi to all,


I am getting error
ResourceBundle [/WEB-INF/messageresource/welcome] not found for MessageSource: Can't find bundle for base name /WEB-INF/messageresource/welcome, locale en. Even though i put in source path, it is not recognizing the messageresource in spring.

if any one knows, help me to fix this error.


Thanks inadvance,

With Regards,
srini


10 years ago
Hi Nilesh Sahni,


Thanks for helping me to fix this error.







Thanks & Regards,
srini
10 years ago
Hi to all,


I am getting error

java.lang.ClassNotFoundException: org.test.HelloWorldTest

while i am
generating a junit report with ant script. but, junit test cases are being executed successfully when i run independently(not with ant script).

I have written ant script like this,


if any one is familiar about junit report with ant, can help to solve this problem


With Regards,
srini
10 years ago
Hi prasad,

Thanks for responding. problem resolved. previously i added jar files in classpath. i moved those files into web-inf/lib.





With Regards,
srini



10 years ago
hi to all,

I have written simple spring mvc example. I am getting error
"java.lang.ClassNotFoundException: org.springframework.web.servlet.DispatcherServlet" in console,when web.xml is loaded in tomcat.
i am using eclipse3.6,spring 3.0,tomcat6.0
if anybody is having an idea to resolve this problem, help me to solve this problem.


Thanks in advance


With Regards,
srini
10 years ago
Hi to all,


i am using eclipse 3.60 helio version. what version plugins and features and what jars i have to add for to get
hibernate.

because i am getting following error,when i add hibernate tools 3.2 plugins and features and hibernate-search.final 3.4.0 ga jars ,

java.lang.UnsupportedClassVersionError: Bad version number in .class file



if anyone knows, help me to resolve this.

Thanks inadvance.

With regards,
srini
Hi to all,



I am very very new to webservice. i need to work on following,

-- how to connect to webservices from rmi using soap
-- and from webservices to database by hibernate.




If any one knows, can give me an idea to work with that.



Thanks & regards,
srini
10 years ago
Hi to all,

I am getting following exception while establishing connection to hibernate.
Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.Logger.isTraceEnabled()Z.

I am using Eclipse3.6 and database is mysql 5.0. with following jars

--ant nlr 3.0jar
--commons-collection 3.1 jar
--slf4j-api-1.3.1.jar
-- slf4j-jdk-1.3.1.jar
-- hibernate-core.jar
-- mysql-connector-bin-5.0.8.jar
-- javassit 3.3 ga.jar
-- dom4j-full.jar


help me to reslove this error, if anyone is familar with this error

with regards,
srini