Spatial -- Eclipselink -- Production JDeveloper cannot find JGeometry
We've developed an application using the Eclipselink spatial extensions developed by Doug Clarke's team and we're in the process of porting our applications to the Production JDeveloper release, WebLogic, and Eclipselink. We're failing when we add the first
@StructConverter(name = "JGeometry", converter = "org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter") to a bean.with the following error message when we create the first EntityManager.
]] Root cause of ServletException.
java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:86)
at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(MetadataHelper.java:52)
Truncated. see log file for complete stacktrace sdoapi.jar is in the applications WEB-INF/lib/ folder but I assume that this is the same problem that we had using OC4J that was cured by copying sdoapi.jar into the %JDEV_HOME%\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\ folder.
What is the analogous folder in the Production JDeveloper?
Mark
Michael:
Still not working. There must be something in your configuration that is finding the sdoapi.jar that is not in mine.
The following is what I have set up now and I'm still getting the classNotFound exception
I copied the sdoapi.jar file to these locations
C:\oracle\Middleware>dir/s sdoapi.jar
Directory of C:\oracle\Middleware\jdeveloper\modules
09/07/2007 11:18 AM 108,281 sdoapi.jar
1 File(s) 108,281 bytes
Directory of C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1
09/07/2007 11:18 AM 108,281 sdoapi.jar
1 File(s) 108,281 bytes
Directory of C:\oracle\Middleware\modules
09/07/2007 11:18 AM 108,281 sdoapi.jar
1 File(s) 108,281 bytes
Directory of C:\oracle\Middleware\patch_wls1030\patch_jars
09/07/2007 11:18 AM 108,281 sdoapi.jar
1 File(s) 108,281 bytes
Directory of C:\oracle\Middleware\wlserver_10.3\server\ext\jdbc\oracle\11g
09/07/2007 11:18 AM 108,281 sdoapi.jar
1 File(s) 108,281 bytesStill didn't work so then I set SPATIAL_LIB and WEBLOGIC_HOME in my environment variables and rebooted
C:\>set
SPATIAL_LIB=C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1\sdoapi.jar
WEBLOGIC_HOME=C:\oracle\Middleware\
... in addition to all my other environment variables
C:\>cd %WEBLOGIC_HOME%
C:\oracle\Middleware>
C:\oracle\Middleware>dir %SPATIAL_LIB%
Directory of C:\oracle\Middleware\jdeveloper\modules\oracle.toplink_11.1.1
09/07/2007 11:18 AM 108,281 sdoapi.jar
1 File(s) 108,281 bytes
0 Dir(s) 100,777,361,408 bytes freeand Finally I tried specifying SPATIAL_LIB and WEBLOGIC_HOME in the .product.properites files
SPATIAL_LIB=C\:\\oracle\\Middleware\\jdeveloper\\modules\\oracle.toplink_11.1.1\\sdoapi.jar
WEBLOGIC_HOME=C\:\\oracle\\Middleware\\I did this in the product.properties files found in %WEBLOGIC_HOME%\jdeveloper and %WEBLOGIC_HOME%\wlserver_10.3
I did all of this incrementally stopping the WLS and shutting down JDeveloper between each trial.
And I'm still getting
Root cause of ServletException.
java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:86)
at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(MetadataHelper.java:52)
Truncated. see log file for complete stacktrace
java.lang.ClassNotFoundException: oracle.spatial.geometry.JGeometry
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
Truncated. see log file for complete stacktraceMy current work-around of modifying the eclipselink.jar to include the oracle.spatial.geometry package is simply not a keeper, so I'd really like to get to the bottom of this one.
Thanks for your help. Mark
Edited by: mmillman on Feb 4, 2009 3:18 PM
Similar Messages
-
New to JDeveloper - cannot find the configuration file
Hello,
I'm new to JDeveloper and have been following a couple of the tutorials on OTN. I have just been through one called Business Components Programmatic Client Tutorial which attempts to teach you how to create a batch client for some customer orders. I've got a workspace with two projects. One holds the business components and the other holds a Java application. Basically, when I try to run it, I get the following errors :
oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrder/common/bc4j.xcfg in the classpath
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:237)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:192)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:348)
at oracle.jbo.client.Configuration.createRootApplicationModule(Configuration.java:951)
at bcbatch.Batch.main(Batch.java:21)
Exception in thread "main"
Process exited with exit code 1.
I know that the createRootApplicationModule procedure is trying to instanciate an an application module of the type specified and the configuration file exists at :
E:\JDeveloper\jdev\mywork\bcbatch\OnlineOrder\src\OnlineOrder\common\bc4j.xcfg
My classpath is set to :
E:\<Oracle_home>\jdev\mywork\bcbatch\OnlineOrder\src
so its hard to see why it can't find \OnlineOrder\common\bc4j.xcfg from there.
Any help would be greatly appreciated.
Regards,
JoeMake sure your bc4j application project is compiled. To verify see that the .xcfg file exists in the classpath of the "client-project" / outpath of the Bc4j project.
-
Help JDeveloper cannot find package
Hi,
I am using JDeveloper 9.0.3.4.
In the project settings -->Configurations -->Development --> Libraries, I add JSP Runtime, J2EE, Servlet Runtime. But When I tried to rebuild my project, I got errors like:
(1) package javax.servlet.jsp does not exist;
(2) cannot resolve symbol on import javax.servlet.http.HttpServletRequest;
(3)javax.servlet.http.HttpServletRequest is not public in javax.servlet.http; cannot be accessed from outside package.
Can you help?
Many thanks,Add lib/j2ee.jar from the J2sdkee installation in the project Classpath with Paths>Additional Paths in the project properties frame.
-
Hi!
I'm using Jdeveper 10.1.3 EA, when i run my application i meet error:
Exception in thread main
oracle.jbo.ConfigException: JBO-33001: Cannot find the configuration file /com/fss/isp/admin/dataModel/common/bc4j.xcfg in the classpath
at oracle.jbo.client.Configuration.loadFromClassPath(Configuration.java:365)
at oracle.jbo.common.ampool.PoolMgr.createPool(PoolMgr.java:281)
at oracle.jbo.common.ampool.PoolMgr.findPool(PoolMgr.java:482)
at oracle.adf.model.bc4j.DataControlFactoryImpl.findOrCreateSessionCookie(DataControlFactoryImpl.java:144)
at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:250)
at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:73)
at oracle.adf.model.BindingContext.get(BindingContext.java:454)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280)
at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248)
at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383)
at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:129)
at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:59)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87)
at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51)
at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:225)
at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:295)
at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:424)
at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54)
at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:43)
at oracle.adf.model.BindingContext.get(BindingContext.java:480)
at oracle.jbo.uicli.jui.JUPanelBinding.setup(JUPanelBinding.java:93)
at oracle.jbo.uicli.controls.JUTestFrame.createBindingCtxAndSetUpMenu(JUTestFrame.java:168)
at oracle.jbo.uicli.controls.JUTestFrame.<init>(JUTestFrame.java:121)
at oracle.jbo.uicli.controls.JUTestFrame.startTestFrame(JUTestFrame.java:84)
at com.fss.isp.admin.view.PanelGroup.main(PanelGroup.java:113)
Process exited with exit code 1.
How to can i fix problem?
thanks!Refer
New to JDeveloper - cannot find the configuration file
Re: JBO-33001: Cannot find the configuration file /model/common/bc4j.xcfg -
After upgrade to JHS Production: cannot find two standard java Classes
Hi, First: congratulations on the Production release. Great that it is there.
After making several backups, I have upgraded to JHS build 91 Production release (I came from JHS build 78).
1. after upgrade to JHS Production, I tested my application first (so before re-enabling Jheadstart on the ViewController and regenerating pages). The application still worked fine
2. I re-enabled JHeadstart on the VC project
3. I opened my Applictation Definition Files and saved them (I noticed a deprecated property OverwriteUiModel that disappeared after saving)
4. I ran the generator on my three App. Def. Files.
5. I rebuild the whole application
6. I ran the application, the first (Table-style) page comes up fine
7. But when clicking on one of the records in the Table to navigate to the Form page...the Embedded OC4J exits with a fatal error:
Fatal error: Cannot find class java/lang/StackOverflowError
Fatal error: Cannot find class java/lang/NullPointerException
The last part of the log before these fatal errors is as follows:
06/08/11 10:12:47 [1171] Binding param "Bind_IdPerson": 210002
06/08/11 10:12:47 [1172] **** refreshControl() for BindingContainer :PersonsPageDef
06/08/11 10:12:47 [1173] *** DCDataControl.sync() called from :DCBindingContainer.refresh
06/08/11 10:12:47 [1174] **** refreshControl() for BindingContainer :PersonsPageDef
06/08/11 10:12:47 [1175] Invoke method Action:999
06/08/11 10:12:47 [1176] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeAddrLinkTypes
10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeAddrLinkTypes: bind parameter values have not changed, NO Requery performed
06/08/11 10:12:47 [1177] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1178] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
06/08/11 10:12:47 [1179] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1180] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c60
06/08/11 10:12:47 [1181] Invoke method Action:999
06/08/11 10:12:47 [1182] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeAddrLinkStatuses
10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeAddrLinkStatuses: bind parameter values have not changed, NO Requery performed
06/08/11 10:12:47 [1183] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1184] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
06/08/11 10:12:47 [1185] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1186] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c61
06/08/11 10:12:47 [1187] Invoke method Action:999
06/08/11 10:12:47 [1188] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeOrgPersonTypes
10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeOrgPersonTypes: bind parameter values have not changed, NO Requery performed
06/08/11 10:12:47 [1189] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1190] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
06/08/11 10:12:47 [1191] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1192] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c62
06/08/11 10:12:47 [1193] Invoke method Action:999
06/08/11 10:12:47 [1194] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeDivDataValidationStatuses
10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeDivDataValidationStatuses: bind parameter values have not changed, NO Requery performed
06/08/11 10:12:47 [1195] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1196] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
06/08/11 10:12:47 [1197] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1198] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c63
06/08/11 10:12:47 [1199] Invoke method Action:999
06/08/11 10:12:47 [1200] DCInvokeMethod:Invoking PersonServiceDataControl.dataProvider.applyBindParams()
10:12:47 DEBUG (JhsApplicationModuleImpl) -Executing applyBindParams for CodeDivDataDivisionStatuses
10:12:47 DEBUG (JhsApplicationModuleImpl) -ViewObject CodeDivDataDivisionStatuses: bind parameter values have not changed, NO Requery performed
06/08/11 10:12:47 [1201] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:47 [1202] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result = null
06/08/11 10:12:47 [1203] DCUtil, returning:oracle.adf.model.binding.DCDataControl$MethodResultsMap, for methodResults
06/08/11 10:12:48 [1204] putValueInPath :PersonServiceDataControl.methodResults.PersonServiceDataControl_dataProvider_applyBindParams_result~cp = [Ljava.lang.Object;@c64
06/08/11 10:12:48 [1205] *** DCDataControl.sync() called from :DCBindingContainer.refresh
06/08/11 10:12:48 [1206] ##### QueryCollection.finl no RowFilter
06/08/11 10:12:48 [1207] ##### QueryCollection.finl no RowFilter
06/08/11 10:12:48 [1208] ##### QueryCollection.finl no RowFilter
06/08/11 10:12:48 [1209] ##### QueryCollection.finl no RowFilter
06/08/11 10:12:48 [1210] ##### QueryCollection.finl no RowFilter
06/08/11 10:12:48 [1211] ##### QueryCollection.finl no RowFilter
06/08/11 10:12:48 [1212] No XML file /com/jnj/jacnl/cab/view/pagedefs/person/person.xml for metaobject com.jnj.jacnl.cab.view.pagedefs.person.person
06/08/11 10:12:48 [1213] Cannot Load parent Package : com.jnj.jacnl.cab.view.pagedefs.person.person
06/08/11 10:12:48 [1214] Business Object Browsing may be unavailable
06/08/11 10:12:48 [1215] Loading from XML file /com/jnj/jacnl/cab/view/pagedefs/person/PersonLovAddressesPageDef.xml
06/08/11 10:12:48 [1216] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1217] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1218] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1219] Executing and syncing on IteratorBinding.refresh from :AddrLinkTypeIterator
06/08/11 10:12:48 [1220] Resolving VO:CodeAddrLinkTypes for iterator binding:AddrLinkTypeIterator
06/08/11 10:12:48 [1221] No XML file /com/jnj/jacnl/cab/view/pagedefs/person/person.xml for metaobject com.jnj.jacnl.cab.view.pagedefs.person.person
06/08/11 10:12:48 [1222] Cannot Load parent Package : com.jnj.jacnl.cab.view.pagedefs.person.person
06/08/11 10:12:48 [1223] Business Object Browsing may be unavailable
06/08/11 10:12:48 [1224] Loading from XML file /com/jnj/jacnl/cab/view/pagedefs/person/PersonLovPersonAddrOrganizationsPageDef.xml
06/08/11 10:12:48 [1225] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1226] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1227] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1228] Executing and syncing on IteratorBinding.refresh from :AddrLinkStatusIterator
06/08/11 10:12:48 [1229] Resolving VO:CodeAddrLinkStatuses for iterator binding:AddrLinkStatusIterator
06/08/11 10:12:48 [1230] No XML file /com/jnj/jacnl/cab/view/pagedefs/person/person.xml for metaobject com.jnj.jacnl.cab.view.pagedefs.person.person
06/08/11 10:12:48 [1231] Cannot Load parent Package : com.jnj.jacnl.cab.view.pagedefs.person.person
06/08/11 10:12:48 [1232] Business Object Browsing may be unavailable
06/08/11 10:12:48 [1233] Loading from XML file /com/jnj/jacnl/cab/view/pagedefs/person/PersonLovOrganizationsPageDef.xml
06/08/11 10:12:48 [1234] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1235] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:48 [1236] DCUtil, returning:oracle.jbo.uicli.binding.JUApplication, for PersonServiceDataControl
06/08/11 10:12:49 [1237] Executing and syncing on IteratorBinding.refresh from :OrgPersonTypeIterator
06/08/11 10:12:49 [1238] Resolving VO:CodeOrgPersonTypes for iterator binding:OrgPersonTypeIterator
Fatal error: Cannot find class java/lang/StackOverflowError
Fatal error: Cannot find class java/lang/NullPointerException
Process exited with exit code -1.
Any idea why this might have happened, just because I upgrade to JHS production release?
I am reverting to build 78 again to continue developing, but hope to be able to get working with the prod release soon, but I lack knowledge to determine where the error occurs...
ToineSandra,
I have the (ugly) feeling that I am facing the problem mentioned in http://forums.oracle.com/forums/thread.jspa?messageID=1211326? : it looks like when a JSPX page gets too complex, the Embedded OC4J raises this StackOverFlow class notfound error :-(. Probably the (it only hits me when navigating to the most complex page) generated page generated with build 78 was fine, but the generated page after build 91 has become too complex, allthough nothing changed in between. What I can see from the difference between the before and after build 91 situation for all pages, is that you have added the <id=...> arguments to all ADF elements, like [id="PersonsSaveButton"] in:
<af:commandButton actionListener="#{bindings.Commit.execute}"
action="Commit"
textAndAccessKey="#{nls['SAVE_BUTTON_LABEL_PERSONS']}"
id="PersonsSaveButton">
<af:resetActionListener/>
</af:commandButton>In build78 these were not there. As far as I can see another difference after generating with build 91 is a new element in the page:
<af:panelGroup rendered="#{(bindings.PersonsIterator.currentRowIndexInRange!=-1 and bindings.PersonsIterator.findMode!='true')}">I have not seen a proper solution for this on the JDeveloper forum. I noticed people asking if there is a kind of 'maximum' on how complex a page can get before this error situation happens. No answer on that found (you do not want to know there is a maximum anyway).
The specific page is a master with 5 stacked detail regions and three "use as LOV" groups. Further on about 30 domains are used...
And the page has not finished yet, it will get more "complex" that this. I hope someone knows a good solution so that I can continue to use the Embedded OC4J for testing, otherwise developing wil get very time consuming if I have to deploy to AS every time...something I cannot afford since the project deadline is getting nearer and nearer.
Toine -
I have purchased a ringtone in the iTunes Store for my iPad, and I cannot find the download together with my music. I have received the invoice but I have no product. I am working with iOS6, if that helps. Can anybody help me?
I am confused. Do you mean you found the music, not the tones, or you can't find either?
If the former, then this is normal. You can't redownload tones from the Cloud. -
: Cannot find any information on property 'Product' in a bean of type '
/********jsp file ********/
<%@ page language="java" import="taxrate.*" %>
<HTML>
<BODY>
<jsp:useBean id="TaxRate" scope="application" class="taxrate.TaxRate" />
before modify
<br>
product :<jsp:getProperty name="TaxRate" property="Product"/>
�@ <br>
rate :<jsp:getProperty name="TaxRate" property="Rate" />
<jsp:setProperty name="TaxRate" property="Product" value="Hello" />
<jsp:setProperty name="TaxRate" property="Rate" value="2.9" />
after modify�F
<br>
product : <jsp:getProperty name="TaxRate" property="Product" />
�@ <br>
rate : <jsp:getProperty name="TaxRate" property="Rate" />
</BODY></HTML>="TaxRate" property="Rate" />
</BODY></HTML>
/*******bean file********/
package taxrate;
import java.sql.*;
public class TaxRate{
String Product;
double Rate;
public TaxRate(){
this.Product = "A001";
this.Rate = 5;}
public void setProduct (String ProductName)
{this.Product = ProductName;}
public String getProduct(){return(this.Product);}
public void setRate (double rateValue)
this.Rate = rateValue;
public double getRate()
return (this.Rate);
/******the error is********/
Error: 500
Location: /client/taxrate.jsp
Internal Servlet Error:
org.apache.jasper.JasperException: Cannot find any information on property 'Product' in a bean of type 'com.nokianeu.client.TaxRate'
at org.apache.jasper.runtime.JspRuntimeLibrary.getReadMethod(JspRuntimeLibrary.java:619)
at org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:101)
at org.apache.jasper.compiler.JspParseEventListener$GeneratorWrapper.generate(JspParseEventListener.java:730)
at org.apache.jasper.compiler.JspParseEventListener.generateAll(JspParseEventListener.java:200)
at org.apache.jasper.compiler.JspParseEventListener.endPageProcessing(JspParseEventListener.java:169)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:183)
at org.apache.jasper.runtime.JspServlet.loadJSP(JspServlet.java:413)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:149)
at org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:161)
at org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
at org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:160)
at org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
at java.lang.Thread.run(Unknown Source)
/******* use tomcat 3.11**********/
please give me the right answer
thank you!Hi xzwsun.
Where did you put your class taxrate.TaxRate ?
In which folder? is it in \WEB-INF\classes ?
so that you have \WEB-INF\classes\taxrate\TaxRate.class
--Paul. -
I havev installed a new Hard Drive on my laptop but cannot find my Photoshop Elements product box with the serial number to install Elements 10 or Elememts Premier 10. How can I find out the serial / installation codes for these? I saw a reply however, it was not my name and assumed it was for someone else. Now timed out. Can UI still have help on this matter please?
If you registered PSE before, go to the main page of adobe.com, sign in and go to your account and you should find the serial number there in your purchases.
-
I cannot find a new product through CRS search
I have added a new product to the Commerce Reference Store using BCC.
The product is in the Store after the deploy, I can browse it. The problem is that the product is not listed when I try to find it doing a search.
It doesn't appear even if I put the name or some features. What should I do to enable my product appearing in the search?
Thanks in advance,
IñigoI am a trainee and do not know too much about ATG, how can I verify the RootCategoryConstraint in dyn/admin?
Do you mean in http://localhost:7003/dyn/admin ? I have checked the menus in the Dynamo Administration page but I cannot find anything related with RootCategoryConstraint.
Please, could you tell me the url, paths or some more detail to check the RootCategoryConstraint?
Just in case it can helps I have copied below the code I have in the file
/mnt/opt/ATG/ATG10.0.3/CommerceReferenceStore/Store/Search/Query/config/atg/commerce/search/RootCategoryConstraint.properties
*$class=atg.search.routing.command.search.StringConstraint*
*$scope=request*
*# Restrict the search to products under the catalog's rootNavigationCategory*
*# so products like "Gift Wrap" don't show up*
property=ancestorCategories.$repositoryId
operation=equal
value=cat90015
Note that cat90015 is the id of the root catalog we have created so I think it should be OK. -
Cannot find my product but when i tried to register it , keeps telling that i have already registered the product. i need to see it under my name.
I am on Windows 7, and I was on Adobe.com. I went to downloads and clicked on Acrobat XI standard. It downloaded. But when I went to run it said Acrobat XI Pro and would not accept my serial number. I have done this now 4 times. I think that the system is downloading the wrong version. I am getting very frustrated and unhappy with Adobe!!!!
Sent from my iPad -
I wish to reinstall Adobe Creative Suite 6 Design Standard on a replacement PC using the original box CD and Serial Number. Website says SN is valid but cannot find corresponding Adobe product. My product is not on the drop down list offered. What do I do next?
Contact support by web chat.
Mylenium -
I have acrobat professional and photoshop elements. New Mac arrives next week how do I move these from the old machine as I cannot find the product codes
You cannot move or copy software between computers. You must reinstall. You will need the serial number. Check your account details on Adobe's site if you registered.
-
Compiler cannot find method that is there (Oracle 9i JDeveloper)
Hi
In one of my OA Framework classes Im doing some XML validation.
In 1 class I do this:
import oracle.xml.parser.v2.SAXParser;
SAXParser parser = new SAXParser();
parser.setValidationMode(SAXParser.SCHEMA_STRICT_VALIDATION);
<or Alternatively>
parser.setFeature("http://apache.org/xml/features/validation/schema-full-checking", true);
The compiler complains that it cannot find these methods in SAXParser class.
However, in the editing window, if I hit CTRL+Space for autocompletion JDeveloper can 'see' both these methods (setFeature() is actually defined in SAXParser and setValidationMode is inherited from parent class XMLParser).
It seems the editor can access the resources but the compiler cannot.
Ive tried both the XSQL Runtime and Oracle XML Parser 2 libraries in my project configuration and have even tried them in different positions in the 'Selected Libraries' window.
Im using XDK 9.0.3.0.0 with JDeveloper 9i.
Any help appreciated
JonHave you checked the ApJServLogFile? You might find some clues there.
I'm curious as to why you are getting 'display' errors. Is your display environment set up properly?
Alison -
Attempting to install cs6 extended on my windows 7 professional 32 bit laptop, ive downloaded it but when i go to install it it asks for my serial number which i put in and then it tells me it is a valid number but cannot find a qualifying product on this computer?? What is the problem?
Normally you will be asked to provide the new prdouct serial number first, then when a qualifying version is not found you elect to provide that information and then select the version and provide its serial number. If this is not how things are flowing for you then you should contact Adobe support directly thru chat and get their help resolving it.
Serial number and activation chat support (non-CC)
http://helpx.adobe.com/x-productkb/global/service1.html ( http://adobe.ly/1aYjbSC ) -
I have purchased Premiere Element 12 for Windows and mac. I cannot find any Adobe products I purchased so I can download Pre 12 to my new Windows computer.
Hi,
Please use this link for downloading premiere elements 12 on windows.
http://www.adobe.com/cfusion/tdrc/index.cfm?product=premiere_elements&loc=us
Thank You
Arjun
Maybe you are looking for
-
Error message while upgrading to System Center 2012 R2 Orchestrator
I recently tried upgrading System Center 2012 Service Pack 1 Orchestrator to System Center 2012 R2 Orchestrator on a Windows Server 2012 instance, running in VMware Workstation. According to the Microsoft TechNet documentation, you basically remove a
-
Music library won't sync to iphone, how do I clean up my phone?
My iphone music is a mess and won't sync with itunes. I have tried - Downloading all manually that could from the cloud. Downloading all purchases manually. Turning of show all music. *with a power off Manually deleting all songs. Nothing works an
-
SQL Task Expression: SQL Command using variable tables
Hello, I've got a question I hope someone could help me out with. I'm working on a SSIS project that basically synchronises logins of a Source and Destination server that are part of an AlwaysOn Cluster. The idea is as followed: On the source server
-
CRMXIF_ORDER_SAVE_M02 - how to populate pricing conditions at header lvl?
Hi all, im using lsmw idoc basic type CRMXIF_ORDER_SAVE_M02 to create Service Orders. my problem now is, it only contains pricing conditions segment (E101CRMXIF_PRCD_COND_XT) under the item level. is there anyway so that i can populate the pricing co
-
How to read Assignment blocks mode options Lazy, Direct etc
Hi, I need to read the Assignment block mode settings made in configuration i.e, Direct, Lazy etc in a program. Can some one help me out how to get these values for Account assignment block. Based on these modes, i need to programatically control and