Commit working in embedded OC4J but not in Application Server 10g

Hi all
i am creating an application using Jdeveloper 9051+adf+uix.
here in a form i have a Create,Delete button and a commit button. after creating or deleting a row , i press commit button and it works fine in embedded OC4J.
But after deploying this application on Oracle Application Server 10g , create and delete buttons are working (means data in form is getting submitted) but commit button is not working (commit button is enabled but data is not getting commited in the table.) after pressing the commit button the form is coming back to its previous position and the commit button is yet enabled. if i presses it second time then button goes disabled but data is not commited at all.
Please provide me solution to this problem.
Thanks

Hi Brenden
Thanks for reply
in the application log file it is showing the following exception-
08/07/01 16:51:29 mail_utility_app: Servlet error
oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.xml.parser.v2.XMLDOMException, msg=cannot add a node belonging
to a different document
at oracle.jbo.server.Serializer.passivate(Serializer.java:189)
at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:290)
at oracle.jbo.server.DBSerializer.passivateRootAM(DBSerializer.java:277)
at oracle.jbo.server.ApplicationModuleImpl.passivateStateInternal(ApplicationModuleImpl.java:4587)
at oracle.jbo.server.ApplicationModuleImpl.passivateState(ApplicationModuleImpl.java:4479)
at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:6818)
at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:3886)
at oracle.jbo.common.ampool.ApplicationPoolImpl.doManagedCheckin(ApplicationPoolImpl.java:2131)
at oracle.jbo.common.ampool.ApplicationPoolImpl.releaseApplicationModule(ApplicationPoolImpl.java:1211)
at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:717)
at oracle.jbo.common.ampool.SessionCookieImpl.releaseApplicationModule(SessionCookieImpl.java:634)
at oracle.adf.model.bc4j.DCJboDataControl.releaseApplicationModule(DCJboDataControl.java:1340)
at oracle.adf.model.bc4j.DCJboDataControl.endRequest(DCJboDataControl.java:1198)
at oracle.adf.model.servlet.ADFBindingFilter.invokeEndRequest(ADFBindingFilter.java:289)
at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:238)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
i have only one entity and one view object. there is no different document as it is shown in the exception.
Thanks

Similar Messages

  • EJB lookup works in embedded OC4J but not stand-alone

    I use JDeveloper 9.0.3.1 to develop a combined web & EJB application. The EJBs are deployed on a 9.0.3 iAS server on a different machine.
    The EJB lookup is in a helper class that's called by the servlet. For EJB lookup, I use the class "com.evermind.server.rmi.RMIInitialContextFactory" as described by the OC4J servlet guide (http://download-uk.oracle.com/docs/cd/A97688_10/generic.903/a97680/develop.htm#1003973). So my code looks like this:
    Hashtable map = new Hashtable();
    map.put(Context.INITIAL_CONTEXT_FACTORY, "com.evermind.server.rmi.RMIInitialContextFactory");
    map.put(Context.PROVIDER_URL, "ormi://server:port/app-business");
    map.put(Context.SECURITY_PRINCIPAL, "admin");
    map.put(Context.SECURITY_CREDENTIALS, "password");
    map.put("dedicated.rmicontext", "true");
    InitialContext context = new InitialContext(map);
    Object thing = context.lookup("MyEjb");
    EJBHome feedback = (EJBHome)PortableRemoteObject.narrow(thing, "com.company.ejb.MyEjbHome");
    The last insert into the map (map.put("dedicated.rmicontext", "true");) wasn't mentioned neither in the servlet guide nor the EJB one. But without it, I'd always get some "domain is null" error.
    Now this code above works flawlessly in the embedded OC4J of JDeveloper. But it always hangs in the "Object thing = context.lookup("MyEjb");" line when executed either in a stand-alone OC4J (the one from JDeveloper launched through the batch file in [JDeveloper directory]\jdev\bin\start_oc4j.bat) or in the OC4J in iAS.
    Does anybody know why this happens or how to fix it? I know that there are other ways of EJB lookup in servlets but since we also have plain Java classes for testing purposes that access EJBs, this seemed like the simplest thing to do for both Java classes and servlets.

    I was referring to the java client case where this optoin is not required. In general for web clients one doesn't use the rmi initial context to find the bean. This is because the bean and the webclient are both packaged in the same application. One defines the ejb-ref in the web.xml for the bean and then looks it using the default initial context. Something like
    Context ctx = new InitialCOntext();
    ctx.lookup("bean ejb-ref-name");
    However if you must use rmi for accessing the bean from the web client then the dedicated connection property is required.
    For java clients you would setup the rmi context environment.
    Since you are trying to use a common utility class for both java and webclient I would recommend that you look into packaging the java client as a j2ee application client. Basically in that case you would be able to define a ejb-ref in the aplication-client.xml and use the default initial context in code for both the cases.
    Hope that helps
    Dhiraj

  • Ajax functionality works in embedded OC4J, but not on iAS 10.1.2

    Hi,
    For a customer, we made an ADF application using JDeveloper 10.1.2. Using instructions from http://www.oracle.com/technology/pub/articles/vohra-ajax.html we coded a servlet, to find a description from a code the user entered in the application, and show this on the webpage without page refresh (the application uses JSP and Struts). This works fine in the embedded oc4j server JDeveloper provides, and also works fine on the Standalone OC4J server. However, when the application is deployed to the iAS from the customer, everything works fine, except the ajax functionality, the description fields simply are not shown.
    Does anyone have a clue what could be the problem? We also runned the application on the iAS server itself, and this gives the same error (no ajax functionality).
    Thanks in advance,
    Remco

    Hi dvohra,
    Thanks for your reply. I'm afraid I overlooked something, which is the reason of the ajax functionality not working. The Servlet that made the Ajax functionality used a datasource, and the same was in the Embedded OC4J Preferences. The ADF Business Components part was changed to use the datasource declared on the iAS. The Servlet however was not...
    So, all works now.

  • Scrolling Header works in Visual Studio but not on Report Server 2008

    2008 R2 Reporting Services. My scrolling header works in Visual Studio but not when deployed to the Report Server and viewed in IE 9. I have read most every post on this issue and can't find a solution. I have the fixed data properties
    set correctly. Any suggestions?
    Help appreciated! 
    Linda

    Hi Linda,
    As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
    If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
    HTH,
    Ram
    Please vote as helpful or mark as answer, if it helps

  • Processbuilder works from command line but not on deployment server

    I need to deploy my code on a 10g oc4j Oracle server. When I ssh into the server and run the following code, it works:
    import java.util.*;
    import java.io.*;
    public class Launcher {
    public static void main(String args[]) throws IOException {
    String url = "http://www.ebay.com";
    String[] commands = {"/bin/sh", "-c", "/opt/sfw/bin/firefox ", url, "-width", "1600", "-height", "1200", ":5"};
    ProcessBuilder pb = new ProcessBuilder(commands);
    env.put( "DISPLAY", ":5" );
    Process process = pb.start();
    It launches firefox and I can see the process running when I use "ps -ef | grep firefox". Firefox runs in a virtual frame buffer since this is a headless server. Originally I had problems just getting this code working by itself, but now it works fine.
    However when I deploy the exact same code via Oracle application server, it doesn't do anything. Not only do no processes show up but I have added different output statements into this code and have verified that firefox never launches. However no error is ever thrown either, even when I just test for generic Exceptions. So any ideas on what I can do to get this running?

    Caffeine0001 wrote:
    sabre150 wrote:
    Solerous wrote:
    Also, I do handle the stdIn and stdOut in the code. I was trying to pair down the code in my inclusion of it here to just give the bear minimum for running it. Here is my code for handling it if you'd like to see it:
    InputStream is = process.getInputStream();
         InputStreamReader isr = new InputStreamReader(is);
         BufferedReader br = new BufferedReader(isr);
         String line;
         System.out.printf("Output of running %s is:",
         Arrays.toString(commands));
         while ((line = br.readLine()) != null) {
         System.out.println(line);
         }I don't see stderr being handled and your command array is still wrong.
    Edited by: sabre150 on Dec 10, 2008 4:48 PM
    If he were to call [ProcessBuilder.redirectErrorStream(true)|http://java.sun.com/j2se/1.5.0/docs/api/java/lang/ProcessBuilder.html#redirectErrorStream(boolean)] then all he has to handle is stdout.
    True, then that would be just one more important thing that the OP failed to post in his "*exact* same code" .

  • Upload files from my app works fine in JDev but NOT on app server???

    i guys,
    I'm using jdeve 10.1.2. and adf bc's. So here's my problem:
    In my application i need to allow for the upload of files from user's computers. This works perfectly fine from jdeveloper but when i deploy my application on the application server i get the following error:
    JBO-26041: Failed to post data to database during "Insert": SQL Statement "D:\TrademarkTestData\TrademarkunitTestData.xls (The system cannot find the path specified)".
    D:\TrademarkTestData\TrademarkunitTestData.xls (The system cannot find the path specified)
    For some reason the system cannot find the path. This is most frustrating as it works perfectly fine when run from jdeveloper.
    Any ideas would be most welcome.
    Thanks in advance,
    Newbe

    Hi Frank,
    Thanks for the response. I've consulted with our server guy and he says that there are no read/write privileges. Jdev is not on the server.
    I'm really stumped by this so if you have any ideas, I'd really appreciate it.
    Happr New Year to you,
    Newbe.

  • My jsp application works in embedded oc4j, but does not work on standalone

    env OC4J 10.1.3
    here is the error:
    javax.servlet.jsp.JspTagException: java.sql.SQLException: Closed Resultset: next
         at oracle.jsp.dbutil.tagext.dbNextTag.doStartTag(dbNextTag.java:105)
         at index.jspService(_index.java:220)
         [SRC:/mainPage.jspf:57]
         at com.orionserver[Oracle Containers for J2EE 10g (10.1.3.0.0) ].http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:662)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:370)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:478)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:401)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:719)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:299)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].server.http.AJPRequestHandler.run(AJPRequestHandler.java:187)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)

    Websites remembering you and automatically log you on is stored in a cookie.
    * Create an allow cookie exception (Tools > Options > Privacy > Cookies: Exceptions) to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    Make sure that you do not run Firefox in Private Browsing mode.
    * https://support.mozilla.com/kb/Private+Browsing
    Do not use Clear Recent History to clear the "Cookies" and the "Site Preferences"
    * https://support.mozilla.com/kb/Clear+Recent+History
    Clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    See also:
    * http://kb.mozillazine.org/Cookies

  • Jsp works in my tomcat but not in school server

    Using netbeans 5.5.1 and it has tomcat 5.5.17. My jsp page works fine when I use it on my computer but when I copy it to my school server(tomcat 5.5) it bugs when trying to contact oracle jdbc database.
    Whats wrong?
    Gives this error:
    HTTP Status 500 -
    type Exception report
    message
    description The server encountered an internal error () that prevented it from fulfilling this request.
    exception
    org.apache.jasper.JasperException: Exception in JSP: /index.jsp:35
    32:
    33:
    34:
    35: <%=db.opentables()%>
    36:
    37:
    38:
    Stacktrace:
         org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:506)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395)
         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)
         sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    root cause
    java.security.AccessControlException: access denied (java.net.SocketPermission [MY HOSTNAME HERE] resolve)
         java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
         java.security.AccessController.checkPermission(AccessController.java:427)
         java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
         java.lang.SecurityManager.checkConnect(SecurityManager.java:1031)
         java.net.InetAddress.getAllByName0(InetAddress.java:1117)
         java.net.InetAddress.getAllByName0(InetAddress.java:1098)
         java.net.InetAddress.getAllByName(InetAddress.java:1061)
         java.net.InetAddress.getByName(InetAddress.java:958)
         java.net.InetSocketAddress.<init>(InetSocketAddress.java:124)
         java.net.Socket.<init>(Socket.java:179)
         oracle.net.nt.TcpNTAdapter.connect(Unknown Source)
         oracle.net.nt.ConnOption.connect(Unknown Source)
         oracle.net.nt.ConnStrategy.execute(Unknown Source)
         oracle.net.resolver.AddrResolution.resolveAndExecute(Unknown Source)
         oracle.net.ns.NSProtocol.establishConnection(Unknown Source)
         oracle.net.ns.NSProtocol.connect(Unknown Source)
         oracle.jdbc.ttc7.TTC7Protocol.connect(TTC7Protocol.java:1764)
         oracle.jdbc.ttc7.TTC7Protocol.logon(TTC7Protocol.java:215)
         oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:371)
         oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:551)
         oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:351)
         java.sql.DriverManager.getConnection(DriverManager.java:525)
         java.sql.DriverManager.getConnection(DriverManager.java:171)
         MYCLASS.Database.opentables(Database.java:131)
         org.apache.jsp.index_jsp._jspService(index_jsp.java:86)
         org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
         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)
         sun.reflect.GeneratedMethodAccessor150.invoke(Unknown Source)
         sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         java.lang.reflect.Method.invoke(Method.java:585)
         org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:243)
         java.security.AccessController.doPrivileged(Native Method)
         javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
         org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:275)
         org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:161)
    note The full stack trace of the root cause is available in the Apache Tomcat/5.5 logs.
    Apache Tomcat/5.5
    Edited by: panupanu on Dec 13, 2007 6:04 AM

    duffymo wrote:
    Is the machine that you ran this simple java class on the same one where you're >deploying the web app?Same machine where my sql connections bug. I just copypasted it into a file in tomcat5.5/webapps directory and then compiled it and used it from there. I used it from command line.
    duffymo wrote:
    how well do you know jsps, tomcat, and web apps? sure it's deployed properly? if you >put in a simple jsp and invoked it via tomcat, would you be able to do it?Dont know jsps well. :) Essentially my jspservlet thingie works normally on my computer through my tomcat and on other computers which have netbeans etc... It compiles .war file and ive copied that .war file to the target server's tomcat webapps directory, then when I access the website of my jspservlet tomcat unpacks it and shows my jsp pages normally if they have no sql components. So at least jsp pages are working... :)
    "minor modifications"? sure those are right? you wouldn't be the first programmer to fool >themselves by saying "it's the same code - except for X."
    try you "minor modifications" on the command line, too.First I used with main on command line, then removed main etc... and included it into my project.

  • LabVIEW 2013 Web Service works on debug server but not on application server

    I have made a LabVIEW web service, that needs to get 2 inputs from the user through html request, and one input from a running VI. For this communication I have used a notifier to transfer data between the VI and the webservice method. This works perfectly fine on the debug server, but doesn't work when I deploy the web service on the Application Web Server. As shown in the attached snippets, I use a FGV to transfer the reference of the Notifier from the VI to the web service method. This is the same method that is described in this link.
    Is this method correct? Or am I missing something?
    Chinmay Anand Misra
    CLD
    Technical Marketing Engineer
    NI IndRA

    I can't find the right link but....
    There is something I ran across a while ago about how to enable the correct server port in you application.  The VI Server debug port gets enabled with debugging enabled but, you need to specify your services port in the <MyApp>.ini file.
    I'll sit back and watch the masters now
    Jeff

  • FLVplayback skin works in HTML locally, but not on a server.

    I am developing a Flash based website that plays a video file using the FLVplayback component. Everything works fine locally, the paths are all relative and everything (index.html, the SWF with the FLVplayback and the skin SWF) is all in the same place. I have checked my paths and am certain they are correct.
    once I upload everything to a server, my skin goes missing. Even though the video plays.
    unusual? yes.
    frusterating? yes.
    solution? none in sight.
    (sigh) I hope someone can help me here.
    - Jeremy

    Hi Linda,
    As a suggestion, I would try to delete the deployed version and instead of deploying ther RDL file, i would try to upload the file and test it.
    If the issue exisit, then I would download the exisiting version from the reportserver and compare the xml versions of the two reports and check if the propoerty is getting over written while deploying.
    HTH,
    Ram
    Please vote as helpful or mark as answer, if it helps

  • Integrate OC4J 10.0.x in Oracle Application Server 10g

    Ok, i have a Oracle Application Server 10g Enterprise Instance including Infrastructure on a Linux-Server. Its OC4J is a 9.0.4 OC4J following the J2EE 1.3 standard.
    So now Oracles offers a newer 10.0.x Developer Betarelease of OC4J wich will be in Production soon and happily enough this release implements J2EE 1.4 with real JAX-RPC Web Service Support (I need Web Services with Attachments!).
    My question: How to integrate a 10.0.x-Version of OC4J in an Oracle Application Server 10g Enterprise (v 9.0.x) Installation ??? Whitepapers? Documentations? Internetlinks would help alot !
    Thanks and keep the good work alive, oracle rules!!!
    bye from germany, marc

    Marc,
    I don't have an answer for you (sorry), but actually, OC4J stand-alone is a complete application server -- unless Oracle have hacked it so much as to intentionally turn it into a not complete application server (it wouldn't surprise me ;-) Perhaps OC4J stand-alone will be sufficient for your requirements?
    In case you are unaware, OC4J is derived from the "OrionServer". Unfortunately, their Web site is down temporarily, but these other sites may be enlightening:
    http://www.orionsupport.com
    http://kb.atlassian.com
    Good Luck,
    Avi.

  • JDeveloper 10.1.3.1 - injection works partiin embedded OC4J

    Hi,
    there are a few simple examples which do not work under embedded OC4J:
    Example #1:
    public class ContextListener implements ServletContextListener {
    @PersistenceUnit(unitName="myUnitName")
    private EntityManagerFactory emf;
    public ContextListener() {
    System.out.println( "constructor" );
    public void contextInitialized(ServletContextEvent event) {
    System.out.println( "init: emf = " + emf );
    When I run using embedded OC4J (testing servlet) - I see message 'constructor',
    but then hothing happens - no message from contextInitialized(), no response
    from servlet - IE displays 'page not found' message.
    Example 2:
    public class CatalogServlet extends HttpServlet {
    @PersistenceUnit(unitName="myUnitName")
    private EntityManagerFactory emf;
    public CatalogServlet( ) {
    System.out.println( "constructor" );
    public void init() throws ServletException {
    System.out.println( "Servlet init, emf = " + emf );
    Here results are a bit different: I see 'contrustor' message, then exception
    stack trace - and init() method of servlet did not get called.
    Note that:
    1) If instead of injecting EntityManagerFactory I try to inject session facade
    bean (using @EJB) - this works both in listener and in servlet.
    2) Injecting EntityManagerFactory works in my session facade bean,
    using the same @PersistenceUnit(unitName="myUnitName").
    3) Both examples above work well if I deploy application to WAR file
    and then deploy that WAR file to GlassFish application server.
    Is there something wrong with my code, or is there something wrong with
    embedded OC4J? May be some settings for OC4J that I missed?
    Regards, Leonid.

    Hello,
    It is a bug in the way the embedded OC4J is initializing the application.
    You can deploy successfuly deploy/run in the stand alone OC4J, so could you please for this purpose use the standalone version.
    Regards
    Tugdual Grall

  • FTP to fieldpoint works in development environment but not in deployed app?

    I have developed a VI which employs FTP to upload data files created by another application
    embedded on a FieldPoint, not altogether unlike the "Redundant Datalogger" example VI found
    in the NI Developer Zone. Unlike that example, I am not employing DataSockets, Citadel
    database functionality or any other DSC functionality which I know or suspect does not work
    in a deployed application without the DSC Run-Time Engine.
    This VI works fine when I run it in the LabVIEW Development System (Full + RT + DSC), but
    when I deploy the VI as a standalone application FTP (at least) appears to quit working.
    I don't have the specific error code -- my VI re-interprets FTP errors to a novice-
    friendly "check the LAN connection and/or FieldPoint power" warning and I will have to
    modify the code to extract better diagnostics. I will also not be able to probe further
    until I can get back to the fieldpoint, which is happily running its little app in a little
    one-room water plant in the mountains. Meanwhile, is there something more fundamental (and
    obvious to the veterans) which I am overlooking?
    This application employs DSC security features and I have deployed it bundled with the
    associated DSC files per the DSC manual instructions. All of that is apparently working fine;
    the stand-alone just won't FTP to the fieldpoint while the development copy will.
    Bob Miller
    P.S. This VI also employs TCP to continuously communicate control and status info with the
    fieldpoint, but the VI gives up on the link when FTP fails and never tries to open the TCP
    path.

    I will answer my own query for any casual readers. I dragged my
    notebook and my carcass up into the mountains last night to attempt
    to diagnose the problem. One word answer:
    Firewall.
    The Symantec firewall on the PC had been configured to allow Labview
    to access the network via TCP (which FTP is built on), but not an
    application named "Water Plant Watchdog". Reconfiguring the firewall
    (a two-minute job) fixed the problem.
    NI embeds a lot of "Disable Windows firewall" messages in the LabVIEW
    installer and/or documentation. This is an issue for a standalone PC
    connected to a fieldpoint and a dial-up ISP. So the firewall (and the
    LabVIEW application) must be managed to allow each other to do their
    job. Fortunately Symantec (Norton)'s firewall seems flexible enough.
    Bob

  • How do I troubleshoot installation/distribution of a LabVIEW .exe which processes data using Matlab when it works on some computers but not others?

    I've been given the unenviable task of troubleshooting and installing/distributing software written by a former co-worker. I've modified the LabVIEW code and built an .exe file. I've successfully installed the Labview .exe file on several computers, but it won't work on some others. What's more baffling is that I installed it successfully on one computer, uninstalled it, and tried reinstalling it with no success. In fact, it's a new error (Dr. Watson for Windows NT application error). It doesn't help that I have different versions of LabVIEW and Matlab on the target computers. Some have LabVIEW 5.1, some
    have 5.0, and some don't have it at all. Some have Matlab 5.2, some have 5.3 (R11) and some have 6.0 (R12). It's also not clear to me where the Matlab m files should be located. I'm not sure if it's a LabVIEW Runtime Engine problem, or if it's a Matlab problem. I've also wondered how LabVIEW and Matlab talk to each other. When LabVIEW calls Matlab, it seems that Matlab is running in the background. In other words, clicking on the Matlab Command Window and typing "whos" or any other command/variable doesn't work.

    Jay del Rosario wrote:
    >
    > How do I troubleshoot installation/distribution of a LabVIEW .exe
    > which processes data using Matlab when it works on some computers but
    > not others?
    Poke around zone.ni.com and
    http://digital.natinst.com/public.nsf/$$Search/ .
    Good luck, Mark

  • Site works in the app, but not in the browser.

    Hello iWeb experts,
    I've got problems.
    Last night I published my site. And while it appears, and functions, properly in my iWeb app, it doesn't do the same in Safari, Firefox, and Internet Explorer.
    Two issues...
    FONTS
    I chose Bellamie, Univers Condensed, and Marydale as my fonts. From reading these forums, I've discovered those won't wysiwyg on other computers if the fonts aren't available and open on them. So my two choices are to make every bit of text a graphic or to use a set of more universal fonts, correct? So my questions are...One, is there a list somewhere of fonts that will work in any browser? And, two, is there a short-cut, or easy way to transform type into a graphic without having to create image files?
    FUNCTIONS
    Here are the functions that work fine in iWeb but have gone haywire in all of the browsers I tested...
    • The type in one nav link appears smaller than all the rest.
    • Some links are active, others are not.
    • Rollover highlighting works on some links, but not others.
    • Most of the rollover links appear in the proper static color, a few do not.
    I've tested these functions on three Macs, one PC, and in the three browsers mentioned above. All of them show the exact same problems. So something must be going wrong with iWebs coding, or my host server musn't like iWeb.
    Any thoughts, suggestions on these two issues? Thanks much for any advice.
    John
    PS - For reference, see: www.johnrunk.com

    Fascinating, Kirk (+he types with one raised eyebrow+).
    QuickTimeKirk wrote:
    When I drag across your page most of your links do not change. The "text" portion of them doesn't change, either. Something is covering them.
    I can see that. But for the life of me, I don't know what could be covering those links. In my app, when I click in the area of the links, the type is the first item selected. Unless, possibly, it could somehow be the faint reflection of my black-and-white image (me & the ground I stand on). Hmmm...
    QuickTimeKirk wrote:
    Single click (outside the boundaries of your page contents) and an "outline" will appear. It shows the image file dimensions and locations.
    This I don't see. An outline? As in "an object outline," or as in "a list of dimensions and locations?" When I click outside my page contents, I get nothing.
    Thanks, QTK. I truly appreciate your troubleshooting here.
    John

Maybe you are looking for

  • How do I build an application that will run without being installed?

    I have seen some of the prior posts on trying to do this, but most of them were older, so I'll ask: Using 7.1, how do I build an application that will run without having to install the runtime engine? I have a client that wants to run serial port mon

  • Trouble with Secure Delete Files

    OK, I have upgragded to Tiger and I can't use WMP any longer. I'm a little angry about that, but I'll get over it. I moved WMP to the trash and am trying to do a secure file delete and I get the following error: The operation cannot be completed beca

  • Getting Redirect issue when clicked on CR controls after session expiry

    Dear Experts, I have a issue in my ASP.NET and crystal reports and the scenario is as follows: I have implemented some reports in my my ASP.NET page. If the page is left alone for 15 mins (assuming 15 mins is configured as session time out), and then

  • Can't access any bbc pages or iplayer on imac

    All of a sudden i can't access any bbc websites or iplayer on my imac (os 10.6.8) although I can on my macbookpro and iphone both using the same BT wireless router. Other than the BBC I can access all other websites. I've attempted the following to f

  • Can't remove music from my iPhone

    I have tried everything to remove music I no longer want from my iPhone.  I purchased an iMatch subscription and followed all the instructions to delete music from the Cloud.  Even after syching the music is STILL on my iPhone.  Any thoughts on how t