Shruthi Babu

Ranch Hand
+ Follow
since May 04, 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 Shruthi Babu

My xml instance can have something like

<p:TestOperation xsi-type='p:TestOperation1'>
</p:TestOperation>

or

<TestOperation xsi-type='TestOperation1'>
<TestOperation>

How do I get the value of xsi-
type in xsl with and without namespace.

Please help me in this regard.

Tried <xsl:if test="@xsi:type='TestOperation' or @xsi:type='p:TestOperation'> but p is taken as an harcoded value

Any help is highly appreciated .

Thanks

">
We get the following error

WSWS3029W: Warning: The xml construct named Test cannot be mapped to a java type. The construct will be mapped to javax.xml.soap.SOAPElement.

Guess it is because of using xsd:choice and using JAX-RPC to generate the java code .

How to resolve this issue?
15 years ago
I have a queue whose max depth is 1000 . I have more than 1000 messages in a single transaction . How to handle this scenario?

How to do a multiple commit ?

Any help is highly appreciated
I have a scenario where in I neesd to commit a chunk of messages to the queue.

Foe eg a user might send a request for 10000 transactions .. but i need to send in chunks of 2000 as we have some restrictions issue on the queue.

My question is how to best handle the scenario what if between the transaction fails. How should i handle that?

thanks
Thanks for your suggestion.

How do I do such a check in RAD? to see which jar is loaded. Where should I set this option?
I get the following error in RAD

I have the following in my class path

cglib-2.1.3.jar
asm.jar
asm-attrs.jar
hibernate3.jar

The strange thing is none of my colleagues are facing this issue except me . it would be great if some one could help me resolve this issue.


[8/11/08 11:41:50:138 EDT] 0000002e WebApp E [Servlet Error]-[action]: java.lang.NoSu chMethodError: org/objectweb /asm/ClassVisitor.visit(IILjava/lang/String;Ljava/lang/String; [Ljava/lang/String;L java/lang/String V
at net.sf.cglib.core.ClassEmitter.begin_class(ClassEmitter.java:77)
at net.sf.cglib.core.KeyFactory$Generator.generateClass(KeyFactory.java:173)
at net.sf.cglib.core.DefaultGeneratorStrategy.generate(DefaultGeneratorStrategy.java:25)
at net.sf.cglib.core.AbstractClassGenerator.create(AbstractClassGenerator.java:216)
at net.sf.cglib.core.KeyFactory$Generator.create(KeyFactory.java:145)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:117)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:108)
at net.sf.cglib.core.KeyFactory.create(KeyFactory.java:104)
at net.sf.cglib.proxy.Enhancer.<clinit>(Enhancer.java:69)
at java.lang.J9VMInternals.initializeImpl(Native Method)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:192)
at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.getProxyFactory(CGLIBLazyInitializer.java:117)
at org.hibernate.proxy.pojo.cglib.CGLIBProxyFactory.postInstantiate(CGLIBProxyFactory.java:43)
at org.hibernate.tuple.entity.PojoEntityTuplizer.buildProxyFactory(PojoEntityTuplizer.java:162)
at org.hibernate.tuple.entity.AbstractEntityTuplizer.<init>(AbstractEntityTuplizer.java:135)
at org.hibernate.tuple.entity.PojoEntityTuplizer.<init>(PojoEntityTuplizer.java:55)
at org.hibernate.tuple.entity.EntityEntityModeToTuplizerMapping.<init>(EntityEntityModeToTuplizerMapping.java:56)
at org.hibernate.tuple.entity.EntityMetamodel.<init>(EntityMetamodel.java:295)
at org.hibernate.persister.entity.AbstractEntityPersister.<init>(AbstractEntityPersister.java:434)
at org.hibernate.persister.entity.SingleTableEntityPersister.<init>(SingleTableEntityPersister.java:109)
at org.hibernate.persister.PersisterFactory.createClassPersister(PersisterFactory.java:55)
at org.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:226)
at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1294)
at com.railinc.application.common.db.HibernateUtil.getSessionFactory(HibernateUtil.java:56)
at com.railinc.application.common.db.HibernateUtil.getSessionFactory(HibernateUtil.java:31)
at com.railinc.application.common.db.HibernateUtil.getOpenSession(HibernateUtil.java:65)
at com.railinc.test.cache.EquipmentMetadataCache.loadCacheObject(EquipmentMetadataCache.java:125)
at com.railinc.cache.AbstractCache.get(AbstractCache.java:98)
at com.railinc.test.cache.BaseCache.initCache(BaseCache.java:82)
at com.railinc.test.cache.MetadataCacheFactory.registerEquipmentMetadataCache(MetadataCacheFactory.java:192)
at com.railinc.test.cache.MetadataCacheFactory.registerMetadataCache(MetadataCacheFactory.java:136)
at com.railinc.test.base.BaseAction.execute(BaseAction.java:101)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at com.railinc.test.testValidateSessionFilter.doFilter(testValidateSessionFilter.java:108)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:498)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3252)
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:264)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1439)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:112)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217)
at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)

Thanks in advance
Rohini
The strike through should happen when I click on some other icon so the this will not work here
can you give me an example as how to do it?
There are about more than 500 form elements and we can visibly see the delay by the time the label field is striked out
My requirement is if i click on an icon i need to strike out the label value.

The issue i am facing is since my form has so many number of elements when I do a document.getelementbyid it take a long time to identify the label and do a strike through .

Is there any alternative for this ?

Any help is highly appreciated
I have the form in session .

My problem is

Form A extends Form B

and all the three fields are validated in form form b

But I need to validate only one of the 3 fields in Form A.

How to handle this?
16 years ago
I have a form which is used by 2 jsps say A.jsp and B.jsp

There are validation for 3 fields for A.JSP whereas I need to validate only one of them for B.jsp.

How to handle this in validation.xml? Should I do something with the page attribute.

Any help is highly appreciated
16 years ago