raghav prakasam

Greenhorn
+ Follow
since Jun 29, 2009
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 raghav prakasam

Hi,

Below is the Error which am facing while starting up the server(JBoss) while spring container is trying to create a bean.

Error:

org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'workspaceLabelProvider' defined in ServletContext resource [/WEB-INF/classes/applicationContext.xml]: Initialization of bean failed; nested exception is org.springframework.aop.framework.AopConfigException: Cannot proxy target class because CGLIB2 is not available. Add CGLIB to the class path or specify proxy interfaces.

Below is my applicationContext.xml entry for the bean 'workspaceLabelProvider'



Actually the code is properly working in Weblogic but its not in Jboss 6.0.Even i have included cglib2.2 and cglib-nodep2.2 jars in the project's lib folder.

As well I have tried with the below entries in the context xml too:



Please anyone try to provide me a possible workarounds.
10 years ago
Below is the Class:




And during an ANT build, showing the below error:

[javac] C:\workspace\XXX\xxx\xxx\xxx\xxx\xxx\xxx\xxx\CustomDateMapper.java:13: cannot find symbol
[javac] symbol : class ISO8601DateFormat
[javac] location: package org.codehaus.jackson.map.util
[javac] setDateFormat(new org.codehaus.jackson.map.util.ISO8601DateFormat());

[javac] C:\workspace\xxx\xxx\xxx\xxx\xxx\xxx\xxx\xxx\CustomDateMapper.java:6: cannot find symbol
[javac] symbol : class ISO8601DateFormat
[javac] location: package org.codehaus.jackson.map.util
[javac] import org.codehaus.jackson.map.util.ISO8601DateFormat;


It is showing both places including import.Instead if i modify my code pointing log4j's class as shown below, build is happening:

setDateFormat(new org.apache.log4j.helpers.ISO8601DateFormat());
10 years ago
I have a class "ISO8601DateFormat" which is present in 2 different jars of (1)."jackson-mapper-asl-1.9.12.jar" and (2)."log4j-1.2.15.jar". It compiles fine since i have added both the jars in the build path of eclipse.But during runtime it couldn't recognize exact class from the (1) jar instead same class is loaded with different package name from (2) jar.

Please gimme a way of loading this class from (1) jar and ignoring the same from (2) jar.Please let me know if you have idea of doing this in manifest file instead of dynamic class loading since i dont want to touch my code.

Thanks in advance and expecting right solution soon folks!
10 years ago
Hi All,


I just want to compare two dates using a class level custom validation.
Please can anybody help me writing a class level custom constraint using HibernateValidator 3.1.0 GA.jar.

I have tried the below link but it doesnt works for me.


http://stackoverflow.com/questions/1972933/cross-f...th-hibernate-validator-jsr-303
Hi All,


I just want to compare two dates using a class level custom validation.
Please can anybody help me writing a class level custom constraint using HibernateValidator 3.1.0 GA.jar.

I have tried the below link but it doesnt works for me.


http://stackoverflow.com/questions/1972933/cross-field-validation-with-hibernate-validator-jsr-303

Hi,

What are all the basic steps ,We need to take to get Google Secure Data Connector?

As am new to linux and GAE environment too,Can any body explain me to connect my DB which is out of GAE.?
Am using postgreSQL.

Thanks,
Raghav.Prakasam
Hi jay,

Using Struts:

I cant get logs in any manner and also i tried for setting an attribute in HttpServletRequest,But i cannot get the same attribute using request.getAttribute().

Without Struts:

I can get my application logs and also able to set and get Attributes in HttpServletRequest object.

Whats the Solution for this Jay?
Hi Jay,

Its Working Fine With out Struts.I can see the log entries in my system console while deploying in my local .Also I can see the same logs in google apps account under the logs link while deploying in Live .

Let me try again using struts.

Thanks,
Raghav
I will try making a new application without struts and check.Thank you very much for your Suggestions Jay.

-
Raghav

Iam using Struts FrameWork.Is it not working because of Struts?


in my logging.properties file i mentioned like

# Set the default logging level for all loggers to WARNING
.level = WARNING
com.web.struts.StrutsAction.level=INFO

Hi,

I dont get the log in my console of eclipse..just it shows the lines below:


datanucleusenhance:
[enhance] DataNucleus Enhancer (version 1.1.0) : Enhancement of classes
[enhance] DataNucleus Enhancer completed with success for 0 classes. Timings : input=141 ms, enhance=0 ms, total=141 ms. Consult the log for full details
[enhance] DataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details
runserver:
[java] The server is running at http://localhost:8080/


I already configured as you said.Still pointing logging.properties in WEB-INF/classes.


Hi,

Which Logger have you used? Log4j or java.util.Logger?.Because i configured with both of this ,But i could'n get my logs either in console or the log file both in local and Live.

Thanks,
Raghav.

Jay Damon wrote:I am successfully logging with GAE. See: Logging

To view the log, you have to go to the admin console See: Admin Console Select Main >> Logs.

Be sure you have a logging.properties file in the location you specified in the appengine-web.xml file. The entries in this file determine what is logged. See: logging.properties example



Hi,

Thankyou for your reply.I dont have any Google Apps domain name..the sub-domain name which i have is
http://anctdb.appspot.com/.

Its under appspot.com.Does it means cant i access the logs?.How can i get the loggings at local deployment?

Thanks,
Raghav
Hi,

I configured logging events for java.util.logging.Logger,as stated in GAE docs.But still i cant see my logs anywhere.
Any body got all your log Entries?Or shall i go for Log4j?

Thanks,
Raghav
Hi sam,

Its working fine.But i amazed why i have faced the similar problem earlier.
14 years ago