Two Java versions on the same solaris box

Hi,
How can I set up two instances (SUN One 8.1 Application Server EE) to use two different JVM's - I would like one to use 1.4 & anothe to use 1.5?
This is on the same box (Solaris 10).
DO I set it in the JVM Options of the AS ?

You need to have 2 separate file-based installations or 1 packaged and 1 file-based to accomplish that. The way to point appserver 8.x to the JDK which does not come default with appserver installation is to modify AS_JAVA environment variable in appserver_root/config/asenv.conf.

Similar Messages

  • Although Java versions are the same with the others, for some users

    Dear all,
    Although Java versions are the same with the others,
    project structure graphical view doesn't work for some user machine configuration.
    What is the reason for that? what is the best configuration? ie version?
    regards

    Hi,
    for SAP PPM 5.0, please see SAP Note 1402912.
    Kind regards,
       Florian

  • Access two EAS with different Essbase versions and different java versions from the same p.c.

    Hi,
    I need to regularly access Essbase 11.1.2.2. and Essbase 11.1.2.3 EAS from the same client machine.
    They are on, and must be on, different versions of java, is there a way to have both versions of java installed but each using the correct version and without the two java versions causing any kind of problems?
    thanks,
    Robert.

    Hi Robert...  I assume this is web-launched?
    I spent a day or so trying understand the intricacies of the JNLP protocol and create shortcuts that will invoke web-launched EAS with the appropriate version of Java.  I can get one version of EAS to use the 1.6 Java Web Launcher, and the other version of EAS to use the 1.7 Java Web Launcher - but both Web Launchers eventually invoke the same version of Java!  There are switches in the JNLP syntax that seem like they should allow you choose the actual Java version that gets invoked, but I just could not make it work.
    You can use the Java Control Panel (in Control Panel) to enable and disable the relevant versions before launching EAS.
    If you find otherwise I would love to know (or if you find out how to control which versions are enabled or disabled via command-line script).

  • Two incoming streams to the same FMS box?

    Hello,
    I'm trying to figure out whether or not it's possible to have two incoming streams to the same FMS server. Every time I try to search this information, I find stuff on having multiple outgoing streams, but nothing on multiple incoming streams.
    The two streams will have the same content, but will use different video / audio codecs, and be set to different resolutions / bitrates. 
    I don't want to spend the money on another server, so it'd be great to know if FMS can do this.  Thanks.

    Thanks for the response, JayCharles!
    I have another FMS question that's related, so I will ask it here...
    Is it possible to convert a single video stream coming into Flash Media Server into two separate video streams in different formats?
    To be more specific: If I have a video stream coming into Flash Media Server at a high-resolution / bitrate encoded in H.264, is it possible to, on the Flash Media Server, convert that stream into a lower resolution / bitrate VP6 stream on-the-fly, and have the server output both streams simultaneously?
    Thanks again.

  • How can i deploy two different versions of the same application on the same server??

    I have two different versions of an application. One is a released version. And another version under development. I need to port this version of the application to the same server. I'm using the same classes and packages(except for some new ones). Is it sufficient if i change the name of my ear(application name). Or should i change my code also.

    Hi
    You can repackage the new versions of ear,jar and war with different names. I hope that should work well.
    Cheers
    -pradeep

  • How to use two different versions of the same jar within one project

    Hi everybody!
    I have a big problem while integrating different web service clients within one bigger java project. Both implemetations need some jar files to work but demand different version. So, i would like to know if there is any way to tell which implementation should use which version! Anyhow i add those jars to the classpath makes working only one or the other webservice working but never both! Any ideas somebody?
    Best regrads,
    Stefan G�tz

    Of course do have the jar files different names but the classes inside of them are the same ... means that the standard system classloader can distinguish them. When you add a jar to a classpath the name actually dosent matter.... any other ideas, please?
    PD.: i tryed to add a manifest file to the one jar which makes use of one of the dublicated jars to specify which jar to take direcly but it makes no difference since once classes loaded they cant be distinguish ....see:
    http://java.sun.com/docs/books/tutorial/ext/basics/load.html

  • Two separate versions of the same file corrupted in different ways...

    I was working on a Photoshop CS4 file last night that was created in CS4 and has only been opened on this machine in CS4. I saved the file and closed Photoshop. When I open the file today, all my layers are gone, flattened into one Background layer, and the image looks like colored TV static. On top of that, the separate, older version of this file with a different name (created earlier in the week on the same machine in the same CS4) will not open at all - I get the error message, "Could not complete your request because the file is empty" and the file size has mysteriously shrunk to 76 KB from 20+ MB. What happened?! I'm guessing these files are corrupted beyond recovery, but why and how did this happen? Has anyone had this or a similar problem? I want to know how to prevent this from happening in the future. Please help! Thank you. =)

    Thanks for the suggestion, Chris.
    Same issue, new question - don't ask me why I did this, but while both Photoshop and the now corrupted file were open, I changed the name of the folder containing the file, then continued to save the open version of the file without first closing it and reopening it from the newly renamed folder. Could this have caused both files in that folder to become corrupted in different ways? The other file that gives me the "file is empty" error was not open at the time, but it was in that folder. I'm thinking maybe by changing the path to the files while Photoshop was running, that could have triggered this. ?? I have 3 1TB internal drives raided to read as 1 drive, so I'm really hoping that one of these disks is not dying on me as you suggested. I was also backing up an external drive using BackBlaze when this all occurred - any possible connection? How can I find out if one of my three raided drives (and which one) might be going bad?
    Thanks!!

  • Two java edition at the same pc

    Hello
    I have two java applications one of them running on java 1.5 and the other one running on java 1.4 and i have set the java home to java 1.5 .
    My question is how can i run my application on java 1.4 without changing the java home class path i.e( let the application read from 1.4 jdk)
    Regards
    Mohd.Weshah

    Simply start it with the right "java" command and it should automatically pull the proper libraries and jars. I would suggest not having JAVA_HOME (or any of the other Java related variables) set on the System level.

  • How do you set up iTC for two Different versions of the same app?

    I have been reading the iTC Developer Guide searching for the answer to this question, but so far I have found nothing that would help.  I plan on having a Lite and a Pro version of my app, and I may also have an iPad version as well.
    I have seen some iPhone icons which differentiate these app by using a slightly different icon for the Lite and Pro versions, but how these are submitted to the app store is what I would like to know.  And, for the sake of clarity, they will be priced differently as well.
    Thanks!

    Have you read the app store guidelines yet?
    App Store Review Guidelines:
    http://developer.apple.com/appstore/resources/approval/guidelines.html
    Don't go on what you've seen in the store - for every example you spot, there are hundreds that didn't make it in.
    As well, Apple is tightening up on reviews, etc.
    Loads of discussion on this in the iOS Dev Forums, BTW

  • Solaris 11 IPS:  How do you post multiple versions of the same package?

    How do you post multiple versions of the same software package on a single IPS instance(port)? Oracle was able to do it here with versions 151 and 175 of S11:
    http://pkg.oracle.com/solaris/release/
    Unfortunately, based on my searches, no where in the documentation (http://www.oracle.com/technetwork/server-storage/solaris11/technologies/ips-323421.html) does it explain to the development community how this is done. The best I can do is create pkg repo instances on different ports to host each different software version.
    We are trying to deploy an IPS repository for our drivers and utilities that our customers can link to and pull updates from. We have been able to post a software package to the repository using the command:
    pkgsend publish -s http://localhost:1234 -d ./ Appv1.p5m
    This posts the package on the IPS repository instance at port 1234 on the server. However, we would like to post multiple versions of the package on the server at the same URL. Why the same URL? So that our customers and end-users need only point to a single URL to pull down our software rather than having to add a new URL to the publisher list each time we have an update. We want at least 5 of the previous software versions to be available on the server. Posting each version of the application or driver on a different IPS instance on a different port will require customers to add multiple URLs to their publisher list and they also will not be able to initiate remote scans for updates.
    Has anybody been able to do this? Is any documentation forthcoming?
    Edited by: user13489824 on Jun 25, 2012 10:17 AM

    dhduvall: Thanks for your response. Yes, one would think that as long as the version numbers are different, you should be able to accumulate multiple versions of a package in a repository. It looks like Oracle has done it in their S11 repository unfortunately, as far as I know, they have not shared the steps on how to do this. I would like to publish two versions of the same package. I.E. two different manifests with two different fmri.pkg version strings and two different binaries.
    If I publish one package after another like this:
    pkgsend publish -s http://localhost:1234 Appv1.p5m
    pkgsend publish -s http://localhost:1234 Appv2.p5m
    Then only the second package shows up in the repository, as if it over-wrote the first one.
    Running pkgsend with two manifest, like this:
    pkgsend publish -s http://localhost:1234 Appv1.p5m Appv2.p5m
    Will cause pkgsend to combine the packages and manifests as if they were a single package... not what I am trying to do.
    Both approaches are complete without errors but neither achieves what I am trying to do.
    alan.pae: Thank you. Unfortunately, the link didn't really help. I've read Oracle's white papers and IPS developer guide so I'm familiar with the topics covered.
    Lex: Yes, I know. I specified the versions in the pkg.fmri value string.

  • When I OCR two versions of the same document and then compare th documents in Acrobat Pro XI, I usually get the message that there are no changes to mark.  However, I know there a quite a few number of changes.  I raised this question more than a year ago

    When I OCR two versions of the same document and then compare the documents in Acrobat Pro XI, I usually get the message that there are no changes to mark.  However, I know there a quite a few number of changes.  I raised this question more than a year ago, and the response I received had to do with the quality of the OCR and the scans of the documents.  However, if I use Acrobat Pro XI to save the same documents in Word and then run a comparison in Word all of the changes are marked.  When a PDF is saved as a Word document in Acrobat Pro XI, is a different OCR module being used than the one used in Acrobat Pro XI for text recognition?

    OCR is only for recoginition of the image / picture of text provided by an scanner.
    Content typed into a Word file which is converted to a PDF is (in Word and in PDF) *not* an image  or picture of text - it is the digital text. So, no OCR involved.
    When the "digital" (renderable) text of a PDF's page content is exported to Word no OCR is involved.
    When a PDF's content is from the image output of a scanner and this is a picture of text then OCR comes into play.
    If this content is exported to Word before doing OCR then it is the image that is exported to the Word file.
    Once OCR is performed it is the OCR output that is exported.
    OCR output is (always will be) impacted by "the quality of the OCR and the scans of the documents". 
    Regardless "Compare" is based on a Word file output to PDF1 then edits to the Word file followed by an output to PDF2. You use Acrobat Pro to do a compare of PDF1 & PDF2.
    Paper 1 scanned to image 1 to image 1 in PDF1 that gets OCR 1 and
    Paper 2 scanned to image 2 to image 2 in PDF2 that gets OCR 2
    being processed with Acrobat Pro's Compare can certainly be done.
    But - well you've described what can be observed.
    Be well...

  • I downloaded two versions of the same album by mistake can I get a refund on one?

    I downloaded two versions of the same album, one staight after the other, I've been charged for both, can I get one removed and a refund?

    Carol,
    William Lloyd said it all, but perhaps Kirby Krieger's User Tip will explain a bit more the different uses of albums and projects:
                       The Well-Trod Path: a Beginner's Guide to how Aperture's major parts inter-relate
    Then I imported into Aperature, created new versions, one for each snapshot, then cropped each snapshot, so each snapshot is seperate in Aperature.
    You want to find each snapshot separately in Aperture? Perhaps you could explain more, how you want to organize your photos. William pointed out albums to group versions of an image. You could also assign keywords to mark special occasions like birthdays, weddings, etc.  You could assign faces to find photos of persons by name. You can use the search field in the browser to search for photos by face, date, keyword, etc.  Aperture is really great for accessing images in many different ways. There must be a way to access the images in your Aperture library just like you want to.
    Then, I tried to organize the ton of photos into projects and it won't let multiple versions of the same original photo be in separate projects.
    That is, how Aperture works. All versions of an image need to be in the same project, because they are sharing the same imported original image file. Aperture tries to save your disk space, by by not creating image files for the edited versions. Versions are just a set of instructions how to produce the rendered image, when you want to edit it or to export it. Unless you are working with the version, it will live in limbo and it will not exist as an image file. So all versions are kept together in the same project with the original image file that is necessary to render them as an image.
    Léonie

  • Can I have two versions of the same original live in separate projects?

    I am not an Aperature or photography expert.
    I scanned in a ton of old family photos with multiple snaphots on a page and in a single file. Then I imported into Aperature, created new versions, one for each snapshot, then cropped each snapshot, so each snapshot is seperate in Aperature. (I could have learned Spanish with all the time that this took.)
    Then, I tried to organize the ton of photos into projects and it won't let multiple versions of the same original photo be in separate projects. I found a way to change the filenames through Batch Change, but that didn't fix the problem.
    I would like to organize the ton of files, but from what I can tell my only option would be to go back to the scanned files, make copies from Finder as needed, once for each snapshot, reimport into Aperature and recrop each individual snapshot.
    Oh my, I have kids and a job and a husband and I like to sleep at night. Is there any easier way to organize the photos?
    Thank you for your time.
    Carol

    Carol,
    William Lloyd said it all, but perhaps Kirby Krieger's User Tip will explain a bit more the different uses of albums and projects:
                       The Well-Trod Path: a Beginner's Guide to how Aperture's major parts inter-relate
    Then I imported into Aperature, created new versions, one for each snapshot, then cropped each snapshot, so each snapshot is seperate in Aperature.
    You want to find each snapshot separately in Aperture? Perhaps you could explain more, how you want to organize your photos. William pointed out albums to group versions of an image. You could also assign keywords to mark special occasions like birthdays, weddings, etc.  You could assign faces to find photos of persons by name. You can use the search field in the browser to search for photos by face, date, keyword, etc.  Aperture is really great for accessing images in many different ways. There must be a way to access the images in your Aperture library just like you want to.
    Then, I tried to organize the ton of photos into projects and it won't let multiple versions of the same original photo be in separate projects.
    That is, how Aperture works. All versions of an image need to be in the same project, because they are sharing the same imported original image file. Aperture tries to save your disk space, by by not creating image files for the edited versions. Versions are just a set of instructions how to produce the rendered image, when you want to edit it or to export it. Unless you are working with the version, it will live in limbo and it will not exist as an image file. So all versions are kept together in the same project with the original image file that is necessary to render them as an image.
    Léonie

  • I pre-ordered two versions of the same album on ITunes! How to stop?

    So a few minutes ago I accidently preordered 2 versions of the same album on Itunes on my dell laptop! I want to cancel one, but i dont know how! It told me that you pay for it when it is realsed in November so I have not payed yet for either.

    Select all the songs from the album, choose File--> Get Info, then under the Album area, type in the appropriate album title.  They should all appear under one album at that point.

  • Exporting two remote objects on the same port

    Hi,
    I would like to export two remote objects on the same host, same port and bind them with different service names.
    There is no problem when I do that from the same Java program.
    But when I export and bind an object from a Java program 1, I cannot do the same with the second (and similar) Java program 2. This is the stack trace of my Exception:
    java.rmi.server.ExportException: Port already in use: 50040; nested exception is:
         java.net.BindException: Address already in use: JVM_Bind
         at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:243)
         at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178)
         at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382)
         at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116)
         at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145)
         at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129)
         at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275)
         at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:178)
         at java.rmi.server.UnicastRemoteObject.<init>(UnicastRemoteObject.java:75)Can some one help please

    It should work in any version of Java as long as the server socket factories are null or equal according to Object.equals() or its override in the SSF.equals() method if any. Which needs to be present and needs to take the form:
    public boolean equals(Object object)
      return object != null && object.getClass() == this.getClass();
    }with further tests if the server socket factories have additional state.

Maybe you are looking for

  • How to use my earpods with my 2012 macbook pro

    I can not get the inline microphone to work on my earpods with my 2012 macbook pro.  It will not reconize it.  Help please!

  • IPod cannot be synced to computer. An unknown error occured (-50)

    When i connect my iPod (30gb Video), the music automatically syncs. But then i get an error code, saying "The iPod cannot be synced. An unknown error occured (-50)" However, the music still syncs to the iPod. So i just wanted to know, if anybody know

  • Oracle eAM Asset hierarchy

    Dear Gurus, I have created a 4 level asset hierarchy tree with capital and rebuildable assets in it.I defined a maintenance activity with attribute shutdown required=yes. What I need is to specify this shutdown requirement to which level in the asset

  • How does the MRP Group determine the Requirement Type

    Hello, I find in help that the MRP Group or the Strategy Group in the MRP view of the material master record determines what Requirement Type is used. Could you please tell me in which table / transaction can I find the assignment of Requirement Type

  • Trouble writing to all three digital ports

    I am controlling three motors with 24 digital lines, 8 for each. The code is attached. Two of the motors will run but the third always crashes (vibrates and trips). When I swap the ports on the three port configurations I can get ANY two motors to ru