Issues in Deploying the Sample code
Hi,
I downloaded BusinessObjects Enterprise Java SDK Sample Code from SDK Developer Library. I unzipped the content to a folder(Sample) in tomcat/webapps. Now when I launched the application using the following url http://localhost:8080/Sample/start.jsp
I am getting the following error.
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
Only a type can be imported. com.crystaldecisions.sdk.exception.SDKException resolves to a package
Generated servlet error:
Only a type can be imported. com.crystaldecisions.sdk.framework.CrystalEnterprise resolves to a package
Generated servlet error:
Only a type can be imported. com.crystaldecisions.sdk.framework.IEnterpriseSession resolves to a package
Generated servlet error:
Only a type can be imported. com.crystaldecisions.sdk.framework.ISessionMgr resolves to a package
An error occurred at line: 36 in the jsp file: /start.jsp
Generated servlet error:
ISessionMgr cannot be resolved to a type
An error occurred at line: 36 in the jsp file: /start.jsp
Generated servlet error:
CrystalEnterprise cannot be resolved
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
Please let me know whether I have to do any configuration to make this application running.
Thanks and Regards,
Subbu S
You can find the neccessary jar files here:
C:Program FilesBusiness ObjectsCommon4.0javalib
Check the developer guide for guidance on exactly which jars are required:
https://www.sdn.sap.com/irj/boc/sdklibrary
BusinessObjects Enterprise Java SDK > Developer Guide > Setting up the development environment > Web application setup > JAR files needed for deployment of Business Objects Software
Similar Messages
-
Where can I get the sample code of gantt chart?
hi, all
I want to use gantt chart component.I find this video http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/DVT_Gantt_Chart/ADFDVTGanttChartDemo.html.
where can I get the sample code in this video?
I have got the demo <strong>dvt-faces-demo.ear</strong>.but in this demo, the code of events process is too simple.I want more detail code of date change, denpendency change and so on.
this is my mail [email protected]
Thanks
Best Regards
kenshin
Edited by: Himura Kenshin on 2010-8-20 上午4:57
Edited by: Himura Kenshin on 2010-8-20 上午9:03Hi Katia,
Essentially the same sample app which was referenced above (http://download.oracle.com/otn_hosted_doc/jdeveloper/11/demos/DVT_Gantt_Chart/ADFDVTGanttChartDemo.html). There are many features implemented in this sample which I'll be "reinventing the wheel" with. Its been a bit since I worked with the gantt component as I had to abandon for other development but will be getting back into it here shortly.
Namely as I remember, I had difficult time getting the gantt to load quickly with large amount of tasks, difficulty getting the selected item when using context menus or buttons defined within the control, and a few other minor issues which could be fixed as I was using the first release of 11g and cannot remember specifics. I'll let you know as I get back into it if I see similar problems.
For example, if you go to the ADF Demo Site (http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/index.jspx) and click on "Project Gantt Custom Menu and Toolbar - add menus and buttons on the Project Gantt Menu and Toolbar". The buttons work, however if you first select a row in the left and then click the button, you have to click twice for it to work (in my findings the action listener never "fires"). So in my case I want to select a row and then have a custom event for that selected row when I click the button. There were other similar findings I had when I tried to go off of the examples.
Hope this helps.
Thank you,
Kris -
When I ran the sample code(WebLogicContextExample.java)
Hi:
when I ran the sample code(c:\weblogic\examples\jndi\WebLogicContextExample.java) occuring some errors.
Any Body can help me. Thx a lot!
Anny Chen
Here's error message:
C:\weblogic>java examples.jndi.WebLogicContextExample
WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
Copyright (C) 2000 WebGain, Inc.
null
java.lang.NoSuchMethodError: java.lang.NoSuchMethodException: getNameInNamespace
at weblogic.jndi.toolkit.BasicWLContext_WLStub.ensureInitialized(BasicWL
Context_WLStub.java:127)
at weblogic.jndi.toolkit.BasicWLContext_WLStub.<init>(BasicWLContext_WLS
tub.java:146)
at java.lang.reflect.Constructor.newInstance(Native Method)
at weblogic.common.internal.ClassTableEntry.newInstance(ClassTableEntry.
java:86)
at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
tInputStreamBase.java:248)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
ectInputStreamBase.java:202)
at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
nputStreamBase.java:949)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
tInputStreamBase.java:308)
at weblogic.jndi.toolkit.WLContextStub.readExternal(WLContextStub.java:7
9)
at weblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
le(WLObjectInputStreamBase.java:269)
at weblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
tInputStreamBase.java:254)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
ectInputStreamBase.java:202)
at weblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
nputStreamBase.java:949)
at weblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
tInputStreamBase.java:308)
at weblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInput
Stream2.java:25)
at weblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Rem
oteContextFactoryImpl_WLStub.java:99)
at weblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInit
ialContextFactoryDelegate.java:316)
at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
textFactoryDelegate.java:242)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java, Compiled Code)
at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:148)
at weblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:123)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java:7
71)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169
at javax.naming.InitialContext.<init>(InitialContext.java:146)
at examples.jndi.WebLogicContextExample.main(WebLogicContextExample.java
:107)
Initial context created
Subcontext 'example' created
Bound 'Example String created at 2000/1/3 下午 05:48:18' to 'example.one' for th
e first time.
Example finished successfully.This is very likely a CLASSPATH issue. Make sure weblogicaux.jar is
at the head of your CLASSPATH.
Mike
"pamal" <[email protected]> wrote in message
news:[email protected]...
I just installed 5.1 with sp2 and have the same problem. Anyone know
about this one?
Anny Chen wrote:
Hi:
when I ran the sample
code(c:\weblogic\examples\jndi\WebLogicContextExample.java) occuring some
errors.
Any Body can help me. Thx a lot!
Anny Chen
Here's error message:
C:\weblogic>java examples.jndi.WebLogicContextExample
WebGain Java! JustInTime Compiler Version 4.00.002(x) for JDK 1.2
Copyright (C) 2000 WebGain, Inc.
null
java.lang.NoSuchMethodError: java.lang.NoSuchMethodException:getNameInNamespace
>>
atweblogic.jndi.toolkit.BasicWLContext_WLStub.ensureInitialized(BasicWL
Context_WLStub.java:127)
atweblogic.jndi.toolkit.BasicWLContext_WLStub.<init>(BasicWLContext_WLS
tub.java:146)
at java.lang.reflect.Constructor.newInstance(Native Method)
atweblogic.common.internal.ClassTableEntry.newInstance(ClassTableEntry.
java:86)
atweblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
tInputStreamBase.java:248)
atweblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
ectInputStreamBase.java:202)
atweblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
nputStreamBase.java:949)
atweblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
tInputStreamBase.java:308)
atweblogic.jndi.toolkit.WLContextStub.readExternal(WLContextStub.java:7
9)
atweblogic.common.internal.WLObjectInputStreamBase.readPublicSerializab
le(WLObjectInputStreamBase.java:269)
atweblogic.common.internal.WLObjectInputStreamBase.readLeftover(WLObjec
tInputStreamBase.java:254)
atweblogic.common.internal.WLObjectInputStreamBase.readObjectBody(WLObj
ectInputStreamBase.java:202)
atweblogic.common.internal.WLObjectInputStreamBase.readObject(WLObjectI
nputStreamBase.java:949)
atweblogic.common.internal.WLObjectInputStreamBase.readObjectWL(WLObjec
tInputStreamBase.java:308)
atweblogic.rmi.extensions.AbstractInputStream2.readObject(AbstractInput
Stream2.java:25)
atweblogic.jndi.internal.RemoteContextFactoryImpl_WLStub.getContext(Rem
oteContextFactoryImpl_WLStub.java:99)
atweblogic.jndi.WLInitialContextFactoryDelegate.newRemoteContext(WLInit
ialContextFactoryDelegate.java:316)
atweblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialCon
textFactoryDelegate.java:242)
atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java, Compiled Code)
atweblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLIni
tialContextFactoryDelegate.java:148)
atweblogic.jndi.WLInitialContextFactory.getInitialContext(WLInitialCont
extFactory.java:123)
atjavax.naming.spi.NamingManager.getInitialContext(NamingManager.java:7
71)
atjavax.naming.InitialContext.getDefaultInitCtx(InitialContext.java:169
at javax.naming.InitialContext.<init>(InitialContext.java:146)
atexamples.jndi.WebLogicContextExample.main(WebLogicContextExample.java
:107)
Initial context created
Subcontext 'example' created
Bound 'Example String created at 2000/1/3 下午 05:48:18' to'example.one' for th
e first time.
Example finished successfully. -
Getting Duplicate Object existing issue while deploying the BIAR file
Hi All,
We are trying to deploy BIAR File with XI R2 Command tool InstallEntSdkWrapper. But we are getting Duplicate Object exixting issue while deploying the BIAR file.
Error Message:
[report] [InstallEntSdkWrapper.main] Connecting to CMS plmdevapp31:6400 as administrator
[report] [InstallEntSdkWrapper.CmsImportFile] Exception: An error occurred at the server :
[report] Failed to commit objects to server : Duplicate object name in the same folder.
[report]
[report] [InstallEntSdkWrapper.main] BIAR File could not be imported
If we are doing any promition with Import Wizard we have an option to "Overwrite object contents" option to overwite exixting objects. It will very helpful if any one suggest how we can achieve this through InstallEntSdkWrapper.
Unfortunately there is no documentation availabe on InstallEntSdkWrapper.
Cheers!That's a limitation with the XI Release 2 InstallEntSdkWrapper.jar tool.
Sincerely,
Ted Ueda -
Error targeting server for the EJB module while deploying the sample banking application
I am currently having a very difficult time attempting to deploy the
example banking application that I downloaded from the BEA website. I
have followed all of the steps in the "Hands On: Deploying the Sample
Banking Application" document, and I do fine until I get to the next to
last step. When I attempt to target the server for the EJB module, the
deployment process generates the error that I have included at the end
of this message.
I can get to the login.html page under "http://localhost:7001/banking/",
but after that I can't go further.
Any suggestions. BTW, in case you haven't figured it out, I'm brand new
to BEA WebLogic server.
Thanks in advance for any help you can offer.
Scott
Error deploying application \ejb:
Unable to deploy EJB: \ejb from \ejb:
Compiler failed
executable.exec(java.lang.String[javac,-nowarn,-classpath,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb;E:\bea\wlserver6.1\.\config\ScottsServer\applications\.wlnotdelete\wlap60763\ejb;E:\bea\jdk131\jre\lib\rt.jar;E:\bea\jdk131\jre\lib\i18n.jar;E:\bea\jdk131\jre\lib\sunrsasign.jar;E:\bea\jdk131\jre\classes;.;E:\bea\wlserver6.1\lib\weblogic_sp.jar;E:\bea\wlserver6.1\lib\weblogic.jar,-d,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb\examples\tutorials\migration\banking\*.java])
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy11.addDeployment(Unknown Source)
at
weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy68.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at
weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)The deployment process invokes javac internally to compile some generated classes.
Do you have javac installed and in the path?
Seth
Scott Springer wrote:
I am currently having a very difficult time attempting to deploy the
example banking application that I downloaded from the BEA website. I
have followed all of the steps in the "Hands On: Deploying the Sample
Banking Application" document, and I do fine until I get to the next to
last step. When I attempt to target the server for the EJB module, the
deployment process generates the error that I have included at the end
of this message.
I can get to the login.html page under "http://localhost:7001/banking/",
but after that I can't go further.
Any suggestions. BTW, in case you haven't figured it out, I'm brand new
to BEA WebLogic server.
Thanks in advance for any help you can offer.
Scott
Error deploying application \ejb:
Unable to deploy EJB: \ejb from \ejb:
Compiler failed
executable.exec(java.lang.String[javac,-nowarn,-classpath,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb;E:\bea\wlserver6.1\.\config\ScottsServer\applications\.wlnotdelete\wlap60763\ejb;E:\bea\jdk131\jre\lib\rt.jar;E:\bea\jdk131\jre\lib\i18n.jar;E:\bea\jdk131\jre\lib\sunrsasign.jar;E:\bea\jdk131\jre\classes;.;E:\bea\wlserver6.1\lib\weblogic_sp.jar;E:\bea\wlserver6.1\lib\weblogic.jar,-d,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb,E:\bea\wlserver6.1\tmp_ejbwinged-demon7001\banking-exploded_\ejb\examples\tutorials\migration\banking\*.java])
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:302)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:296)
at weblogic.ejb20.deployer.Deployer.compileEJB(Deployer.java:684)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:851)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:30)
at weblogic.j2ee.Application.addComponent(Application.java:163)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:329)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:144)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:636)
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:621)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:359)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at
weblogic.management.internal.ConfigurationMBeanImpl.updateConfigMBeans(ConfigurationMBeanImpl.java:491)
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:361)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:468)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy11.addDeployment(Unknown Source)
at
weblogic.management.internal.DynamicMBeanImpl.updateDeployments(DynamicMBeanImpl.java:1516)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:895)
at
weblogic.management.internal.DynamicMBeanImpl.setAttribute(DynamicMBeanImpl.java:847)
at
weblogic.management.internal.ConfigurationMBeanImpl.setAttribute(ConfigurationMBeanImpl.java:295)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1356)
at
com.sun.management.jmx.MBeanServerImpl.setAttribute(MBeanServerImpl.java:1331)
at weblogic.management.internal.MBeanProxy.setAttribute(MBeanProxy.java:322)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:204)
at $Proxy68.setTargets(Unknown Source)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.console.info.FilteredMBeanAttribute.doSet(FilteredMBeanAttribute.java:92)
at
weblogic.management.console.actions.mbean.DoEditMBeanAction.perform(DoEditMBeanAction.java:135)
at
weblogic.management.console.actions.internal.ActionServlet.doAction(ActionServlet.java:171)
at
weblogic.management.console.actions.internal.ActionServlet.doPost(ActionServlet.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:265)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:200)
at
weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:2495)
at
weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2204)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
How can I install the sample code in my pc?
I have installed Oracle 8.17 on my pc, my operating system is Win2000. But now I cannot install the sample code on OTN. the requirement is winNT, is that the problem? I think Win2000 should be okay. Who can give me some advice, thank you in advance!!!
Do what Ethmoid mentioned: publish your site to a folder on your hard drive and open the html file with a text or html editor like the free TextWrangler. That's the only way to view or edit the code created by iWeb when it publishes the website.
However, there is a website design application, Flux, that can open a published iWeb site and view the code and webpage simultaneously.
OT -
Error message Deploying the sample HRapp using OBE
I a novice to 9ias and I am using the OBE documents to get hands on on the Oracle 9ias. I tried to deploy the sample hrweb following the OBE document and encountered the error below. I need some help as to what to do next to correct this situation.
On installation, I have the J2EE and webcache on one host and the infrastructure and database on another host.
Here is the error message:
Deployment failed: Nested exception Root Cause: Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>; nested exception is: java.lang.InstantiationException: Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>. Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>; nested exception is: java.lang.InstantiationException: Error loading web-app 'hrweb' at D:\Oracle9iAS\j2ee\home\applications\__hrapp\hrweb: Unknown assembly tag in file:/D:/Oracle9iAS/j2ee/home/applications/__hrapp/hrweb/: <ejb-local-ref>Hi,
<ejb-local-ref> tag is used to reference an entity bean that has a local home and local interface. <ejb-local-ref> tag is supported in EJB 2.0 and later versions. Looking at the error message it appears that the container you are using does not support EJB 2.0.
Which version of 9iAS are you using?
Thanks -
Where Can the Sample Code for That Balloon Game Demoed on WWDC for Swift Be Downloaded
Hi. I can't find the balloon game sample code used in the WWDC in the Sample Code for iOS or OS X (assuming it's available for download). If it is available for download by Apple, where can it be downloaded?
Thank you in advance.
God bless, Cor. 13The assets are in the .playground file's file package. Select the .playground file in the Finder, right-click, and choose Show Package Contents to browse the file package. The graphics files are in the Resources folder inside the file package.
-
Where to download the sample code of Expense Tracker application
Several JSC2 tutorial articles mention a sample application called Expense Tracker. Does anyone know where to download it? The links in the articles are invalid now.
Thanks in advanceSorry for the inconvenience. The sample code is getting updated to work with the latest release of Creator. It will be replaced soon.
-
HELP!how to show lines in the sample code 'docsig'
I want to show my handwritten in the pdf and my code is based on the sample code 'docsig',
can anyone read the following code, and tell me the reason why it not show the line. Thanks!
//from the project 'docsig' in the acrobat sdk 9.0 sample code
CosObj DSHandler::CreateN2XObject( CosDoc cosDoc, const CosObj sigField, const CosObj sigAnnot, const ASFixedRect* const pBBoxRec )
//Define a stream to draw a line
char buf [500];
sprintf(buf,"150 250 m 150 350 l S");
//Get the stream length
ASUns32 streamLength = (ASUns32)strlen(buf);
//Create a CosObj object that represents the stream length
CosObj LengthEntry = CosNewInteger(cosDoc, false,streamLength);
//Create a CosObj that represents a stream dictionary
//and sets its key-value pairs
CosObj AttrDict = CosNewDict(cosDoc, false, 5);
char *Length_KStr = "Length";
CosDictPutKeyString(AttrDict, Length_KStr, LengthEntry);
CosObj cosStm = CosNewStream64(
cosDoc, // cos document to use the newly created stream
true , // cos stream is indirect object?
0, // input stream
0, // start reading from stream position
false , // stream is decoded?
AttrDict, // attributes dictionary
CosNewNull(), // encode params
-1, // decode length
false // allowing delayed reading of input stream
return cosStm;
Why I just get a blank signature ? It should draw a line, but not showed in the pdf file.you need to change the following piece of code
case 10: // * pressed
case 11: // # pressed
clearText = true;
if (first) // first operand
if(lcdField.getText().length()==0)
result = 0.0;
else
result = Double.parseDouble(lcdField.getText());
first = false;
prevOperator = i;
else //second operand already entered, so calculate total
switch(prevOperator)
case 10: //divide button
result /= Double.parseDouble(lcdField.getText());
break;
case 11: //multiply button
result *= Double.parseDouble(lcdField.getText());
break;
lcdField.setText(Double.toString(result));
if(i==14) //equal button
first = true;
else
prevOperator = i; //save last operator
break;
}its gets excuted when you press the * or # buuton -
Issue while executing the sample.ear
Hi All,
I have deployed the sampl.ear file into an existing SES Installation and trying to access the application using the URL:
http://<oc4j_host>:<oc4j_port>/sample/search
and getting following exception:
ã vInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol
Any suggestion is appreciated.
Thanks
KrrishThis would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.
-
How can I get the sample code for crawler plugins?
Hi,
One SES document mentioned that there are three sample crawler plugins, which reside in $ORACLE_HOME/search/sample/agent. However, I couldn't find them. Did I miss installing something? Can anyone share with me the sample code?
Thanks.
Jun GaoThe original 10.1.6 sample plugins are no longer distributed in 10.1.8.1 as there were a few problems with them. I would suggest you take a look at
Simple File Crawler
http://www.oracle.com/technology/products/oses/pdf/Buidling_Custom_CrawlersJan12_07.doc
Sourcecode here:
http://www.oracle.com/technology/products/oses/files/simplefilecrawlerpluginmanager.java
and here
http://www.oracle.com/technology/products/oses/files/simplefilecrawlerplugin.java
And the two crawlers under "Sample Code" on the OTN page:
http://www.oracle.com/technology/products/oses/index.html -
Methods in SSOEnablerUtil class does not match the sample code
Hi,
Please refer to the sample code at:
http://otn.oracle.com/sample_code/products/iportal/htdocs/sso/ssoover.html
This mentions that the bakeAppCookie() and unbakeAppCookie() are methods in the SSOEnablerUtil class. I have downloaded iAS 9.0.2 from OTN.
The SSOEnablerUtil class does not have the above mentioned methods. Are these methods similar to the encryptCookie() and decryptCookie() methods in the SSOEnabler class?
Please do let me know.
Thanks,
Rashmi.This was a part of the old package.
-
How to run the sample code using the sdk?
Hi,
I want to run the jsp code from the enterprize sdk available in the sdn community. Can any one tell me how to execute these jsp sample codes and what is the pre-requisite regarding the set up.
I already have the deployment ready.
thanks
AMarHi Amar,
To execute samples code, it is same what is required for normal J2EE application.
Make sure add all the jars to your web application.
These jars can be found on your BO server installation if windows.
For BOE XI 3.x
C:\Program Files\Business Objects\common\4.0\java\lib
C:\Program Files\Business Objects\common\4.0\java\lib\external
For BOE XI R2
C:\Program Files\Business Objects\common\3.5\java\lib
C:\Program Files\Business Objects\common\3.5\java\lib\external
Thanks,
Praveen. -
I am not able to acess the sourcefiles on the page
http://otn.oracle.com/sample_code/tech/java/jsp/htdocs/jspdemo/jspdemosrc.html
Any help on this would be appreciated.
ThanksHi Asha,
The page you are referring to was with respect to a older version of the JSP sample code. Please refer to the updated samples at the location: http://otn.oracle.com/sample_code/tech/java/jsps/ojsp/content.html
These samples are certified against Oracle9iAS Containers for J2EE(OC4J). You can download the JAR file(OjspSamples.jar) from this page and deploy the EAR file in it with OC4J. The Install.html file in the JAR file has instructions to setup the samples with OC4J. Once setup, all the source files can be accessed through the application pages itself. Hope that helps.
Regards,
Srinivas
OTN Team.
Maybe you are looking for
-
Installing Character Sets for different languages
We have a need to have the character sets installed for 14 different languages. Our BW system will receive data from other systems with different languages installed. We don't necessarily need to login with these languages but just need the character
-
Unable to export sequence and transcode in Media Encoder
Adobe CS4 Premiere Pro. I think I have done this sucessfully before and cannot remember what is different. I have a one hour tape that I successfuly captured in its entirety and burned to DVD. I take the original footage and in the source monitor c
-
HI Experts, Trying to make acknowledge from XI to R/3 through BPM but get error message Unable to convert the sender service <BPM_Process> to an ALE logical. The XI process flow is from SAP with Idoc to XI BPM and to JDBC. Have check setting in A
-
Is mandatory to create SAPSLDAPI and LCRSAPRFC in R/3 system??
Hi XI gurus... please tell me .. is mandatory to create tcp/ip connections SAPSLDAPI and LCRSAPRFC in R/3 side ?? thank you regards Ram
-
OS X Mavericks 10.9.3 Crashes Too Often
Hi, My iMac and MBP have been upgraded to OS X Mavericks 10.9.3. They crash too often. Ed