Running the hello example in client shell

I have followed the hello example for rmi_iiop okay until this following step. What should I do to make it run correctly?
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>java examples.rmi_iiop.
hello.HelloClient 000000000000002849444c3a6f6d672e6f72672f436f734e616d696e672f4e
616d696e67436f6e746578743a312e300000000001000000000000006a000101000000000b6c6961
7777616e2d6269000004c500000000003800424541000000000000002849444c3a6f6d672e6f7267
2f436f734e616d696e672f4e616d696e67436f6e746578743a312e30000000000800000001000000
000000000a00000000000000000000
Exception in thread "main" org.omg.CORBA.INITIALIZE: can't instantiate default O
RB implementation com.iona.corba.art.artimpl.ORBImpl minor code: 0 completed:
No
at org.omg.CORBA.ORB.create_impl(ORB.java:286)
at org.omg.CORBA.ORB.init(ORB.java:328)
at examples.rmi_iiop.hello.HelloClient.main(HelloClient.java:27)

Please look for a file named orb.properties in your classpath and in the c:\jdk1.3 directory and adjust it to your liking.
wanbih liaw wrote:
The classpath and path to run the client is:
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>echo %classpath%
;c:\jdk1.3\lib\dt.jar;c:\jdk1.3\lib\tools.jar;c:\weblogic\myserver\corbaclient;
C:\Inprise\vbroker\lib\migration.jar;C:\Inprise\vbroker\lib\vbdev.jar;C:\Inprise
\vbroker\lib\vbjdev.jar;C:\Inprise\vbroker\lib\vbjorb.jar
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>echo %path%
c:\jdk1.3\bin;C:\Inprise\vbroker\bin
You can see that no iona jars are involved. For unknown reason, the program referenced iona stuff and might have caused it not to run properly. Any help is appreciated.
"wanbih liaw" <[email protected]> wrote:
I have followed the hello example for rmi_iiop okay until this following step. What should I do to make it run correctly?
C:\weblogic\myserver\corbaclient\examples\rmi_iiop\hello>java examples.rmi_iiop.
hello.HelloClient 000000000000002849444c3a6f6d672e6f72672f436f734e616d696e672f4e
616d696e67436f6e746578743a312e300000000001000000000000006a000101000000000b6c6961
7777616e2d6269000004c500000000003800424541000000000000002849444c3a6f6d672e6f7267
2f436f734e616d696e672f4e616d696e67436f6e746578743a312e30000000000800000001000000
000000000a00000000000000000000
Exception in thread "main" org.omg.CORBA.INITIALIZE: can't instantiate default O
RB implementation com.iona.corba.art.artimpl.ORBImpl minor code: 0 completed:
No
at org.omg.CORBA.ORB.create_impl(ORB.java:286)
at org.omg.CORBA.ORB.init(ORB.java:328)
at examples.rmi_iiop.hello.HelloClient.main(HelloClient.java:27)

Similar Messages

  • Can't run the cluster example

              I would appreciate if someone can explanation my long list of questions regarding
              the deployment of EJB in cluster environment.
              I can't run the cluster EJB example( Teller/Account) in a cluster(contains two
              server2). I always get
              java.rmi.RemoteException: Unable to
              resolve examples.cluster.ejb.Account
              Home. Resolved: 'examples.cluster.ejb'
              Unresolved:'AccountHome'
              Following is my setup:
              Machine A: exampleServer:7001 (admin server)
              Machine A: testServer1:8001 (Managed server)
              Machine B: testServer1_B:8001(Managed server)
              MyCluster : testServer1, testServer1_B
              Test Client:
              java examples.cluster.ejb.Client "t3://Machine A:8001"
              ======================
              Q1: Should I use 8001 or 7001 as cluster port number?
              Q2: What will happen when we click "apply" after select/unselect the server in
              the "target", "server" tab?
              Q3: And what will happen if we click deploy/undeploy check box in "configuration"
              tab of EJB item?
              Q4: I check the JNDI tree from all above three servers can't find out JNDI tree
              doesn't reflect the change I did in Q2 or Q3.
              Q5: What is the right way to deploy EJB components, should we select both cluster
              and server in the "target" tab?
              Q6: I got this message from one of the server when I try to undeploy/deploy ejb
              object.
              "examples.cluster.ejb.TellerHome_EO in the jndi tree is non clusterable
              and you have tried to bind more
              once? How could I make it clusterable?
              Q7: Undeploy and EJB doesn't work and sometime I still get " JNDI name in use"
              from the server.
              How could I fix it.
              Thanks
              

    First I can tell you that the ports have to be the same, be on the the
              same network , i.e. Telnet into the other m/c. Next which you probably
              have done is the properties files. Per-cluster ...
              >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<
              On 6/7/01, 6:59:48 AM, "James Hsu" <[email protected]> wrote regarding
              Can't run the cluster example:
              > I would appreciate if someone can explanation my long list of
              questions regarding
              > the deployment of EJB in cluster environment.
              > I can't run the cluster EJB example( Teller/Account) in a
              cluster(contains two
              > server2). I always get
              > java.rmi.RemoteException: Unable to
              > resolve examples.cluster.ejb.Account
              > Home. Resolved: 'examples.cluster.ejb'
              > Unresolved:'AccountHome'
              > Following is my setup:
              > Machine A: exampleServer:7001 (admin server)
              > Machine A: testServer1:8001 (Managed server)
              > Machine B: testServer1_B:8001(Managed server)
              > MyCluster : testServer1, testServer1_B
              > Test Client:
              > java examples.cluster.ejb.Client "t3://Machine A:8001"
              > ======================
              > Q1: Should I use 8001 or 7001 as cluster port number?
              > Q2: What will happen when we click "apply" after select/unselect the
              server in
              > the "target", "server" tab?
              > Q3: And what will happen if we click deploy/undeploy check box in
              "configuration"
              > tab of EJB item?
              > Q4: I check the JNDI tree from all above three servers can't find out
              JNDI tree
              > doesn't reflect the change I did in Q2 or Q3.
              > Q5: What is the right way to deploy EJB components, should we select
              both cluster
              > and server in the "target" tab?
              > Q6: I got this message from one of the server when I try to
              undeploy/deploy ejb
              > object.
              > "examples.cluster.ejb.TellerHome_EO in the jndi tree is non
              clusterable
              > and you have tried to bind more
              > once? How could I make it clusterable?
              > Q7: Undeploy and EJB doesn't work and sometime I still get " JNDI
              name in use"
              > from the server.
              > How could I fix it.
              > Thanks
              [att1.html]
              

  • Got NullPointerException we I try to run the attachment example of Axis1.4.

    Hi,
    Enviroment:
    OS: Ubuntu 7.04.
    Server: Apache Tomcat6.
    IDE: Eclipse3.2 + MyEclipse5.01
    Axis1.4.
    I have been trying to run the attachment example which locate ../samples.attachments.
    I composed program arguments as below according to README file which is included in this sample.
    java EchoAttachment
    -hlocalhost
    -lhttp://localhost:8080/axis/services/urn:EchoAttachmentsService
    -saxis/servlet/AxisServlet
    -p8080 /home/hut/wanglinghua.java
    But these exceptions were printed on the console:
    - Exception:
    java.lang.NullPointerException
         at java.lang.String.concat(String.java:1827)
         at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
         at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
         at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
         at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
         at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
         at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
         at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
         at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
         at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
         at javax.activation.DataHandler.getInputStream(DataHandler.java:222)
         at javax.activation.DataHandlerDataSource.getInputStream(DataHandler.java:658)
         at org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:115)
         at org.apache.axis.attachments.MimeUtils.getContentLength(MimeUtils.java:60)
         at org.apache.axis.attachments.AttachmentsImpl.getContentLength(AttachmentsImpl.java:438)
         at org.apache.axis.Message.getContentLength(Message.java:512)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:373)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1870)
         at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
         at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:492)
         at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
    - Exception:
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:java.lang.NullPointerException
         at java.lang.String.concat(String.java:1827)
         at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
         at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
         at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
         at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
         at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
         at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
         at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
         at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
         at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
         at javax.activation.DataHandler.getContent(DataHandler.java:501)
         at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1055)
         at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923)
         at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904)
         at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream(MimeUtils.java:201)
         at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:493)
         at org.apache.axis.Message.writeTo(Message.java:545)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:511)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1870)
         at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
         at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:492)
         at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
         {http://xml.apache.org/axis/}hostname:hutwang
    java.lang.NullPointerException
         at org.apache.axis.AxisFault.makeFault(AxisFault.java:101)
         at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:512)
         at org.apache.axis.Message.writeTo(Message.java:545)
         at org.apache.axis.transport.http.HTTPSender.writeToSocket(HTTPSender.java:511)
         at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:138)
         at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
         at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
         at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:1870)
         at org.apache.axis.soap.SOAPConnectionImpl.call(SOAPConnectionImpl.java:90)
         at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:492)
         at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
    Caused by: java.lang.NullPointerException
         at java.lang.String.concat(String.java:1827)
         at com.sun.activation.registries.MailcapFile.parseLine(MailcapFile.java:235)
         at com.sun.activation.registries.MailcapFile.parse(MailcapFile.java:197)
         at com.sun.activation.registries.MailcapFile.createMailcapHash(MailcapFile.java:157)
         at com.sun.activation.registries.MailcapFile.<init>(MailcapFile.java:40)
         at javax.activation.MailcapCommandMap.loadFile(MailcapCommandMap.java:276)
         at javax.activation.MailcapCommandMap.<init>(MailcapCommandMap.java:128)
         at javax.activation.CommandMap.getDefaultCommandMap(CommandMap.java:44)
         at javax.activation.DataHandler.getCommandMap(DataHandler.java:136)
         at javax.activation.DataHandler.getDataContentHandler(DataHandler.java:568)
         at javax.activation.DataHandler.getContent(DataHandler.java:501)
         at javax.mail.internet.MimeBodyPart.updateHeaders(MimeBodyPart.java:1055)
         at javax.mail.internet.MimeMessage.updateHeaders(MimeMessage.java:1923)
         at javax.mail.internet.MimeMessage.saveChanges(MimeMessage.java:1904)
         at org.apache.axis.attachments.MimeUtils.writeToMultiPartStream(MimeUtils.java:201)
         at org.apache.axis.attachments.AttachmentsImpl.writeContentToStream(AttachmentsImpl.java:493)
         ... 13 more
    Received problem response from serverReceived problem response from server
    AxisFault
    faultCode: {http://xml.apache.org/axis/}
    faultSubcode:
    faultString: Received problem response from server
    faultActor:
    faultNode:
    faultDetail:
         {http://xml.apache.org/axis/}stackTrace:Received problem response from server
         at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:497)
         at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
         {http://xml.apache.org/axis/}hostname:hutwang
    Received problem response from server
         at example.attachments.EchoAttachment.echoUsingSAAJ(EchoAttachment.java:497)
         at example.attachments.EchoAttachment.main(EchoAttachment.java:323)
    Here, the required jar - activation.jar and mail.jar have been placed into eclipse build path.
    Could anyone shed some light on this?
    Thanks,
    -Hut
    Edited by: HutWang on Sep 24, 2007 2:25 AM
    Edited by: HutWang on Sep 24, 2007 2:27 AM
    Edited by: HutWang on Sep 24, 2007 2:29 AM

    This is a dedicated forum for Sun WebServer. You may post your question in Tomcat. If you use our WebServer7 for your deployment, you may bring the case here.

  • Help -   running the Persistence Example

    Hi All,
    I am running on NW2004s SPS10
    Please somebody has a Persistence example?? I can't run the SAP examples on my PDA (Dell AXIM X51v +Windows Mobile 2005) i found this information in the SAP Note 717510
    <i>MDK: Links to MI client home page <b>are not working</b> in some example programs
    Application is working fine but for the ME Home link for 3 MDK applications: MDK_persistence_query_sortJSP, MDK_persistence_queryJSP and MDK_persistence_simpleJSP.
    ( Changed at 30.04.2007 )</i>
    I would like to run the MDK_persistence_simpleJSP
    There is another Persistence example? Can somebody give me a link to download it. I want to learn how to use the persistence api, but without any running example is very difficult to test the code.
    Best Regards,
    Erick Ilarraza

    Hi all! Thank a lot for your replies.
    I run the MDK_PERSISTENCE_QUERYJSP in the Windows XP SAP Mobile Client, it runs Perfect!
    But when i try to run it on my PDA it give me this error:
    Error: 500
    Location: /MDK_PERSISTENCE_QUERYJSP/jsp/menu.jsp Internal Servlet Error:
    org.apache.jasper.JasperException: Unable to compile class for JSPerror: Invalid class file format: /MI/webapps/MDK_PERSISTENCE_QUERYJSP/WEB-INF/lib/MDK_persistence_queryJSP.jar(persistenceexample2/PersistenceExample.class), wrong version: 48, expected 45
    /MI/work/localhost_8080%2FMDK_PERSISTENCE_QUERYJSP/_0002fjsp_0002fmenu_0002ejspmenu_jsp_0.java:15: Class persistenceexample2.PersistenceExample not found in import.
    import persistenceexample2.PersistenceExample;
           ^
    2 errors
    at org.apache.jasper.compiler.Compiler.compile()
    at org.apache.jasper.servlet.JspServlet.doLoadJSP()
    at org.apache.jasper.servlet.JasperLoader12.loadJSP()
    at org.apache.jasper.servlet.JspServlet.loadJSP()
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary()
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service()
    at org.apache.jasper.servlet.JspServlet.serviceJspFile()
    at org.apache.jasper.servlet.JspServlet.service()
    at javax.servlet.http.HttpServlet.service()
    at org.apache.tomcat.core.ServletWrapper.doService()
    at org.apache.tomcat.core.Handler.service()
    at org.apache.tomcat.core.ServletWrapper.service()
    at org.apache.tomcat.facade.RequestDispatcherImpl.doForward()
    at org.apache.tomcat.facade.RequestDispatcherImpl.forward()
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.dispatchRequest()
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe()
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet()
    at javax.servlet.http.HttpServlet.service()
    at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service()
    at javax.servlet.http.HttpServlet.service()
    at org.apache.tomcat.core.ServletWrapper.doService()
    at org.apache.tomcat.core.Handler.service()
    at org.apache.tomcat.core.ServletWrapper.service()
    at org.apache.tomcat.core.ContextManager.internalService()
    at org.apache.tomcat.core.ContextManager.service()
    at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection()
    at org.apache.tomcat.service.TcpWorkerThread.runIt()
    at org.apache.tomcat.util.ThreadPool$ControlRunnable.run()
    at java.lang.Thread.run()
    But this has no sense!! since both Windows XP MI Client and PDA MI CLient are at the same version. So It run in my Desktop but not in my PDA.
    I saw the menu.jsp file
    They used the PersistenceExample class in two places:
    At the beginning of the JSP: <b><%@ page import="persistenceexample2.PersistenceExample" %></b>
    And here:
    String value = dataBean.getTableContent(i, j);
                if (i > 1) {
                     <b>value = PersistenceExample.encodeForHtml(value);</b>
                if (value.trim().length() < 1){
                     value = " ";
    From a point of view of Java, everything appear to be "OK"
    The other error is about a "version" should i configured the application to Version 45 in the nwa when i deploy the application?
    Best Regards,
    Erick Ilarraza

  • Getting error while running the hello page

    hi all,
    i am using the R12.1.1 on windows XP patch is 8431482.
    i working unser the proxy setting .
    i set the default IP Address under the Tools->Embeded OC4j Preference server -> Startup -> Default IP address, instead of this when i running the Hello Page, it is being pop up error :
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 39:
    PLS-00103: Encountered the symbol "?" when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
         at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.sql.SQLException: ORA-06550: line 1, column 39:
    PLS-00103: Encountered the symbol "?" when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.sql.TRANSDUMP.getTransitions(TRANSDUMP.java:59)
         at oracle.sql.TIMEZONETAB.updateTable(TIMEZONETAB.java:456)
         at oracle.sql.TIMESTAMPLTZ.getZoneOffset(TIMESTAMPLTZ.java:1842)
         at oracle.sql.TIMESTAMPLTZ.TimeZoneAdjust(TIMESTAMPLTZ.java:1715)
         at oracle.sql.TIMESTAMP.TimeZoneConvert(TIMESTAMP.java:677)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone9i(OracleTimezone.java:317)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone(OracleTimezone.java:264)
         at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    java.sql.SQLException: ORA-06550: line 1, column 39:
    PLS-00103: Encountered the symbol "?" when expecting one of the following:
    ( ) - + case mod new not null <an identifier>
    <a double-quoted delimited-identifier> <a bind variable>
    table continue avg count current exists max min prior sql
    stddev sum variance execute multiset the both leading
    trailing forall merge year month day hour minute second
    timezone_hour timezone_minute timezone_region timezone_abbr
    time timestamp interval date
    <a string literal with character set specification>
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:138)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:184)
         at oracle.jdbc.driver.T4CCallableStatement.execute_for_rows(T4CCallableStatement.java:873)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1161)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3001)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3093)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4286)
         at oracle.sql.TRANSDUMP.getTransitions(TRANSDUMP.java:59)
         at oracle.sql.TIMEZONETAB.updateTable(TIMEZONETAB.java:456)
         at oracle.sql.TIMESTAMPLTZ.getZoneOffset(TIMESTAMPLTZ.java:1842)
         at oracle.sql.TIMESTAMPLTZ.TimeZoneAdjust(TIMESTAMPLTZ.java:1715)
         at oracle.sql.TIMESTAMP.TimeZoneConvert(TIMESTAMP.java:677)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone9i(OracleTimezone.java:317)
         at oracle.apps.fnd.util.OracleTimezone.convertTimezone(OracleTimezone.java:264)
         at oracle.apps.fnd.framework.OANLSServices.convertTimezone(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContextInternal(Unknown Source)
         at oracle.apps.fnd.framework.OANLSServices.getUserLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.initLocaleContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.configure(Unknown Source)
         at oracle.apps.fnd.framework.webui.OARenderingContext.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageContextImpl.<init>(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.createPageContext(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
         at OA.jspService(_OA.java:71)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
         at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Regards,
    Krishna

    Make sure you have installed the right version of Jdeveloper.
    Thanks
    --Anil                                                                                                                                                                                   

  • Am getting the following error while running the servlet example

    Hi,
    am getting the following error while running the servlet example
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    java.lang.NullPointerException
         edu.dao.StudentDao.insertStudent(StudentDao.java:18)
         edu.servlet.StudentServlet.doGet(StudentServlet.java:25)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs.
    Thanks
    //sreekanth

    Hi,
    the following code i have written in StudentDao
    package edu.dao;
    import java.sql.Connection;
    import java.sql.PreparedStatement;
    import java.sql.SQLException;
    import org.apache.commons.dbutils.DbUtils;
    import edu.model.Student;
    import edu.util.DBUtil;
    public class StudentDao {
         public void insertStudent(Student student) {
              String stuQuery = "INSERT INTO STUDENT VALUES(?,?)";
              Connection connection = DBUtil.getConnection();
              PreparedStatement preparedStatement = null;
              try {
                   preparedStatement = connection.prepareStatement(stuQuery);
                   preparedStatement.setString(1,student.getStudentNo());
                   preparedStatement.setString(2, student.getStudentName());
                   preparedStatement.executeUpdate();
              } catch(SQLException e){
                   System.out.println("..Sql exception......");
              }finally {
                   DbUtils.closeQuietly(connection,preparedStatement,null);
    }

  • In running the datalgr example, I get the error NIDAQ32.dll cannot start.... then program exits. Version of NI DAQ is 6.9.2, using MS C++.

    In running the datalgr example, I get the error NIDAQ32.dll cannot start.... then program exits. Version of NI DAQ is 6.9.2, using MS C++.

    Since this is a DAQ question more than a Measurement Studio for VC++ question, I'd recommend you repost it to the DAQ forum.
    Cheers,
    Azucena

  • Help Running The SpeakHere Example

    Hi,
    I'm a newbie to iphone development coming from world of windows, so apologies in advance if it's a dumb question. I'm trying to run the SpeakHere example but so far unable to do so. The program compiles and launches, but freezes when I click 'record'. I tried to debug, and it seems to crash at:
    recorder->StartRecord(CFSTR("recordedFile.caf"));
    At least it doesn't go past this line (there's no error). So far I checked that audio input works in another app (garage band), gave the speakhere's sandbox full permissions, made sure I have the latest version of the os and sdk, and now not too sure what to do. Any help greatly appriciated.

    Problem Solved:
    After discovering where to look for errors I found that the error was:
    Error loading /Library/QuickTime/DivX Decoder.component...
    The solution was to remove the decoder and encoder from the /Library/QuickTime folder.

  • Running the heapTracker example

    Hi there
    I am trying to run the heapTracker example that is in the demo/jvmti directory, and I am having problems with it. When I try to run it with what it says in the readme file (java -Xbootclasspath/a:heapTracker.jar), I get the following error message:
    ERROR: JNI: Cannot find heapTracker with FindClass
    It seems like a small problem, but it is making me go crazy! Has anyone else ever encountered this before?
    Cheers
    Sajid

    Hi
    Yeah, I managed to get it to work� I move the jar file into the same directory as the dll�s�seems a bit strange, but it worked.
    A problem I am going to try and make some changes to the heaptracker, but I can not get it to compile, the errors I have listed below. It looks like I am missing a library or something, but I am not sure which. Has anyone else ever encountered a problem like this?
    error LNK2019: unresolved external symbol fatalerror referenced in function _checkJvmtiError     heapTracker.obj     
    error LNK2019: unresolved external symbol javacrw_demo@76 referenced in function _cbClassFileLoadHook@40     heapTracker.obj     
    error LNK2019: unresolved external symbol javacrw_demo_classname@12 referenced in function _cbClassFileLoadHook@40     heapTracker.obj     
    error LNK2019: unresolved external symbol stdoutmessage referenced in function parseagent_options     heapTracker.obj     
    error LNK2019: unresolved external symbol gettoken referenced in function parseagent_options     heapTracker.obj     
    Any help would be very much appreciated.
    Thank You
    Sajid

  • Calling report from forms while running the application from thin clients

    I am using thin client technology with 64MB RAM for running developer 6i application.
    The server has windows 2000 advanced server with 256 MB RAM.
    When I run the apllication from a single client, it works fine even for multiple windows.
    But the moment I switch on more thin clients, the client which fired the printing job first works fine, while the others allow data entry using forms but any call to report for direct printing throws an illegal condition error. I have tried both run_product and host option for running reports. The error returned is the same.
    Howver if the report is run from command prompt simultaneously from both the clients it works fine.
    Immediate help required in this case
    chandandeep

    Hi,
    you better off using Run_Report_Object() instead of Run_Product(). There is a Whitepaper available on otn.oracle.com/products/forms that details this. The problem that you run into is that Forms Services(thin clients) are multi user environments while Reports called via Run_Product() is a single user environment. This means that the Reports Runtime does not handle Reports requests in parallel but sequential one at a time. The first user blocks the runtime engines and all other hang for this time.
    Fran

  • Error when running the Web Services java client file

    Hi,
    I am working on web services with 9iAS.
    I am using the StatelessExample file included during installation.
    The ear file was created and the application was deployed using OEM Web.
    But when I try to execute the client java file StatelessClient. I get an error. The error is something about content type.
    The error message is pasted below.
    And also how do I run the web service on the browser.
    Please help.
    regards
    Kamlesh
    D:\ora9ias_portal\j2ee\home\demo\web_services\java_services\client>java -classpa
    th .;StatelessExample_proxy.jar;%CLASSPATH%; StatelessClient
    Exception in thread "main" [SOAPException: faultCode=SOAP-ENV:Protocol; msg=Unsu
    pported response content type &quot;text/html&quot;, must be: &quot;text/xml&quo
    t;. Response was:
    &lt;HTML&gt;&lt;HEAD&gt;&lt;TITLE&gt;500 Internal Server Error&lt;/TITLE&gt;&lt;
    /HEAD&gt;&lt;BODY&gt;&lt;H1&gt;500 Internal Server Error&lt;/H1&gt;&lt;PRE&gt;or
    acle.j2ee.xanadu.JasperGenerationError: no source generated during code generati
    on!: 1 in getFile name: oracle\j2ee\ws_example\StatelessExample.class
    &lt;br&gt;1 in getFile name: oracle\j2ee\ws_example\StatelessExample.java
    &lt;br&gt;error: error message &apos;class.format&apos; not found&lt;br&gt;binar
    y class definition not found: oracle.j2ee.ws_example.StatelessExample
    &lt;br&gt;
    &lt;br&gt;      at oracle.j2ee.ws.JavaWrapperGenerator.generate(JavaWrapperGener
    ator.java:267)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generateWrapperClass(RpcWebServi
    ce.java:662)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.generate(RpcWebService.java:436)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.getWrapper(RpcWebService.java:76
    7)
    &lt;br&gt;      at oracle.j2ee.ws.RpcWebService.doPost(RpcWebService.java:309)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:283)
    &lt;br&gt;      at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
    &lt;br&gt;      at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
    &lt;br&gt; at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java
    :283)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:2
    69)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].serv
    er.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
    &lt;br&gt; at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util
    .ThreadPoolThread.run(ThreadPoolThread.java:64)
    &lt;br&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;
    at org.apache.soap.rpc.Call.getEnvelopeString(Call.java:201)
    at org.apache.soap.rpc.Call.invoke(Call.java:260)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.makeSOAPCallRPC(St
    atelessExampleProxy.java:51)
    at oracle.j2ee.ws_example.proxy.StatelessExampleProxy.helloWorld(Statele
    ssExampleProxy.java:35)
    at StatelessClient.main(StatelessClient.java:8)

    If you are getting this error, then you are most likely compiling your code with a different JVM than what is shipped with the application server. Oracle9iAS Release 2 (9.0.2) uses the JDK1.3.1. I got this error when I compiled the code with JDK1.4.0_01.

  • Problem running the bookstore6 example from J2EE 1.5  Tutorial

    Hi,
    I got the bookstore6 example running on my windows XP box within glassfish. I am able access the URL http://localhost:8080/bookstore6. But whenever I click on the map or a link to pick a locale, I get an exception. Below is what I see in the server log file. Any help is appreciated.
    [#|2006-08-15T15:15:59.147-0700|WARNING|sun-appserver-pe9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=13;_ThreadName=httpWorkerThread-8080-0;_RequestID=fcb38d2f-9e92-4a7b-a439-0715d61ed98a;|executePhase(INVOKE_APPLICATION 5,com.sun.faces.context.FacesContextImpl@135b92e) threw exception
    javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:105)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:619)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:550)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:780)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    Caused by: javax.faces.FacesException: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:521)
         at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:63)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:153)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:88)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:776)
         at javax.faces.component.UICommand.broadcast(UICommand.java:368)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:471)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:783)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         ... 28 more
    Caused by: javax.faces.FacesException: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:325)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:510)
         ... 42 more
    Caused by: com.sun.enterprise.InjectionException: Exception attempting to inject Env-Prop: books@Field-Injectable Resource. Class name = com.sun.bookstore6.backing.AbstractBean Field [email protected]@@@ into class com.sun.bookstore6.backing.AbstractBean
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:373)
         at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
         at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)
         at com.sun.faces.vendor.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:65)
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:312)
         ... 43 more
    Caused by: com.sun.enterprise.InjectionException: Illegal use of static field private static javax.persistence.EntityManager com.sun.bookstore6.backing.AbstractBean.em on class that only supports instance-based injection
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:292)
         ... 47 more
    |#]
    [#|2006-08-15T15:15:59.163-0700|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-8080-0;_RequestID=fcb38d2f-9e92-4a7b-a439-0715d61ed98a;|StandardWrapperValve[FacesServlet]: PWC1406: Servlet.service() for servlet FacesServlet threw exception
    com.sun.enterprise.InjectionException: Illegal use of static field private static javax.persistence.EntityManager com.sun.bookstore6.backing.AbstractBean.em on class that only supports instance-based injection
         at com.sun.enterprise.util.InjectionManagerImpl._inject(InjectionManagerImpl.java:292)
         at com.sun.enterprise.util.InjectionManagerImpl.inject(InjectionManagerImpl.java:193)
         at com.sun.enterprise.util.InjectionManagerImpl.injectInstance(InjectionManagerImpl.java:87)
         at com.sun.faces.vendor.GlassFishInjectionProvider.inject(GlassFishInjectionProvider.java:65)
         at com.sun.faces.config.ManagedBeanFactoryImpl.newInstance(ManagedBeanFactoryImpl.java:312)
         at com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:510)
         at com.sun.faces.el.ManagedBeanELResolver.getValue(ManagedBeanELResolver.java:82)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:68)
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:63)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:153)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at javax.faces.event.MethodExpressionActionListener.processAction(MethodExpressionActionListener.java:88)
         at javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
         at javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:776)
         at javax.faces.component.UICommand.broadcast(UICommand.java:368)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:471)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:783)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:231)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:619)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:550)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:780)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:326)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    |#]
    Message was edited by:
    hongyan99
    Message was edited by:
    hongyan99

    I got this same problem. But when I droped static from the original code I get another error. Please help.
    [#|2006-12-13T14:37:41.806+0100|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=13;_ThreadName=httpWorkerThread-8080-1;_RequestID=66d98196-7004-4c04-8255-0391a8077d16;|StandardWrapperValve[FacesServlet]: Servlet.service() for servlet FacesServlet threw exception
    javax.faces.FacesException: Could not get book details com.sun.bookstore.exception.BooksNotFoundException: Could not get books: Unable to retrieve EntityManagerFactory for unitName null
         at com.sun.bookstore6.backing.BookstoreBean.getFeatured(BookstoreBean.java:58)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at javax.el.BeanELResolver.getValue(BeanELResolver.java:273)
         at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
         at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:62)
         at com.sun.el.parser.AstValue.getValue(AstValue.java:117)
         at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:192)
         at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
         at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:100)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:279)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:207)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.faces.renderkit.html_basic.CommandLinkRenderer.encodeChildren(CommandLinkRenderer.java:203)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
         at javax.faces.render.Renderer.encodeChildren(Renderer.java:137)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:883)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:182)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:278)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:240)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:179)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:536)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.invokeAdapter(ProcessorTask.java:667)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.processNonBlocked(ProcessorTask.java:574)
         at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:844)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:287)
         at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:212)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:75)
    |#]
    Message was edited by:
    dujemalenica

  • Not able to get Out-of-the-Box Examples Index Page for running the jsp examples

    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas

    Hi.
    Please post all WLS 7.0 beta questions to the beta newsgroups -
    weblogic.developer.interest.70beta.*.
    Thanks,
    Michael
    Vikas wrote:
    Hi
    I am a new person using weblogic first time I installed the weblogic 7.0 beta
    version on my machine.I am trying to start the weblogic server console so that
    I can configure web applications examples on my machine.
    I am getting following error and not able to view Out-of-the-Box Examples Index
    Page
    error:
    <Apr 5, 2002 12:11:39 PM IST> <Error> <SystemDataStore> <null> <Unable to listen
    on Port 7003: Address in use: JVM_Bind>
    Please help me to find the reason to have this problem
    Thank You in advance
    Vikas--
    Michael Young
    Developer Relations Engineer
    BEA Support

  • I am new to java card . I am running the Sample Example given and some.....

    I am using the ACR 38 Smart card System
    I am running the applet file of ACOS 3
    in the First button
    ACCOUNT :
    what to enter in the Credit,Debit,Certify,Revoke text fields and while clicking those buttons in bottom ,it just focusing on the particular text field is this the case
    CREATE FILES:
    Why the drop down list of Select Reader is activating after clicking intialize button .How to create files

    Hey Carolyn1951,
    Thanks for the question. I understand you have a few apps that only display "Waiting". The following is a past discussion that dealt with a similar issue, the answer may help you as well:
    App updates won't download on my...: Apple Support Communities
    https://discussions.apple.com/thread/4111336
    Try tapping the App, so that it changes to Paused instead of Waiting, then tap it again to resume the install.
    Make sure you don't have any paused downloads in other apps either, like the App Store or iTunes Store.
    If that doesn't do it, try resetting or restoring the iPhone.
    via whatheck
    Thanks,
    Matt M.

  • Error 500 while running the application on Mobile Client

    Hi all,
    I have made a smart sync project using the XML file of SYNCBo's.
    When I synchronize in my MI client,the application name is appearing on the homepage.
    But when i click on the application I get the following error trace::
    Error: 500
    Location: /MIAPP2/start
    Internal Servlet Error:
    java.lang.NullPointerException
         at com.sap.ip.me.smartsync.data.RowManager$1.elementCount(RowManager.java:115)
         at com.sap.ip.me.smartsync.data.SyncBoCollectionImpl.(SyncBoCollectionImpl.java:27)
         at com.sap.ip.me.smartsync.data.SyncBoDataFacadeImpl.getSyncBos(SyncBoDataFacadeImpl.java:129)
         at miProjectPackage.dataaccess.SmartSyncDBAccess.getRowInstances(SmartSyncDBAccess.java:94)
         at miProjectPackage.dataaccess.TableContentProvider.getTableWithSyncBoNames(TableContentProvider.java:83)
         at miProjectPackage.MiProjectClass.showSyncBoNames(MiProjectClass.java:236)
         at miProjectPackage.MiProjectClass.doHandleEvent(MiProjectClass.java:71)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGetNotThreadSafe(AbstractMEHttpServlet.java:347)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.doGet(AbstractMEHttpServlet.java:689)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at com.sap.ip.me.api.runtime.jsp.AbstractMEHttpServlet.service(AbstractMEHttpServlet.java:313)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:405)
         at org.apache.tomcat.core.Handler.service(Handler.java:287)
         at org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372)
         at org.apache.tomcat.core.ContextManager.internalService(ContextManager.java:806)
         at org.apache.tomcat.core.ContextManager.service(ContextManager.java:752)
         at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(HttpConnectionHandler.java:213)
         at org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
         at org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:501)
         at java.lang.Thread.run(Thread.java:534)
    Im new to MI .Can anybody suggest where am i wrong?
    Juhi..

    Dear Juhi,
    The "app name" thing is what I tried telling you yesterday. I advice you to reset the client data from settings link in client, sync a couple of times, check the status of the undeployed app in the Web Console / NWA, and if problem persists, remove assignment of the new app, sync couple of times, and then add app again.
    By the way, have you got the name thing right? See the Application name, not the project name should be the same with the name of the war/sda file and the app/component name in the j2ee engine. I had wanted you to see the following text in your NWDS help - > SAP Net. Dev. Studio Doc.->MI Dev./MDK ->Go and create ->First Example JSP:
    The class SystemInfo extends AbstractMEHttpServlet which extends javax.servlet.http.HttpServlet itself. The method doHandleEvent does:
    Implemented Classes in the Servlet for the Example
    We create a class SystemInfo that extends the class AbstractMEHttpServlet and implements Constants. Constants is an interface in which we define all relevant variables for the application. All variables used in Constants are written in uppercase characters. So anytime you see an uppercase variable used in class SystemInfo you will find the definition in interface Constants.
    The class SystemInfo extends AbstractMEHttpServlet which extends javax.servlet.http.HttpServlet itself. The method doHandleEvent does:
    public String getApplicationName()
    This method has to be overwritten. It returns the name of the MI client application. The name specified here has to be the same used for the WAR file name and the name of the application specified in the MI Webconsole.
    Regards,
    Veera

Maybe you are looking for

  • I want to create a USB drive for Mountain Lion and have no discs

    I have a nice shiny new 27: iMac and was hoping to create a USB boot drive in case I need it. The iMac does not come with a disk drive and Mountain Lion is purchased via the App Store, so there are no disks with which to build the boot drive. I tried

  • XSU Problem:Error-- Cannot map Unicode to Oracle character

    Hi, I am using XSU to get the resultset from database(oracle 9.2.0.6.0) as XML.When I query data from some columns and get the XMLString, they give me error -"Cannot map Unicode to Oracle character". The database charset is "US7ASCII" . One column is

  • OCFS2 problem with Redhat Linux Update 1

    Hi all, I get the following error when I tried to mount the ocfs2 partition: =============== [root@linux1 log]# mount -t ocfs2 -o datavolume /dev/sda1 /u02/oradata/orcl mount.ocfs2: No such device while mounting /dev/sda1 on /u02/oradata/orcl =======

  • How to close PDF form in Browser

    Hi, Does anyone knows if there are any way to close a PDF form that is opened in a browser (Internet Explorer 6)? In my form, there is a button that is supposed to close the form when clicked, it is working if I launched the form in Reader but does n

  • What is the latest version of Mac OSX that can be used on a PowerPC G5 iMac? And if it is 10.5, where to get it?

    This iMac is running 10.4.11 and I would like to update it. The packaging on my Snow Leopard disc from a more recently purchased MacBook says it does not support PowerPC chipset machines. Can't find much info about 10.5 and it is not offered on the M