Deploying application with class files compiled using ojspc

Hi,
I want to deploy the application having class files compiled using ojspc in Oracle9iAS Release 2 rather than having JSP pages.
Thanks,
Pritam

Hi Manoj,
I have tried doing something like this.
If you want to try this out running on a NW2004s.You need to first download the entire project from perforce branch (
tc\webdynpro\clientserver)for NWDS 7.0 and then build the project locally in your java perspective.
During the local build of the project.It will also point out the dependent projects required by this project(clientserevr).
Once the project is build.
Create seperate external jars of the clientserver project and its dependent projects and save them locally.
Open your SDM manager,pick up this jar file from there and deploy it.
Once the deployment is over, the server is ready to run the application you created.
But this make your NWDS2004s to behave jus like NWDS7.0 .
Just a small suggestion ,instead of going through this tedious process you can shift to NWDS7.0 itself.
regards
aarthi mathivanan

Similar Messages

  • Deploying application with EAR file: problems....

    Hello!
    We been working in a test environment for developing our application. When its done and ready to go in production, we did generate the deployed application archive (EAR) with the console. Then, we used the
    java -jar admin.jar -deploy command to deploy in the prod. env.
    Meanwhile, we always get this kind of error, as it seems that oc4j is not generating EJB wrapper correctly:
    GestionApplicationSBHome_StatelessSessionHomeWrapper120 was not an instance of interface sertir.portail.gap.GestionApplicationSBHome, the interface it implements is sertir.portail.gap.GestionApplicationSBHome
    at java.lang.Throwable.fillInStackTrace(Native Method)
    AND
    java.lang.ClassCastException: ApplicationEBHome_EntityHomeWrapper14 was not an instance of interface sertir.portail.gap.ApplicationEBHome, the interfaces it implements are sertir.portail.gap.ApplicationEBHome, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].util.ExternalComparator, com.evermind[Oracle9iAS (1.0.2.2) Containers for J2EE].server.ejb.EntityContainer
    and other errors doing that with almost all EJBs.
    My question is, is there a special switch in the deploy command to force the compilation of the EAR file?
    Any help would be appreciated...
    Thanks!

    These are set of jar files that are placed in WEB-INF/lib folder
    jsf-api.jar
    commons-net-1.4.1.jar
    itext-1.4.2.jar
    javax.servlet_1.0.0.0_2-5.jar
    log4j-1.2.8.jar
    lucene-core-2.0.0.jar
    ojdbc5.jar
    ojdl.jar
    ojdl2.jar
    orai18n-lcsd.jar
    trinidad-api.jar
    I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
    Thanks
    Sukumar

  • Error while deploying application with TablePopinToggleCell UI element

    Hi
    I am using NWDS 7.0 and have developed an application with a Table that uses TablePopinToggleCell. When I deploy this on a server (NW2004s), it gives me the following error:
    java.lang.NoClassDefFoundError: com.sap.tc.webdynpro.clientserver.uielib.standard.api.IWDTablePopinToggleCell
    I am able to deploy the application without the UI element: TablePopinToggleCell
    I understand that the class files are not available in the server. How do I fix this problem?
    If I should add the required files in the server, where should I add them?
    Thanks
    Manoj

    Hi Manoj,
    I have tried doing something like this.
    If you want to try this out running on a NW2004s.You need to first download the entire project from perforce branch (
    tc\webdynpro\clientserver)for NWDS 7.0 and then build the project locally in your java perspective.
    During the local build of the project.It will also point out the dependent projects required by this project(clientserevr).
    Once the project is build.
    Create seperate external jars of the clientserver project and its dependent projects and save them locally.
    Open your SDM manager,pick up this jar file from there and deploy it.
    Once the deployment is over, the server is ready to run the application you created.
    But this make your NWDS2004s to behave jus like NWDS7.0 .
    Just a small suggestion ,instead of going through this tedious process you can shift to NWDS7.0 itself.
    regards
    aarthi mathivanan

  • IO Error while deploying application client jar file ???????

    Hi,
    In my .ear file, one application-client jar(which contains all helper classes which are used in whole application) file is there. While deploying .ear file, all ejb are getting deployed well, while deploying application client jar file(Global.jar file here) it is giving the following message:
    IO Error deploying Global.jar: D:\oracle9ias\oc4j_extended\j2ee\home\applications\trainiumear\Global.jar
    Here is application-client.xml of Global.jar file:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE application PUBLIC '-//Sun Microsystems, Inc.//DTD J2EE Application 1.2//EN' 'http://java.sun.com/j2ee/dtds/application-client_1_2.dtd'>
    <application-client>
    <display-name>TrainiumClientApp</display-name>
    <description>Application description</description>
    </application-client>
    My Environment: Oracle9iAS (9.0.3.0.0), Windows-NT
    Please let me know Why i am getting 'IO Error' , where i may done wrong ?
    Thanks in Advance
    Srinivas

    Srinivas,
    Before we continue, PLEASE tell me if you've looked through the available
    documentation, code samples, "how-to" documents, etc., for OC4J. It
    seems to me that you're mixing things up a bit. I use the "deploy"
    command to deploy my EARs, example (partial):
    java -jar admin.jar ormi://<host> admin <password> -deploy ...
    And my EAR file is not in the "application-deployments" directory
    when I issue that command.
    Perhaps you could also show me the contents of your "application.xml"
    file for this application you are having trouble with.
    But I repeat, please tell me if you have already looked at the
    available documents regarding OC4J!
    Thanks,
    Avi.

  • How i can deal with oracle file by using php api

    how I can deal with oracle file by using php api ?

    What has this to do with Reflections and Reference Objects?

  • Send mail with attached file without using Repository

    Hello,
    I want to know if have a way to Send mail with attached file without using Repository.
    Regards
    Elad

    Elad,
    Check this article where a image has been picked by the file adapter and sent as an attachment to the mail adapter.
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6d967fbc-0a01-0010-4fb4-91c6d38c5816">Sending an Image File Through XI in a File-to-Mail Scenario</a>
    For how to proceed without integration repository content look into this blog,
    <a href="/people/william.li/blog/2006/09/08/how-to-send-any-data-even-binary-through-xi-without-using-the-integration-repository">How to send any data (even binary) through XI, without using the Integration Repository</a>
    Combining these 2 you have the solution.
    Regards
    Bhavesh

  • Help compiling with .class files

    I am using JGrasp and I am trying to compile a program that uses .class files instead of the .java files, but JGrasp will not recognize these at compile time. How do I get my program to compile with these .class files?

    I prefer using Jenuity:
    [http://www.nmmu.ac.za/jenuityIDE]
    It's much simpler to use than JGrasp and isn't nearly as confusing.
    For the record, you compile .java files into .class files. There is no need to "compile" existing .class files. If you have the class files you can run them from the command line. e.g. if you have a class file named Orange.class you should be able to type "java Orange" from the command line to run it. If Orange is inside a directory structure based on packages you may need to execute this command from just outside the 'highest" folder.
    If you just need to link to these class files, copy them into the "/jre/lib/ext" folder of your JDK.

  • Error while deploying application with WebLogic server

    Hi,
    I use Jdeveloper 11g and created and ADF application which i want to deploy with WebLogic Server.But i have an error which is :
    "There was a failure when processing annotations for application C:\...\xxx.war. Please make sure that the annotations are valid. The error is oracle.adf.library.webapp.ResourceServlet "
    Plz help me.
    Thx

    I am receiving same message for simple servlet. Running JDev11g build 5166 and embedded WLS 10.3. Servlet used to deploy to embedded WLS and ran fine. Recently running newly created servlets produces error message as in this thread.
    Investigation turned up the fact that the class file for the servlet was not deployed to the context-root (o.j2ee\drs) on the server. Copying the class file from the mywork project folder to the context-root folder (o.j2ee\drs) permitted the servlet to run.
    Don't know if this is the cause of what you are experiencing but it may assist in your investigation! I have not figured out why the class file for servlets does not deploy to server despite the fact that the log file shows war and ear files were deployed. As it turns out, the war file does not have the class file in it so something is wrong before the war file is created.
    Cheers!

  • Deploying Applications with SCCM 2012 R2 to Server 2008 R2 RDS servers

    I'm having some trouble finding some concrete information from Microsoft regarding the deployment of applications to RDS servers using SCCM 2012 R2. There seems to be a lot of conjecture, old information and old wives tales floating around and I was hoping
    I could get some information confirmed!
    1. MSI installs automatically switch to install mode on RDS servers? 
    I've seen this mentioned a few times. I've also seen it mentioned that it is only true when running the MSI from the console session manually (i.e clicking the MSI file) not running as SYSTEM as SCCM would usually do. Can someone confirm if they do this
    themselves or not?
    2. Users still logged in when deploying applications? 
    Is it possible to deploy an application while users are still logged in? Is this only related to going into 'install' mode and taking the chance that a user will do something that will cause issues? Or is it known to cause issues?
    I guess those are the main ones, I'm experienced in SCCM but not with deploying to RDS servers, I cant seem to find any straight answers!
    Anyway, thanks in advance!

    I've never had large enough RDS environment to use SCCM for app push, but from my experience in managing 2012/R2 RDS and local installs, I never bother with switching to install mode anymore and it works fine.  Now if you're skeptical, you can
    easily build this into a script that runs as a pre-req to your .MSI as part of the software package in SCCM so it's not a big deal.
    As for installing apps while users are logged in, shouldn't be a problem if you're installing a new app., if however you're updating an existing application or uninstalling it, then it may be best to drain that RDS host first of all user sessions then do
    the work just to be safe.  this also helps avoid reboots.

  • Deployed Application Missing JSP files

    I have deployed an web appliclation Using JDeveloper 10.1.3.3 to a remote Oracle AS When I look at the Deployed Application on the Server I only see the Servlet, the JSP files are missing. I looked at the .ear and .war files and the have all the components in them but the JSPs seem to be missiong from the server. I did not get any error messages from the deployment log
    ---- Deployment started. ---- Mar 13, 2012 2:19:32 PM
    Target platform is Oracle Application Server 10g 10.1.2 (Windows) (bantest).
    Wrote WAR file to C:\jdev\jdev\mywork\NJTransit\NJTransit\deploy\njtransit.war
    Wrote EAR file to C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear
    Invoking DCM servlet client...
    C:\jdev\jdk\jre\bin\javaw.exe -Djava.protocol.handler.pkgs=HTTPClient -jar C:\jdev\jdev\lib\oc4j_remote_deploy.jar http://207.200.160.20:18100/Oc4jDcmServletAPI/ ias_admin **** redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit
    Initializing log
    Servlet interface for OC4J DCM commands
    Command timeout defined at 600 seconds
    Executing DCM command...
    Executing command redeploy D:\oracle\FRHome_1 C:\jdev\jdev\mywork\NJTransit\Deployment\deploy\NJTransit.ear NJTransit UNDEFINEDCommand = REDEPLOY
    Reading application's ear file
    Ear file was successfully read
    Opening connection to Oc4jDcmServlet
    Setting userName to ias_admin
    Sending command to DCM servlet
    HTTP response code = 200, HTTP response msg = OK
    Command was successfully sent to Oc4jDcmServlet
    Receiving session id from servlet to check command status
    Session id = 5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
    Please, wait for command to finish...
    Checking command status...
    Setting userName to ias_admin
    Setting Cookie to JSESSIONID=5e8e9abcf2b84b9639667c4ea36dccf4a8199cf3785755d564948b1e8d096849
    Checking command status
    HTTP response code = 200, HTTP response msg = OK
    Command has finished
    Receiving command exit value
    Receiving command output
    **** No output was received from command
    Closing connection to Oc4jDcmServlet
    DCM command completed successfully.
    Output:
    Exit status of DCM servlet client: 0
    Elapsed time for deployment: 13 seconds
    ---- Deployment finished. ---- Mar 13, 2012 2:19:45 PM
    The only odd thing I can see is that UNDEFINED statment in the log.
    I followed the recipe for Deployment from the tutorial so I don't understand why the JSPs are missing.

    I have two version's of JDeveloper running on my machine when you pointed out to me that I was using 10.1.3.0 I downloaded 10.1.3.5 and used it instead. However we still have a problem. One our test and production machine we are running Oracle AS 10.1.2 with Java SDK 1.4. Now the documantation says that this supports JSP runtime 2.0 and Servlet Runtime 2.4. My problem is I still have to get this working for Oracle AS 10.1.2 with Java SDK 1.4. Here's what happens when I deployed to that environment.
    500 Internal Server Error
    java.lang.NullPointerException
    at njtranenrll.jspService(_njtranenrll.java:45)
    [SRC:/njtranenrll.jsp:15]
    at com.orionserver[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
    at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:575)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:311)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:498)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:402)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:835)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:341)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:816)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:231)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:136)
    at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.3.0)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
    at java.lang.Thread.run(Thread.java:534)
    12/03/19 23:10:27 Oracle Application Server Containers for J2EE 10g (10.1.2.3.0) initialized
    12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit STARTS [ 2012-03-20T09:17:21.865EDT ]
    12/03/20 09:17:21 Notification ==> Do not undeploy previous deployment
    12/03/20 09:17:21 Notification ==> Copy the archive to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
    12/03/20 09:17:21 Copy file C:\WINDOWS\TEMP\dir51939.tmp\NJTransit.ear to D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear
    12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear begins...
    12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit.ear... done.
    12/03/20 09:17:21 Notification ==> Unpack NJTransit.ear ends...
    12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear begins...
    12/03/20 09:17:21 Auto-unpacking D:\oracle\FRHome_1\j2ee\home\applications\NJTransit\njtransit.war... done.
    12/03/20 09:17:21 Copying default deployment descriptor from archive at D:\oracle\FRHome_1\j2ee\home\applications\NJTransit/META-INF/orion-application.xml
    to deployment directory D:\oracle\FRHome_1\j2ee\home\application-deployments\NJTransit...
    12/03/20 09:17:21 Notification ==> Initialize NJTransit.ear ends...
    12/03/20 09:17:21 Notification ==> Initialize njtransit begins...
    12/03/20 09:17:21 Notification ==> Initialize njtransit ends...
    12/03/20 09:17:21 Notification ==> Application Deployer for NJTransit COMPLETES [ 2012-03-20T09:17:21.990EDT ]
    12/03/20 09:25:31 Error: null
    12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/fn.tld
    12/03/20 09:25:31 Error: null
    12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*permittedTaglibs.tld*
    12/03/20 09:25:31 Error: null
    12/03/20 09:25:31 Errors parsing jar:file:/D:/oracle/FRHome_1/j2ee/home/applications/NJTransit/njtransit/WEB-INF/lib/standard.jar!/META-INF/*scriptfree.tld*
    12/03/20 09:25:37 Error: null
    12/03/20 09:25:37 Error: null
    12/03/20 09:25:37 Error: null
    12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
    12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
    12/03/20 09:25:37 Error: loading Tld's into cachedConfigTable: null
    notice the error in parsing the jar file this jar file is standard.jar do I need this jar or can I leave it out?

  • Exception while deploying application(as EAR file) on Standalone WLS 10.3

    Hi,
    I'm struggling with an exception while deploying my application(as EAR file) on a standalone WebLogic Server 10.3. I have developed a application using Trinidad and JSF components. But an exception occurs while deploying my application(as EAR file) in WebLogic Server 10.3. As I'm not familiar with WEBLOGIC server I'm unable to analyse the exception.
    Note - I'm attaching the StackTrace below
    Please help me out from this isssue.
    +[HTTP:101216]Servlet: *"Faces Servlet" failed to preload on startup in Web application: "iss"*. java.lang.NullPointerException at javax.faces.webapp.FacesServlet.init(FacesServlet.java:165) at weblogic.servlet.internal.StubSecurityHelper$ServletInitAction.run(StubSecurityHelper.java:283) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321) at weblogic.security.service.SecurityManager.runAs(Unknown Source) at weblogic.servlet.internal.StubSecurityHelper.createServlet(StubSecurityHelper.java:64) at weblogic.servlet.internal.StubLifecycleHelper.createOneInstance(StubLifecycleHelper.java:58) at weblogic.servlet.internal.StubLifecycleHelper.<init>(StubLifecycleHelper.java:48) at weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:521) at weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:1893) at weblogic.servlet.internal.WebAppServletContext.loadServletsOnStartup(WebAppServletContext.java:1870) at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1790) at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:2999) at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1371) at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:468) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200) at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:117) at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:204) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:60) at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27) at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:635) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:37) at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212) at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:16) at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:162) at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:569) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:140) at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:106) at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:323) at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:820) at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1227) at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:436) at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:181) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:12) at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:67) at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:516) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201) at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)+
    Message icon - Error java.lang.NullPointerException:
    Thanks
    Sukumar

    These are set of jar files that are placed in WEB-INF/lib folder
    jsf-api.jar
    commons-net-1.4.1.jar
    itext-1.4.2.jar
    javax.servlet_1.0.0.0_2-5.jar
    log4j-1.2.8.jar
    lucene-core-2.0.0.jar
    ojdbc5.jar
    ojdl.jar
    ojdl2.jar
    orai18n-lcsd.jar
    trinidad-api.jar
    I think adf-faces-impl.jar is doesn't require for my application because we have migrated our application from ADF Faces to Trinidad.
    Thanks
    Sukumar

  • Decompile JAR , Update .Class file , Compile?

    Is it possible to decompile a excutable JAR file, update the .class file and compile it again?
    I'm using DJ Decompile software.
    Need your expertise.. =P

    Well, you wouldn't decompile the jar. You'd basically just unpack it, and then you'd decompile the classes inside it, and then you'd update the .java file, and then recompile the source code files and repackage it into a new jar.
    But otherwise, yes.
    There may be a variety of better options though. For example, maybe you could create a single new class that replaces or wraps a single class in the jar, and then create a new manifest file with the Main-Class attribute pointing to your new class. Or with any luck you could get the original source code. Etc.

  • J2EE .class file compiling for jar, ear files.

    I know that using the former Sun/present Oracle .class java source code compiler,
    I create a platform independet class file which can be used by the java language
    on any OS environment with the appropriate Java Runtime Environment installed.
    I know that there are obfuscation tools available to prevent the .class file decompilation
    related issues.
    I have also been using the GNU gcj compiler with great success. However,
    I havn't been able to find a non-commercial purchase compiler that can create
    .class files, with the same platform independence, but that can't be easily decompiled
    based on the simple content in .class files. Can someone point me to someone on the net
    for a free for commercial development java compiler, past about 1.5.X ?

    If it were possible, don't you think Oracle would have built the compiler like that themselves?

  • Error deploying application with security polices: ORA-00904

    Hi all,
    I am using Jdeveloper 11.1.1.0 and I am trying to deploy an ADF application with secure polices on WebLogic Server 10.3.1
    I have deployed the application to an EAR file and I have installed it using the weblogic console, after having defined the JDBC connection.
    Have I anything to do for implementing the security polices? Miss anything?
    Because when I launch the application from Jdeveloper I have no errors, while when I try to go to the URL where I have deployed the application, after loggin in, I have this error:
    Caused by: java.sql.SQLSyntaxErrorException: ORA-00904: "myEntityObject"."myField": invalid identifier
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:128)
    at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:3915)
    ... 91 more
    ## Detail 0 ##
    java.sql.SQLSyntaxErrorException: ORA-00904: "TICKETEO"."ID_CATEGORIA_APERTURA": identificativo non valido
    at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:91)
    at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:133)
    at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:206)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
    at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
    at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1034)
    at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:194)
    at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:791)
    at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:866)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1187)
    at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3386)
    at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3430)
    at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1491)
    at weblogic.jdbc.wrapper.PreparedStatement.executeQuery(PreparedStatement.java:128)
    at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:3915)
    at oracle.jbo.server.ViewObjectImpl.getQueryHitCount(ViewObjectImpl.java:3867)
    at oracle.jbo.server.QueryCollection.getEstimatedRowCount(QueryCollection.java:3517)
    at oracle.jbo.server.ViewRowSetImpl.getEstimatedRowCount(ViewRowSetImpl.java:2318)
    at oracle.jbo.server.ViewObjectImpl.getEstimatedRowCount(ViewObjectImpl.java:8782)
    at oracle.adf.model.bc4j.DCJboDataControl.estimateRowCount(DCJboDataControl.java:1551)
    thanks
    Andry
    Edited by: user10799119 on 4-set-2009 3.50

    Hi,
    sincerly now I don't remember what was the problem, but it seems to me the solution was in one of these four settings:
    1) check Admin Server when I create the JDBC connection.
    2) before deploying the application to an EAR file, you don't forget to uncheck Auto-generate and synchronize weblogic-jdbc.xml Descriptors during deployment in Application properties --> deployment
    3) in your application module --> configuration change the connection type from jdbc URL to JDBC DataSource
    4) at the end of your URL of the deployed application don't insert the ".jspx" after your page name
    Hope this helps
    Regards

  • Get installation path of web application from class file

    Can anybody tell me how I can get the path on disk to the root of my web application from a class file. Im running under Tomcat 5.5 and I have 3 copies of the same webapp under 3 differenet directories:
    C:\xxx\dev\yyy
    C:\xxx\test\yyy
    C:\xxx\prod\yyy
    Based on which directory the web-app, I need to do a lookup on a properties file to pull the right jdbc connection to connect to the appropriate database. So it would be similar to using getServletContext().getRealPath("/") from a .jsp file.
    Thanks,
    Jason

    Sorry for not clarifying. I have a properties file with name/value pairs. I know where this properties file is and I can do a lookup in it. In this file, I have jdbc connection names which point to corresponding jdbc resources in my context.xml file.
    jdbcDevDatabase=jdbc/tfmDev
    jdbcTestDatabase=jdbc/tfmTest
    jdbcProdDatabase=jdbc/tfmProd
    These connections are for dev, test and prod databases. Now based on where the web-app is installed on disk, i.e-dev dir, test dir, prod dir, I want to retrieve the corresponding connection. The problem is I don't know how to get a handle to the web apps real path on disk without access to the request object or using getServletContext().getRealPath("/") which are not available to me in a class file.
    Thanks,
    Jason

Maybe you are looking for

  • APEX_APPLICATION_FILES: ORA-00942: table or view does not exist

    Hello, As my first APEX task I am attempting the upload/download demo on http://download.oracle.com/docs/cd/B32472_01/doc/appdev.300/b32469/up_dn_files.htm The ultimate goal is to store PDF files in the database. In order to complete step 1: To creat

  • Is it possible restore my iphone without lose all my photos and midias?

    my iphone has shutted off. i can't turn it on. when i connect it to my computer they ask me to restore it. is it possible restore without lose all my photos and midias?

  • Calling Report From JSP

    Hello, I would like to know whether it is possible to call Oracle Reports (Version 2.5/3.0) from JSP?. Early reply is highly appreciated. Thanks Sekhar

  • Why 64 bit itunes is important....

    i work in the industry as a service and repair technician. i fix peoples computers everyday. the lack of native 64 bit applications is costing me over an hour of lost productivity a day. many 64 bit applications that i have wont put a call to a 32 bi

  • HT4157 I get "Connection Failed " when trying to access the Account.

    I cannot establish a connection when attempting to add a data account with ATT. I received the following message: "Connection Failed - The connection to the server was lost. Please try again later." I've been trying all day! Any suggestions? Thanks.