sagar shiraguppi

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

Recent posts by sagar shiraguppi

I have written the redirect rule something like this in httpd.conf file

RewriteRule ^/internetadvertising(.*)$ http://marketing.abc.com/products/abc-online/ [R=301,L,NE]


The issue I am facing is whenever i hit the any of the source URL mentioned below, its going to http://marketing.abc.com/products/abc-online/ that is second Destination URL.

I am facing difficult to make apache to understand to differenciate the below two source URL so that it can land up in respective destination URL.



1)Source URL-->https://yelldirect.com/internetadvertising/searchmarketingservices/ Destination URL-->http://marketing.yell.com/products/search-marketing-services/

and

2)Source URL -->https://xyz.com/internetadvertising/payperclick/ Destination URL-->http://marketing.abc.com/products/abc-online/






11 years ago
I have done with SCJP 1.4 3 years back can i still go for SCWCD?
<c:forEach var="trans" items="${in}">
<tr>
<td><input type="checkbox" name="CheckBox" id="CheckBox" value="${tran}" onClick="selectCheckBox()"></td>
<td><fmt:formatDate value="${trs.date}" type="date" pattern="dd/MM/yyyy" /></td>
<td><c:out value="${tran.ref}"/></td>
<td><c:out value="${trans.am}" /></td>
<td><c:out value="${trans.amountOut}" /></td>
</tr>



function selectCheckBox() {

}
}
how will i get to print "${tran.ref} value in the select checkbox?? i m not gettting this/? the problem is am already printing the value of tran in the selectCheckBox(), and i need both the values in the selectCheckBox() method. Anyways i m getting to print the value of "${tran}" how to get the ${tran.ref}"??
i
12 years ago
JSP
HI,
Please let me know where I can find a maven 1.1 plug in for eclipse helious. maven 2 plugin is available but it wont recognizw maven 1.1 project.

Thanks
12 years ago
@Jaikiran Pai

Thank you, it is solved now!
12 years ago
Hi All,

I recently migrated project from ejb 2 to ejb 3, build is getting success after the EJB 3 changes , but now I am not able to deploy the EJB 3 ear into JBoss 5.1.1 EAP, I am pasting the log below

Caused by: java.lang.RuntimeException: Error determining structure: ABCD.ear
at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:307)
at org.jboss.deployers.vfs.plugins.structure.StructureDeployerWrapper.determineStructure(StructureDeployerWrapper.java:73)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.doDetermineStructure(VFSStructuralDeployersImpl.java:196)
at org.jboss.deployers.vfs.plugins.structure.VFSStructuralDeployersImpl.determineStructure(VFSStructuralDeployersImpl.java:221)
at org.jboss.deployers.structure.spi.helpers.AbstractStructuralDeployers.determineStructure(AbstractStructuralDeployers.java:77)
... 21 more
Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Element type "XDtAnt:property" must be declared. @ *unknown*[6,60]
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:183)
at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:161)
at org.jboss.deployment.EARStructure.determineStructure(EARStructure.java:162)
... 25 more
Caused by: org.xml.sax.SAXException: Element type "XDtAnt:property" must be declared. @ *unknown*[6,60]
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$MetaDataErrorHandler.error(SaxJBossXBParser.java:426)
at org.apache.xerces.util.ErrorHandlerWrapper.error(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.XMLErrorReporter.reportError(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.handleStartElement(Unknown Source)
at org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199)


Please let me know what could be done to overcome this.
thanks.
12 years ago
@E Armitage Thank you for your reply,

its saying cannot find symbol. basically it is searching a class file which should be generated by ejb3 on the fly.. please let me know what to be done, thank you
12 years ago
Detected Java version: 1.6 in: C:\Java\JDK16~1.0_2\jre
Detected OS: Windows XP
parsing buildfile D:\CO6D8C~1\projects\ABC\bin\build.xml with URI = file:/D:/CO6D8C~1/projects/ABC/bin/build.xml
Project base dir set to: D:\CO6D8C~1\projects\ABC\bin
Build sequence for target(s) `product' is [init, clean_classes, clean_for_product, ejbdoclet, prepare-classes, ABC-request-jar, make_ear, product]
Complete build sequence is [init, clean_classes, clean_for_product, ejbdoclet, prepare-classes, ABC-request-jar, make_ear, product, RulesForBlocks, RulesForSize, RulesForNaming, DeletePrevious, MustRunWithNoErrors, RulesForCodingSet1, RulesForCodingSet2, RulesForDesign, RulesForDuplication, RulesForJavadoc, RulesForMetrics, RulesForModifiers, RulesForUsage, FormatCheck, stagelib, stagedata, stagebin, ABCmigrate, install_jar, ABCproduct, stagedbscripts, stageABC, ABC, ]

init:
[antlib:org.apache.tools.ant] Could not load definitions from resource org/apache/tools/ant/antlib.xml. It could not be found.
Property "CLIPPER_WIP_NUM" has not been set
Property "DSTAMP" has not been set
Property "TSTAMP" has not been set
Property "checkstyle.classpath" has not been set
dropping D:\CO6D8C~1\projects\ABC\bin\${checkstyle.classpath} from path as it doesn't exist
dropping D:\CO6D8C~1\projects\ABC\bin\${checkstyle.classpath} from path as it doesn't exist
[echo]
[echo] ###############################################################
[echo] ABC Product Build
[echo] Year - 2004-2005
[echo] Root Directory - D:\CO6D8C~1\projects\ABC
[echo] Java classpath - C:\Java\JDK16~1.0_2\lib\dt.jar;C:\Java\JDK16~1.0_2\lib\tools.jar;C:\Java\JDK16~1.0_2\jre\lib\rt.jar;
[echo] Build classpath - D:\CO6D8C~1\projects\ABC/classes;D:\CO6D8C~1\projects\ABC\lib/j2ee.jar;C:\Java\JDK16~1.0_2\lib\dt.jar;C:\Java\JDK16~1.0_2\lib\tools.jar;C:\Java\JDK16~1.0_2\jre\lib\rt.jar;;D:\CO6D8C~1\projects\ABC/tools/ant/lib/ant.jar;D:\CO6D8C~1\projects\ABC\lib/xdoclet.jar;${checkstyle.classpath};D:\CO6D8C~1\projects\ABC\lib/IAClasses.zip;
[echo]
[echo] ###############################################################
[echo]

clean_classes:
[echo]
[echo] ####### Started cleaning ABC D:\CO6D8C~1\projects\ABC\classes directory.
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\classes
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\classes
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\classes
[echo] ####### End cleaning ABC D:\CO6D8C~1\projects\ABC\classes directory.

clean_for_product:
[echo]
[echo] ####### Started cleaning D:\CO6D8C~1\projects\ABC\build folder.
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\ejb
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\ejb\classes
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\ejb\generic-ejb
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\ejb\META-INF
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\ejb
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\web
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\web\WEB-INF
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\web
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\j2ee
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\j2ee\META-INF
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\j2ee
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\gen-src
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\gen-src
[mkdir] Skipping D:\CO6D8C~1\projects\ABC\build because it already exists.
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\ejb
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\ejb\META-INF
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\web
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\web\WEB-INF
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\j2ee
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\j2ee\META-INF
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\gen-src
[mkdir] Skipping D:\CO6D8C~1\projects\ABC\build\ejb\META-INF because it already exists.
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\ejb\classes
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\ejb\generic-ejb
[echo] ####### Cleaned ABC for product.

ejbdoclet:
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\ejb\META-INF
[delete] Deleting directory D:\CO6D8C~1\projects\ABC\build\ejb\META-INF
[mkdir] Created dir: D:\CO6D8C~1\projects\ABC\build\ejb\META-INF
[ejbdoclet] Generating Javadoc
dropping D:\CO6D8C~1\projects\ABC\bin\${checkstyle.classpath} from path as it doesn't exist
dropping D:\CO6D8C~1\projects\ABC\bin\${checkstyle.classpath} from path as it doesn't exist
[ejbdoclet] Executing 'C:\Java\JDK16~1.0_2\bin\javadoc.exe' with arguments:
[ejbdoclet] '@C:\DOCUME~1\IB1306\LOCALS~1\Temp\javadocOptions7205193082683413111'
[ejbdoclet] '@C:\DOCUME~1\IB1306\LOCALS~1\Temp\javadoc233399154365520396'
[ejbdoclet]
[ejbdoclet] The ' characters around the executable and arguments are
[ejbdoclet] not part of the command.
[ejbdoclet] Javadoc execution
[ejbdoclet] Loading source file D:\CO6D8C~1\projects\ABC\src\com\xyz\ABC\sb_ABCHelperMgr\ABCHelperBean.java...
[ejbdoclet] Loading source file D:\CO6D8C~1\projects\ABC\src\com\xyz\ABC\sb_ABCMgr\ABCMgrBean.java...
[ejbdoclet] Loading source file D:\CO6D8C~1\projects\ABC\src\com\xyz\ABC\sb_ABCRequestReceiver\ABCRequestReceiverBean.java...
[ejbdoclet] Loading source file D:\CO6D8C~1\projects\ABC\src\com\xyz\ABC\sb_grouper\GrouperBean.java...
[ejbdoclet] Loading source file D:\CO6D8C~1\projects\ABC\src\com\xyz\ABC\scheduler\sb_schedulermgr\ABCSchedulerMgrBean.java...
[ejbdoclet] Loading source file D:\CO6D8C~1\projects\ABC\src\com\xyz\ABC\task\sb_taskHelper\TaskHelperBean.java...
[ejbdoclet] Loading source files for package com.xyz.ABC...
[ejbdoclet] Loading source files for package com.xyz.ABC.common...
[ejbdoclet] Loading source files for package com.xyz.ABC.config...
[ejbdoclet] Loading source files for package com.xyz.ABC.controlclasses...
[ejbdoclet] Loading source files for package com.xyz.ABC.install.common...
[ejbdoclet] Loading source files for package com.xyz.ABC.install.custom...
[ejbdoclet] Loading source files for package com.xyz.ABC.mdb_processRequest...
[ejbdoclet] Loading source files for package com.xyz.ABC.mdb_taskNotificationReceiver...
[ejbdoclet] Loading source files for package com.xyz.ABC.mdb_taskReceiver...
[ejbdoclet] Loading source files for package com.xyz.ABC.sb_ABCHelperMgr...
[ejbdoclet] Loading source files for package com.xyz.ABC.sb_ABCMgr...
[ejbdoclet] Loading source files for package com.xyz.ABC.sb_ABCRequestReceiver...
[ejbdoclet] Loading source files for package com.xyz.ABC.sb_grouper...
[ejbdoclet] Loading source files for package com.xyz.ABC.scheduler...
[ejbdoclet] Loading source files for package com.xyz.ABC.scheduler.sb_schedulermgr...
[ejbdoclet] Loading source files for package com.xyz.ABC.shutdown...
[ejbdoclet] Loading source files for package com.xyz.ABC.task...
[ejbdoclet] Loading source files for package com.xyz.ABC.task.sb_taskHelper...
[ejbdoclet] Loading source files for package com.xyz.ABC.task.test...
[ejbdoclet] Loading source files for package com.xyz.ABC.utilities...
[ejbdoclet] Loading source files for package com.xyz.ABC.web...
[ejbdoclet] Constructing Javadoc information...
[ejbdoclet] D:\CO6D8C~1\projects\ABC\src\com\xyz\ABC\sb_ABCMgr\ABCMgrBean.java:37: cannot find symbol
[ejbdoclet] symbol : class ABCHelperMgr
12 years ago
Hi,
I recenlty migrated to EJB 2 to EJB3 , but now I am not able to build the project (application), Please anyone tell me what are the modification we have to make in build.xml? Or what are the points I need to take care to make a successful buld?? Using ANT for build.
12 years ago
Hi, I just migrating all session beans and message driven beans from EJB 2 to EJB 3, but when I am trying to build using build.xml (ANT) , it is giving compilation problem, saying not able to compile migrated beans, If i revert back the changes again build is successful, please let me know what changes I have to make in buil.xml to build EJB3 successfully?


Thanks
Hi,
Please let me know how to move a project from CVS to SVN ? thanks
@E Armitage

Could you please let me know where exactly I will find 'DeliveryActive'?

Message counter is getting increased whenever i place the message programitically, and jmx console also showing that there are two consumers available. Please let me know what next to be done to resolve this issue.

Thank you.
12 years ago
@E Armitage

yes console is showing beans are started.
12 years ago
Messages are not consumed in jboss 5.1.1 , ejb 2 Message driven beans are used in the application which is deployed in the JBoss 5.1.1 EAP the same application was running on jboss 4.04 without any issues, in jmx console we are seeing the message count increasing whenever we place the new messages, but those messages are not getting consumed, in logs no information is getting printed, please let me know the possible mistakes here.
12 years ago