Evaluating eventual port of app to 8.1

Currently our app is on wl 6.1. The whole build with compile, deployment and unittesting is done via ANT (+Junit & Cactus ) and we use Cruisecontrol to run a central build each time source is checked in ( StarTeam) sending mail to the developer if any unittests fail.
We find no task in Ant for generating EJBs ( other than an old ver. of iPlanet) for Sun AS 8.1. :
1) Can EJB (jars for deployment) be generated via either proprietary Ant task or by using native native command (for ejb compile) thru ANT's exec task ?
2) Can the app server be taken up & down thru ANT ?
3) Oracle drivers : Can awailable drivers handle large BLOBS, (> 32 K) ?
(The Oracle thin driver does not suffice here )

I have just ported a WL 8.1 app to AS 8.1 so I can provide at least a partial answer to 1 and 2. I can't help on 3 as I'm using SQL Server.
1. I didn't find an equivalent EJB build step to be required for Sun AS 8.1. EJBC gets invoked at deploy time rather than at build time, so it makes the EJB (and in our case EAR) build much simpler. I just used the <javac> task to compile the EJB classes, and then the <jar> task to build EJB jar files. I generated the deployment descriptors once through the deploytool utility, and then saved them and included them in the ant <jar> task to build the EJB jar files.
2. Yes. See the AS manuals for details of the Sun specific ant tasks for stopping and starting the server and also for deploying, redeploying, etc.
It's taken a few weeks but we now have a pretty complex J2EE App which can be built and deployed on WL or Sun. We ended up with only one class which became either Sun or WL specific and this is now obtained through a factory class which detects the platform.
HTH,
Rob

Similar Messages

  • How to change ports in apps

    Hi Sawwan,
    how to change ports in apps 11i on Linux, Please let me know if any metalink notes.
    Thanks

    Danny,
    Please see if these documents help.
    Note: 419823.1 - OAM: Web Components Status: Shows Down Even When The System Works Fine
    Note: 309271.1 - Web Components Status in OAM Shows All Down Even When the System Works Fine
    Note: 434569.1 - OAM application dashbord shows all the web components with status down whereas they are up
    Note: 287415.1 - Host Status In Application Dashboard Overview Tab Shown As Down in OAM
    Regards,
    Hussein

  • How to open Ports for App running in VPC

    Trying to open ports for a Windows app that I am running via VPC but the application still shows the port is unreachable.
    So far I have, opened the port in Mac OSX Firewall, opened ports on my D-Link DSL504G router, disabled the Windows firewall (plus opened the ports in case it became enabled).
    Have also redirected the ports to the IP address within VPC Windows and the Mac itself.
    Have run out of ideas as nothing seems to work.
    Regards
    Alan

    Try the following ...
    AEBSn - Port Mapping Setup
    To setup port mapping on an 802.11n AirPort Extreme Base Station (AEBSn), either connect to the AEBSn's wireless network or temporarily connect directly, using an Ethernet cable, to one of the LAN port of the AEBSn, and then use the AirPort Utility, in Manual Setup, to make these settings:
    1. Reserve a DHCP-provided IP address for the host device.
    Internet > DHCP tab
    o On the DHCP tab, click the "+" (Add) button to enter DHCP Reservations.
    o Description: <enter the desired description of the host device>
    o Reserve address by: MAC Address
    o Click Continue.
    o MAC Address: <enter the MAC (what Apple calls Ethernet ID if you are using wired or AirPort ID if wireless) hardware address of the host computer>
    o IPv4 Address: <enter the desired IP address>
    o Click Done.
    2. Setup Port Mapping on the AEBSn.
    Advanced > Port Mapping tab
    o Click the "+" (Add) button
    o Service: <choose the appropriate service from the Service pop-up menu>
    o Public UDP Port(s): <enter the appropriate UDP port values>
    o Public TCP Port(s): <enter the appropriate TCP port values>
    o Private IP Address: <enter the IP address of the host server>
    o Private UDP Port(s): <enter the same as Public UDP Ports or your choice>
    o Private TCP Port(s): <enter the same as Public TCP Ports or your choice>
    o Click "Continue"
    (ref: "Well Known" TCP and UDP ports used by Apple software products)

  • 1 Node/ Webcache Port 80/ Apps on Port 7778 and 8080

    I have a machine with 3 aliases.
    Is it possible to bind multiple ports to webcache running on port 80 and depending on alias have it routed to the correct application and port?
    What I want is someone that enters http://app1 to go to port 7778 and http://app2 to go to port 8080.
    app1 and app2 both resolve to the same IP address.
    I keep getting "Another site with same exists" when trying to set this up.
    Mike
    ------

    Got It.
    You need to connect to the webcache admin port on 9400 rather than through the EM Application Server management port on 1156.
    Once you get there on the left hand side under "Origin Servers, Sites and Load Balancing"
    Click on "Site definintions":
    Click on "Add Sites":
    For "Host Name" Enter app1
    For "Port" Enter 80
    Click on "Submit"
    Repeat the steps above for each application. I entered each app twice once as app1.us.oracle.com and then simply as app1
    Once all the application "Sites" are entered click on "Site to Server Mapping"
    Select each site you previously entered and click on "Edit Selected"
    In the pop-up select "Select from Site Definitions"
    Using the drop down box choose the Application/Site you want to map
    Scroll down further in the pop-up to "Select Application Web Servers"
    Choose the host and port you want associatted with this application/Site
    Then click Submit

  • Port flex app from tomcat to oracle oas

    any direction given will be appreciated. i have a flex 3 app up and running on my localhost. i'm using a local install of tomcat(6.0.18) and i'm also using blazeds(3.2.0.3978). this combined java/flex app is using remote objects connecting to a back end oracle db on a diff host. as i mentioned... this app runs fine on my local tomcat server. i'm looking for docs or direction to port this over to an oracle app server(10.1.3.4). i have exported my project as a war file... deployed it error free on my OAS 10.1..3.4 server. the app loads but fails to do any remoting with [RPC Fault faultString="Send failed" faultCode="Client.Error.MessageSend" faultDetail="Channel.Connect.Failed error NetConnection.Call.Failed: HTTP: Status 404: url: 'http:/*****/messagebroker/amf'"]. i'm not sure if there are config changes i need to make before export or after deployment on oracle app server.
    thanks
    -doug-

    All jars are inside war so no need to conf, look inside oracle all server logs for error 
    -- Sent from my Palm Pre
    On Apr 5, 2010 4:18 PM, msdawgs &lt;[email protected]&gt; wrote:
    thanks for the reply...
    url returns...404 Not FoundServlet error: An exception occurred. The current application deployment descriptors do not allow for including it in this response. Please consult the application log for details.
    let me take a step back... i have not done any initial config of this oracle app server for this particular application. do i need to get blazeds.jar and ojdbc14.jar over there first? then deploy?
    thanks
    -doug-

  • Porting java apps to device

    Hi,
    could someone tell me how to deploy java apps to the mobile device .
    i want the app to be sent to the device inclusive of virtual m/c and cldc, midp.
    plz help.
    i'm a newbie to this.
    thanx a million...

    Hi,
    You cannot port JVM, MIDP pr CLDC to your device. All that you can do is that you can develop applications using MIDP and CLDC libraries and put the JAR and JAD file in to your device. The JVM, MIDP, CLDC implementation has to be done by the device manufacturer.
    See to that you put the application the device supports. check the device spec to see if it supports MIDP 1.0 or 2.0/

  • Unicode/glyph/font advice needed for porting WinForms app to Macintosh using AIR

    I've written an application in WinForms/.NET that I'd like to port to the Macintosh platform. I have never developed for the Mac but it seems as though AIR might be a good choice. I'm totally new to AIR. Some advice and info would be much appreciated!
    Can an app be developed in AIR on a PC running Windows and then later be deployed transparently on a Macintosh? Or do I need to be developing on a Mac?
    The app is a search interface for use against text-bases comprised of texts composed in ancient European languages. I pre-index the text-base and store it in SQLite as a fully-normalized (1NF) set of relations:  TITLES, WORDS, WORDOCCURRENCES.  So the app is really nothing more than a (query-only) database application with some specialized glyph-rendering requirements.
    In the WinForms app, I used a custom third-party edit control with  extensive support for the RTF specification, in combination with some third-party fonts that contain the necessary glyphs for rendering the Unicode characters corresponding to RUNES and to some abbreviations found in medieval manuscripts. BTW, these special non-ASCII characters are represented in the database not as unicode codepoints but as entities that can be represented in standard ASCII (e.g. "&thorn;"   ); when rendered to screen, the correct glyph has to be substituted when the Unicode codepoint for the entity supplied -- in this example the codepoint would be [U+00DE] and a thorn glyph  ( Þ) should be rendered.
    Since it might not be possible to find a single omnibus Unicode font that contains a glyph for every codepoint I need to render (what are the most glyph-rich freeware Unicode fonts for Macintosh, btw?)  the text widget must let the programmer "wrap" a Unicode character or series of Unicode characters in whatever font may be required at that point in the text. Is there a rich-text widget for AIR that can do this?  A widget that can render HTML and supports CSS stylesheets would be ideal (inline-CSS-only would be OK too). If the widget had CSS stylesheet support, the string of Unicode codepoints could be wrapped with a <span class='rune'>.....</span> and  the font-name for the .rune class could be specified in the CSS stylesheet.
    Thanks very much if you've taken the time to read through this tedious stuff !

    Flash Professional started as an animation tool and was expanded with a programming language that became ActionScript (now ActionScript 3.0). Content creators began using Flash to develop applications rather than just animation, so a lot of developer-centric and application-centric functionality was added to Flash, including pre-built user interface components (written in ActionScript). All that functionality and those components are still available in Flash Pro today. However, many developers who came from a traditional programming background had trouble getting into Flash Pro because it is really an animation design tool -- so it uses a timeline, layers, visual drawing canvas, and it required some figuring out to learn how to structure an application in that type of tool.
    In response to this, Macromedia (now Adobe of course) created Flex. Flex uses ActionScript just like Flash Pro. Flex also includes numerous user interface controls, written in ActionScript. Flex also adds advanced, flexible layout control and many utilities for common programming tasks like loading data from or sending data to a server, formatting values, validating user input, and more. With Flex, you can define your user interface using an XML markup language (MXML); the compiler then turns the MXML into ActionScript code before turning it into your compiled application. As far as tooling, an eclipse-based IDE called Flex Builder was created that gives you a code editor, a workable but not designer-oriented design view, and other developer tools like debugging and profiling. (Note that Flex Builder has been renamed to Flash Builder for the next release, which is currently in public beta.)
    So to generalize, Flash Pro favors a more visual design and animation type of working style, whereas Flex favors a more text-based, code-centric working style. (But that's just a generalization -- many people, especially people who "grew up" with Flash before Flex, still prefer Flash Pro even though they're heavy coders.)
    Also, if you want to write everything in code with no pre-drawn visuals (i.e. Flash Pro) and without using MXML or Flex components, you can create your application entirely in ActionScript code. Flex Builder supports ActionScript-only projects for that purpose.
    Here are a few links for getting started with Flex, which I would personally recommend if you haven't used either one and you're building something that's more "application" focused rather than media or animation focused:
    Flex "Quick Starts" -- short articles focused on specific tasks in Flex
    Flex "Getting Started Experience" -- designed as a set of training courses, intended to take 12+ hours to complete (but you can skip around of course)
    "Flex in a week" video training -- a free 5-day video tutorial series on Flex
    Flex Developer Center "Learning Paths"
    As a side note, the link you included actually goes to the JavaScript version of the documentation, which is what you would want if you are going to use HTML/Ajax to build your app. However, if you're wanting to use Flex you would want to use the Flex version of the documentation:
    http://livedocs.adobe.com/flex/3/langref/mx/controls/HTML.html
    http://livedocs.adobe.com/flex/3/langref/flash/html/HTMLLoader.html
    And if you're wanting to use Flash, you can use the Flash Pro version of the documentation:
    http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/html/HTMLLoader.html
    Yes, it's somewhat confusing and overwhelming. We're definitely working on improving things in that regard.

  • Tips for porting J2SE app to J2ME?

    Hi all,
    I need to port a J2SE app to a java env even more restrictive than J2ME.
    The app relies on several java and javax packages that are not in the
    target environment.
    Are there any shortcuts quicker than re-implementing the missing classes
    and changing the app to reference the re-implementations?
    Is is possible/practical/legal to extract java and javax .class files from a
    J2SE jar file (like rt.jar) and use them in a non-J2SE environment?
    I'm guessing that a VM would block that as a security problem.
    Thanks,
    -troy

    Hi all,
    I need to port a J2SE app to a java env even more
    restrictive than J2ME.
    The app relies on several java and javax packages
    that are not in the
    target environment.
    Are there any shortcuts quicker than re-implementing
    the missing classes
    and changing the app to reference the
    re-implementations?
    Is is possible/practical/legal to extract java and
    javax .class files from a
    J2SE jar file (like rt.jar) and use them in a
    non-J2SE environment? you may have some depedencies problems
    I'm guessing that a VM would block that as a security
    problem.
    Thanks,
    -troybut way is to rewrite everything ! good luck
    fred

  • Is it worth porting new apps you launch on BB10 to the Playbook

    I've been wondering, and maybe a developer would like to share success or failures, if it is worth publishing any new apps to support the Playbook.   When I'm about to push a new app to BB10, I come to the delema of whether it is worth my time to do the lttle extra formating work and working on the listing to publish the app for Playbooks.  I'm not sure if anyone on that platform is still downloading or purchasing new apps at this point.  Maybe one of the community members can share their experience.
    Solved!
    Go to Solution.

    over 1.5 million sold so there is a chance to make money
    My kids and I like to play games on the playbook still. We use it a lot still.
    Click here to Backup the data on your BlackBerry Device! It's important, and FREE!
    Click "Accept as Solution" if your problem is solved. To give thanks, click thumbs up
    Click to search the Knowledge Base at BTSC and click to Read The Fabulous Manuals
    BESAdmin's, please make a signature with your BES environment info.
    SIM Free BlackBerry Unlocking FAQ
    Follow me on Twitter @knottyrope
    Want to thank me? Buy my KnottyRope App here
    BES 12 and BES 5.0.4 with Exchange 2010 and SQL 2012 Hyper V

  • Porting my app to PowerPC

    Ever since I started Brandsonic Web about a year ago I've always wanted to to support both PowerPC and Intel. I never had a PowerPC mac to test on so I never presued it. I now have a iBook G4 (Early 2004) to test on. I read that Xcode 4 no longer supports devolping for PowerPC. So I made a copy of my exsisting project (in case I ruined my orginal project) and opened it in Xcode 3.2.6. I followed the directions here to build a universal binary. I also changed C\C++ compiler version to GCC 4.2 and the Mac OS X Deployment Target to 10.4.  It build sucessfully and ran fine on my MacBook running Lion. But when I copied the application to the iBook G4 running Tiger, the app ran but the window wouldn't appear. Even the new window menu item didn't bring up a window. It is a noraml document based application. I don't know if this is a probelm with Tiger or the PowerPC processor. What do I have to do to make it work on both PowerPC and Intel and run under Tiger?

    Set the compiler version to GCC 4.0. GCC 4.2 may support only Mac OS X 10.5 and later. I have read conflicting reports on whether GCC 4.2 supports Tiger, but I know GCC 4.0 supports Tiger. You may want to use a conditional build setting that uses GCC 4.0 for PowerPC and uses whatever compiler you want for Intel.
    If setting the compiler version to GCC 4.0 doesn't work, set the Base SDK to 10.5 for PowerPC.

  • Problem porting educ app to Mac - paths etc?

    I am trying to make one of my educational applications also work on a Mac.  I generally work on a PC, but have borrowed a Mac to test my projectors. I seem to have been able to create a Mac projector that launches but I ran into a problem becuase I don't know how to hard code a Mac path.  My projector launches from a folder I created in the Applications folder called My App.  The opening screen comes up and then I need to click a continue button to go to the next movie which is on my web site.  In windows, my continue button script says something like:
    gotoNetMovie "http://mywebsite.com/login.dcr
    Then after acessing that .dcr, the program has find the next file back in the application folder on the hard drive. For windows I have an install path field that students can change with a default of  c:\Program Files\My App\
    The program then combines the contents of this field with the next program file name:
    gotoNetMovie field "path" & (nextMovie & ".dcr")
    For the Mac, I tried editing the default path to  /Applications/My App/   but the .dcr on the web site can't find the next movie on the hard drive.  I really do not understand Mac paths, so I need some help please!  If you can tell me what to type in the path field that would be great.
    I also tried downloading the Lingo manual for the Mac version of Director hoping it would show some paths and provide some insight into Mac programming but the slightly older version of the Mac Book I am using (its not a new Intel architecture) would not open the compressed file and I am totally unfamilar with these file types so I couldn't open them.
    I know I will also run into a problem with plugins and will have to test for platform and change the plugin code respectively right?
    Is there a guide somewhere for Windows developers called "Mac for Dummies?" or will I have to ask all of my dumb questions here?
    Your help is greatly appreciated!
    Professor S

    Since you are running a projector, and you can't guarantee where a user will place your Mac application, you would be much better served by creating paths based on _player.applicationPath (which at run time points to the folder on the HDD where your projector is). Either that, or set a global variable at startup that contains this path and refer to this variable when you need to navigate between movies.
    Also, although your login file resides on the internet, I don't think you need to use gotoNetMovie() as you aren't running in Shockwave. You could use
    _movie.go(1,  "http://mywebsite.com/login.dcr")
    to go to your login movie, and
    _movie.go(1, _player.applicationPath & "nextMovie") -- no extension necessary
    to go to your next movie, thus removing any need to know where anything is installed.

  • Porting an App from MAS to another account

    I have a few games from the Mac App Store on my MBP that I would like to have available in my kid's accounts on the same computer (keeps them off my account). I'm having a hard time getting this to work. I have seen apps that I've bought in my account available in my wife's account, but can't get the games in my kid's.
    I do have parental controls on their account, but I have checked the boxes in parental control settings to allow the games from the MAS that I want available to them from my account. Hasn't worked.
    Am I missing something. I appreciate the help.

    Turn off Parental Controls temporarily and try the games in the kids' accounts. If they work, then the problem is either your PC settings or a bug in PC -- it's far from perfect.
    Make sure you disable the guest account so the kids can't use it.

  • No COM1 port in App Loader

    I have an 8100 Pearl w AT&T and it's nuked. I downloaded the Desktop fine but there's nothing in the connection box and the detection option is greyed out. Can someone please tell me where I go from here?
    Thanks!

    My bad. I looked but I didn't see the tips post til after I posted it. I'll try that out.

  • Port iPhone app to iPhone 4

    Interested in quickly sizing / aligning images etc. Any tips / procedures from developers is appreciated.

    Summarized in one word... What?
    Just FYI, this isn't the dev forum.
    This is tech support on this community.

  • Cannot find OracleInProcServer.dll in the 64 bit Oracle 11g r2

    We have been using OracleInProcServer.dll in our applications to access oracle spatial features. However, with the new 64 bit oracle 11g r2, I cannot find the OracleInProcServer.dll file.
    I have tried to use the old OracleInProcServer.dll (32 bit from oracle 11g r1 32 bit), it got the message: "The 'MSDAORA' provider is not registered on the local machine"
    Any help on this is greatly appreciated.

    Hi,
    MSDAORA is Microsoft's OLEDB Provider for Oracle, not OracleInProcServer (which is Oracle Objects for OLE - OO4O).
    In either case though, the answer is the same for both products (which are unrelated btw). Both Microsoft's OLEDB provider, and Oracle Objects for OLE, are not available as 64 bit. If you need to use them on a 64 bit OS, you'll need to run the process as 32 bit and install 32 bit Oracle client software.
    You may want to consider eventually porting the app over to ODP.NET, which can take advantage of Spatial via the UDT support.
    Hope it helps,
    Greg
    Edited by: gdarling on Jul 6, 2010 10:14 AM
    Also, fyi, the OO4O forum is located at OO4O and Wizards [ARCHIVE]

Maybe you are looking for

  • How do I allow users to create folders in a shared folder where we all then have read/write access to those new folders?

    I have three users who need to access a particular folder on one of our other Macs. The folder resides on the desktop of that particular Mac and it is set as "shared" with all of our accounts set to access the folder. When a user creates a new subfol

  • Access denied to external Hard Drive on Windows 7?

    Hey, Thanks in Advance for your help. Yesterday I downloaded and installed Windows 7 (which looks like its going to be a massive improvement on Vista!!). Though I had a problem when I tried to open my external Hard drive (which is an Internal hard dr

  • Itunes restart automatically when i quit it

    Hello I'm running os x Lion 10.7.4 and iTunes last version 10.6.3 on an Imac 24" 2.8GHZ  core 2 duo (4go ram) early 2008 When i quit itunes, it restart automatically, impossible to stop it. It uses all my cpu too. There is no message in the console o

  • CFStudio Project Search was Better

    This has been annoying me since I started using Dreamweaver several years back. In CFStudio, the local search and project search (I think it was call "extended search & replace") were two different menu options. In Dreamweaver it is a single option t

  • Applet fails to run after JRE upgrade

    Hi, I had JRE 1.6 which was updated to 1.8.0_31. After this update my applet has stopped working and am getting below error java.lang.ExceptionInInitializerError   at com.sun.deploy.net.protocol.https.Handler.openConnection(Unknown Source)   at java.