Mark Kafe

Ranch Hand
+ Follow
since Jun 23, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Mark Kafe

Hi Junilu,
Thanks for you reply, actually i upgrade WebsphareRAD6 to RAD7 and WebSphere Server6.0 to WebSphere Server 6.1, i not changed any lib, spring and all other libs are same i not change any lib, aopalliance.jar,cglib-full-2.0.2.jar,hibernate2.jar these libs i used. i not understand wht is the problem.
12 years ago
I faced this problem from last some days, unable to resolved this issue, please help me guys.............

[Servlet Error]-[]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'offerController' defined in ServletContext resource : Cannot resolve reference to bean 'txProxyOnOfferManager' while setting bean property 'offerBusinessManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txProxyOnOfferManager' defined in ServletContext resource : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txProxyOnOfferManager' defined in ServletContext resource : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:130)
at org.springframework.aop.framework.ProxyConfig.<init>(ProxyConfig.java:72)
at org.springframework.transaction.interceptor.TransactionProxyFactoryBean.<init>(TransactionProxyFactoryBean.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:171)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
12 years ago
I faced this problem from last some days, unable to resolved this issue, please help me guys.............

[Servlet Error]-[]: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'offerController' defined in ServletContext resource : Cannot resolve reference to bean 'txProxyOnOfferManager' while setting bean property 'offerBusinessManager'; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txProxyOnOfferManager' defined in ServletContext resource : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'txProxyOnOfferManager' defined in ServletContext resource : Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.springframework.transaction.interceptor.TransactionProxyFactoryBean]: Constructor threw exception; nested exception is java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
java.lang.NoClassDefFoundError: org.springframework.aop.framework.DefaultAopProxyFactory (initialization failure)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:130)
at org.springframework.aop.framework.ProxyConfig.<init>(ProxyConfig.java:72)
at org.springframework.transaction.interceptor.TransactionProxyFactoryBean.<init>(TransactionProxyFactoryBean.java:113)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:67)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:521)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:171)
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:148)
12 years ago
i used the below code export to Excel, its working fine, but when i set the visible property to true ..Ms Excel crashed.......I don't know what happened.



On the visible property line Excel crashed but this error not very common....
Any one can help me about this.
Hi ALL

I canceled my OCJP exam due to no date available after 31 May 2011. Now i have no idea how can i get my refund, because when i canceled my exam i recived canceled confirmation mail, but no refund payment on my credit cards.
Any one now the process the of refund???


13 years ago
I want to open a new pages using windows.open() with post method.any one have idea about this please help me.
Hi,
I want to do authentication based on the windows user accounts for my web
application. When user access web application automatically authenticate by their windows account.

my application in JSP.

This is possible...............? any idea about this.................?



advance Thanks
14 years ago
JSP
Hi every one.


i have a problem in JSF DropDown. i use <h:selectOneMenu > in my jsp pages and the list i gives this dropdown type is SelectedItem type......

here ny JSp code



this dropdown fill when i change his parent DropDown.

its working fine. but when i go to save this page then this errors occur save action not called. i not use validations its JSF errror.

Here the error log

Aug 24, 2009 11:11:11 AM com.sun.faces.lifecycle.RenderResponsePhase execute
INFO: WARNING: FacesMessage(s) have been enqueued, but may not have been displayed.
sourceId=j_id52:txtascedNarow[severity=(ERROR 2), summary=(j_id52:txtascedNarow: Validation Error: Value is not valid), detail=(j_id52:txtascedNarow: Validation Error: Value is not valid)]


Any one help me on this issue..............
15 years ago
JSF
I want to edit a page, and use a same Manage Bean that i use for Save a page.

But when i define Manage bean scope request in Face con-fig then all values show null on Edit Grids...........If i change it to Session scope then its working fine..........


can any body help me about that problem........why this happen in Request scope???
15 years ago
JSF
Emanuel Kadziela

In People tables Fk of people_title tables......and i define it simple in People class and people HBM not define any relations ships.

can we do this with out relationships?

or i define many to one relation ships.........
@Rahul Babbar ...
Here the HBMs

People


and People Title


I use Hibernate Query with outer joins but its created errors the query here.......



there errors track here

java.lang.RuntimeException: org.hibernate.hql.ast.QuerySyntaxException: Path expected for join! [select P.peopleId,P.firstName,P.surname,P.position,Ptt.title from com.itcentrix.altcp.People.People as P LEFT OUTER JOIN PplTitle as Ptt]
at com.itcentrix.altcp.common.AbstractDao.handleException(AbstractDao.java:239)
at com.itcentrix.altcp.common.AbstractDao.findByQuery(AbstractDao.java:186)
at com.itcentrix.altcp.common.DSController.main(DSController.java:53)
Caused by: org.hibernate.hql.ast.QuerySyntaxException: Path expected for join! [select P.peopleId,P.firstName,P.surname,P.position,Ptt.title from com.itcentrix.altcp.People.People as P LEFT OUTER JOIN PplTitle as Ptt]
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:31)
at org.hibernate.hql.ast.QuerySyntaxException.convert(QuerySyntaxException.java:24)
at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59)
at org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:235)
at org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
at org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:56)
at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at com.itcentrix.altcp.common.AbstractDao.findByQuery(AbstractDao.java:183)
... 1 more


hmm...ok

But if i not close session.........then it have any Disadvantage for sessions remaining open???
Here the code

try {


instance = new AppUser();
instance = (AppUser) getSession().get(
"com.itcentrix.altcp.Security.AppUser", id);
AppUser appUser = new AppUser();
instance = appUser.lazyInitialize(instance);

} catch (RuntimeException re) {
log.error("get failed", re);
throw re;
}
finally
{
getSession().flush();
// getSession().close();
// HibernateSessionFactory.closeSession();
}
return instance;




if i close session in finally block then this errors occur if i not close session then it working fine................