Deploy differences between 904 standalone and 903 J2EE and Web cache versio

I am trying to port an application from jboss (3.0.3) to OAS 9iAS rel2. Since the application uses local interfaces in the EJBs, I am using the pre-release versions of OAS. My development environment also include ant and xdoclet. I am not using JDeveloper or TopLink and would prefer not to due to the different targets we are using.
I have successfully portet to the 9.0.4 OC4J (standalone) version. In doing so I have collected all my EJB-class files in one jar, appName-ejb.jar, which along with the war-file and META-INF files go in the ear-file. Attempting to deploy this ear-file directly in 9.0.3 "J2EE and Webcache" version gives me the following error message in the Oracle Enterprise Manager Console: "Deployment failed: Nested exception Root Cause: Syntax error in source. Syntax error in source"
The how-to:Implement Local Interface (cmplocal) also use a single jar-file, cmplocal-ejb.jar. The description is targeted toward OC4J standalone. I have not attempted to deploy this ear-file in the "j2ee and webcache" version.
The Petstore demo ear-file (ref: "O9iAS Containers for J2EE User's Guide (9.0.3)") has all its beans in separate jar-files and deploys without any problems. The documentation also indicate that all beans has to be in separate jar-files in the root of the ear-file i.e this is a requirement. Do I understand the documentation correctly?
Why the difference between the standalone version and the next version? Does not the possibility having to maintain a a large number of bean-jar-files in the root of the ear-file make development/deployment much more difficult than necessary?
Does there exist any batch-workarounds?
Dag

I am trying to port an application from jboss (3.0.3) to OAS 9iAS rel2. Since the application uses local interfaces in the EJBs, I am using the pre-release versions of OAS. My development environment also include ant and xdoclet. I am not using JDeveloper or TopLink and would prefer not to due to the different targets we are using.
I have successfully portet to the 9.0.4 OC4J (standalone) version. In doing so I have collected all my EJB-class files in one jar, appName-ejb.jar, which along with the war-file and META-INF files go in the ear-file. Attempting to deploy this ear-file directly in 9.0.3 "J2EE and Webcache" version gives me the following error message in the Oracle Enterprise Manager Console: "Deployment failed: Nested exception Root Cause: Syntax error in source. Syntax error in source"
The how-to:Implement Local Interface (cmplocal) also use a single jar-file, cmplocal-ejb.jar. The description is targeted toward OC4J standalone. I have not attempted to deploy this ear-file in the "j2ee and webcache" version.
The Petstore demo ear-file (ref: "O9iAS Containers for J2EE User's Guide (9.0.3)") has all its beans in separate jar-files and deploys without any problems. The documentation also indicate that all beans has to be in separate jar-files in the root of the ear-file i.e this is a requirement. Do I understand the documentation correctly?
Why the difference between the standalone version and the next version? Does not the possibility having to maintain a a large number of bean-jar-files in the root of the ear-file make development/deployment much more difficult than necessary?
Does there exist any batch-workarounds?
Dag

Similar Messages

  • RE:difference between application server and web application server

    hi,
         i am a fresher to SAP.please tell me the difference between application server and web application server so that my doubt will be clarified.

    Hi,
    the SAP Web Application Server is the reliable, open standard-based application server from SAP. It supports both J2EE and ABAP, and serves as the underlying infrastructure for all new and upcoming SAP solutions, like SAP R/3 Enterprise, SAP Portal, SAP Exchange Infrastructure, and all other SAP components.
    The SAP Web Application Server is not a new product, it is the natural evolution of proven SAP application server technology formerly known as SAP Basis. It provides the platform to develop, execute, and operate Web applications and Web services as well as traditional SAP GUI based applications
    if it helpful rewards points are appreciated

  • What is difference between Site template and web template

    What is difference between Site template and web template

    Both are almost same, are you referring to Site Definitions vs web template?, if so, refer to the following post
    http://blogs.msdn.com/b/vesku/archive/2011/07/22/site-definitions-vs-web-templates.aspx. 
    --Cheers

  • Difference between 'Always Refresh' and 'Disable Cache Hits'

    We are using clustered application servers with its own cache. We are not doing any cache synchronization. So, for selective objects we should ensure that cache is not returning stale objects.
    I see two options in MWB for refreshing and disabling the cache. Can somebody explain the difference between these two and recommend what I should do to address my problem.
    Thanks in advance.

    These are similar and often used together settings:
    'Disable Cache Hits'
    Is used by TopLink when a ReadObjectQuery is executed with only the PK fields. By default TopLink will short-circuit going to the database and try to find the object in the cache first. This includes 1:1 mapping queries. Turning this on will cause TopLink to go to the database instead of the cache in these cases.
    'Always Refresh'
    Is used to tell TopLink how to handle the results returned from a query against the database. By default TopLink will trust the cached version of any instances already cached. When this is enabled, or the refreshIdentityMapResult is turned on for a specific query the results of the query are used to refresh the values of the cached version.
    The trick with always-refresh is that it does not force all queries to go to the database. It simply forces all returned rows to refresh cached instances.
    These are often selected by customers who never want to trust a cached instance. They are typically used together to get that effect. This configuration will get minimal performance gain from the cache but still require the cache for object-identity (avoid duplicate instances).
    Be careful though because these will have the effect for EVERY query and mapping traversal. I typically prefer to manually turn this on for my specific queries where I need to get the latest version from the database versus turning it on for all queries.
    On the query the methods you will be interested in are:
    query.refreshIdentityMapResult()
    This will force the query to the database and have the results refresh the cached instance if it already exists.
    One setting that is of definite interest is
    descriptor.onlyRefreshIfNewerVersion();
    This must be used in conjunction with the above query refresh and optimistic locking but it will avoid additional unecessary steps if the row has not changed since the cached version was read.
    Doug

  • Difference between site.allowunsafeupdates and web.allowunsafeupdates

    What is the difference between web.allowunsafeupdates and site.allowunsafeupdates? I have seen that for some cases both are used and in other cases only web.allowunsafeupdates are used..Please tell me the exact difference ASAP.

    Yes.But see i tried this code also..working..
     string filePath = string.Empty;
                if (SPContext.Current != null && SPContext.Current.Web != null)
                    SPUser currentUserName = SPContext.Current.Web.CurrentUser;
                    SPSecurity.RunWithElevatedPrivileges(delegate
                                                                 using (SPSite spSite = new SPSite(GetRootSiteCollectionUrl()))
                                                                    // spSite.AllowUnsafeUpdates = true;
                                                                     using (SPWeb spWeb = spSite.OpenWeb())
                                                                         spWeb.AllowUnsafeUpdates
    = true;
                                                                         SPFolder list
    = spWeb.GetFolder(spWeb.Url + AppConstants.ListUrl.ELC_MASS_USER_UPLOAD);
                                                                         SPFile document
    = list.Files.Add(Guid.NewGuid().ToString() + bulkUserUploadDto.Name, bulkUserUploadDto.DocumentUploadedFileData, true);
                                                                         SPListItem listItem
    = document.Item;
                                                                         SPFieldUrlValue
    fieldUrl = new SPFieldUrlValue
                                  Description = bulkUserUploadDto.WebTitle,
                                  Url = bulkUserUploadDto.WebUrl
                                                                         listItem[AppConstants.Fields.AddUserToGroup.WEB_URL]
    = fieldUrl;
                                                                         listItem[AppConstants.Fields.TITLE]
    = bulkUserUploadDto.Name;
                                                                         listItem[AppConstants.Fields.AddUserToGroup.IS_REMOVE_EXISTING_USER]
    = bulkUserUploadDto.IsRemoveExistingUser;
                                                                         listItem[AppConstants.Fields.AddUserToGroup.GROUP_TYPE]
    = bulkUserUploadDto.DepartmentGroupType;
                                                                         listItem[AppConstants.Fields.AddUserToGroup.STATUS]
    = AppEnums.JobStatus.New;
                                                                         listItem[AppConstants.Fields.AddUserToGroup.SITE_URL]
    = bulkUserUploadDto.WebUrl;
                                                                         SPUser user =
    spWeb.SiteUsers[currentUserName.LoginName];
                                                                         listItem[AppConstants.Fields.AddUserToGroup.UploadedBy]
    = user;
                                                                         listItem.Update();
                                                                         filePath = document.Url;
                                                                         spWeb.AllowUnsafeUpdates
    = false;
                                                                        // spSite.AllowUnsafeUpdates
    = false;
                return filePath;
    Here i didnt use SPcontext and still it works without that.. :(
    Ankur garg

  • Differences between ITS based and web dynpro based ESS

    Hi all,
    What are the main differences between ( in functionality ) for ITS based and web dynpro based ESS.
    I know a few
    Underlying technology
    ITS ESS had inbox concept, where as web dynpro based ESS/MSS has UWL concept for approvals.
    The time statemment in ITS uses smart form while we can use Adobe document services for time statement in ESS 2004.
    Funcitonality
    There was not collective time approvals option In ITS ESS ( not even in ESS 2004 ) but ther is a collective time apporvals in ESS 2004s
    Am not pretty mich intrested in look and feel,  or the overview page concept but any additional functionality and a shift in the technology used.
    Please add.
    regards
    Sam
    Message was edited by:
            sameer chilama
    Message was edited by:
            sameer chilama
    Message was edited by:
            sameer chilama

    answered

  • Difference between BLOCK DATA and WEB ACCESS BLOCK?

    Currently my account shows I have both BLOCK DATA and WEB ACCESS BLOCK in place. I did this a couple of years to prevent data charges. Works perfectly. Now I'm trying to upgrade one of my lines to a Kin Onem because of the WiFi option and when I add the phone to my shopping cart and go to the Select Features & Services Page I see a message at the bottom that says: Features We Needed To Remove (Because they're incompatible with your phones or plan) - Block Web Access.
    It looks like I don't have a choice when ordering the phone, but what exactly will removing the Web Access block do? Maybe I have to turn it off anyway to use the WiFi anyway right? I just don't want to incur any data charges.
    Someone please help. Thank you!

    "Data block" actually blocks your phone's ability to connect to the 3g data network. What this means is your phone can't create an internet connection on a cellular network. Web Access block specifically blocks the browser/mobile web on your phone from making a connection. Unblocking mobile web will not cause your phone to be able to connect to the cellular data network (resulting in 1.99/mb charges), but will allow the browser on the kin to connect while you're using wifi.

  • Difference between Enterprise Standalone and Enterprise on Weblogic Server

    Hi,
    If I test my process on Standalone Enterprise Server and then test the same process on Enterprise Server on Weblogic (WLS), will there be any difference in my testing.. Will I receive different results or the results would be the same?

    Hi,
    In Studio,in project preferences in General you have a check box that says something like Development for J2EE,that you should check if you are going to deploy to WLS or WAS. But there is no reason why something develop for StandAlone is not going to work in J2EE.
    HTH

  • Difference between apps server and web server...?

    hi,
    i would be grateful if anybody could list out around ten difference b/w web server and apps server,,,,,as i have presntation today afternoon...also i m not finding so many differances...anywayz ...lemme know if u know...
    Thanks in Advance.....
    nav

    Can it be that you are a little bit arrogant ?
    Why you don't simply use that little text field on the left side of this page or use a search engine ?
    One example:
    http://www.javaworld.com/javaqa/2002-08/01-qa-0823-appvswebserver_p.html

  • Netflix.ca catalog differences between Apple TV and Web

    If I access my Netflix.ca account via my new Apple TV, I get completely different catalog items than when I access it via my iPhone or laptop. I am using the same account name and password, same location, same wifi connection at my home in Vancouver, BC.
    One example: I can watch Leverage using my iPhone and laptop, but it's unavailable via my Apple TV.
    Netflix guy, could you please weigh in on this?

    Thanks Vazandrew. The problem was with Netflix -- their database had my IP Address identified as being in Dallas instead of Vancouver and therefore when I logged on via Apple TV or home wifi I was seeing the US catalog, not the Canadian one.

  • What are the differences between application server and webserver

    pls give the differences between application server and web server with examples

    Google.
    Example
    http://www.google.ca/search?hl=en&q=Do+your+own+damn+searching&meta=

  • Difference between local agent and standalone agent

    Hi all,
    Can you please tell me the difference between local agent and standalone agent?
    I am getting a bit confused about this.
    Regards,
    Sourav

    Local agent will be running under the context of the main ODI session i.e. it is linked to an open session of the designer, operator etc. Standalone ODI agents run in their own JVM process and could be installed on any server and do not require an open instance of the ODI client GUI to run scenarios

  • Difference between Instance Crash and Database Crash in Standalone and RAC?

    I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
    RAC_".+
    Oracle Version: 11.1.0.7.0
    O.S Version: HP-UX B.11.31 U

    Sivaprasad S wrote:
    I am new to Oracle Environment. I would appreiciate if i get clarified on the "_+Difference between Instance Crash and Database Crash in Standalone and
    RAC_".+That depends on your definitions of database crash versus instance crash.
    Literally, database crash means that the database itself is damaged in some way. A disk is no more. Data files are corrupted. Etc. The database itself thus causes the crash - and a database crash will also cause all database instances (RAC or single) for that database to crash too.
    An instance crash will therefore mean that the crash occurs in the instance due to an Oracle bug or similar. In other words a s/w error and not a database error. The database is still "fine", but the instance not. Instance crashes. However, any other instance on that same (RAC) database will still be fine as the database itself is unaffected by that s/w error in the crashed instance.
    If you mean something different, please enlighten us. Not all crashes are equal. {noformat};-){noformat}

  • Difference between OC4J Standalone & IIS for BI Presentation services

    Hi experts,
    i had this question in my mind for last couple of weeks and did not get good answer by self study.
    my understanding with IIS & OC4J server is,
    1.if BI Presentation services is setup to IIS Webserver, It is also using OC4J as application server, because IIS is just an HTTP Server where the presentation services also need an Application server which is OC4J for OBIEE. Is this true.
    2.if the IIS Server is only HTTP Server, what is OC4J and standlone OC4J for OBIEE.
    i think the difference between IIS and OC4J is ( true or false)
    1. oc4j or oc4j Standalone is application server( contains OC4J Instance(J2EE) and HTTP Server)
    2. oc4j itself has a an HTTP server which is used if we dont plan to deploy IIS Webserver.
    3. IIS server is only HTTP which can be used in Production environments and will still use OC4j as application server.
    MY question is how to configure IIS server and configuration files and oc4j if we plan to deploy a environment like this.
    i followed OBIEE installtion documents and did not get a clear picture.
    there is something called PLUG-IN's (iis plugin and j2ee plugin ) which is used if we deploying on IIS and OAS(WEBLOGIC)
    this is is my understanding and Please Correct me if i am wrong
    thanks
    kumar

    Please follow this up on your copy of the thread difference between OC4J Standalone & IIS for BI Presentation services

  • Difference between .jar, .war and .ear file

    Hi,
    I am pretty new to J2EE technology.
    I would like to know what is the difference between .jar, .war and .ear files and how they are deployed on webserver.
    Thanks,

    Files with a .jar extension or JAR files, are essentially just a collection of files compressed using the ZIP/ZLIB compression format.
    JAR (short for Java Archive) files were introduced in the early days of Java as a means to conveniently package and distribute Java applications and components. Since then, a number of additions to the Java platform have followed suit. The introduction of the EAR file is one such addition.
    An EAR (Enterprise Archive) file is a JAR file that contains a J2EE application.
    A J2EE application is a group of Web modules that collectively perform as a single entity.
    A Web Module is an entity consisting of one or more resources such as HTML files, Java class files, XML files, etc. Web Modules are packaged in Web Archive (WAR) files.
    Looking at it from a top-down view, EAR files contain JAR files and WAR files. Packaging resources in WAR files, JAR files and eventually EAR files, makes it easy to reuse and reassemble components as new J2EE applications and distribute them to new environments.
    For example, Tomcat deals only with WAR files.
    So, in order to auto-deploy a Web application to a Tomcat environment, you must place an application's WAR file in the appropriate directory or use Tomcat's deployment tools to manually deploy the file.
    If you already have an EAR file that contains the WAR file, you can extract the WAR file and use it as is. If you do not have the EAR file or the WAR file, you can use any number of compliant tools to create the WAR file. Tomcat is a servlet/JSP container available from the jakarta.apache.org site.

Maybe you are looking for

  • Invitee option is missing from events in iCal

    Hi, I'm having a hard time figuring out a solution to my issue and would appreciate any help someone could offer. I use iCal on OS 10.7.5 on my mac. And, I use the Calendar app on OS 8.1.3 on my iPhone. I recently moved from using Apple to sync my ca

  • Processing of Outbound messages to TP

    Hi, I have a specific question regarding the sequencing/processing of messages sent by the back end before sending them to the TP. if for example, there are about 10 messages queued up(in a sequence) between B2B and the immediate backend component, h

  • Partial Page Redering in ADF

    Hi, How to implement partial Page Redering in ADF

  • Client requirment for 10g RAC

    Hi, We are planning to deploy Oracle 10g RAC on itanium Cluster. What is the Client and its version requirement to take full advantage of 10g RAC load balancing/fail over ? Shanmu India.

  • How to set row height of the row in the interactive report?

    Some of the values in the columns of my interactive report are wrapped up changing the height of the row to 2 or 3 characters. Is there any way to change it? I would like to have all rows set to 2 characters height. Robert